mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-07-31 23:11:15 +00:00
fix(analytics): remove a/b on play button, fixes #4947
This commit is contained in:
parent
b30a45ace5
commit
e0dae01dda
2 changed files with 2 additions and 3 deletions
|
|
@ -29,7 +29,7 @@ function($scope, $rootScope, User, $http, Notification, ApiUrl) {
|
|||
if (window.env.NODE_ENV === 'production') {
|
||||
// Get experiments API
|
||||
$.getScript('//www.google-analytics.com/cx/api.js?experiment=OPMHlSzSTj2gVYwUS72wlQ', function(){
|
||||
$rootScope.chosenVariation = cxApi.chooseVariation();
|
||||
$rootScope.variant = cxApi.chooseVariation();
|
||||
$rootScope.$apply();
|
||||
|
||||
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
||||
|
|
|
|||
|
|
@ -20,8 +20,7 @@ block content
|
|||
//while acting similarly to a logo
|
||||
h1#tagline=env.t('tagline')
|
||||
p.lead
|
||||
button.btn.btn-primary.btn-lg#frontpage-play-button(ng-click='playButtonClick()')
|
||||
| {{chosenVariation==1 ? "Play Now - It's Free!" : chosenVariation==2 ? "Start" : "#{env.t('playButton')}"}}
|
||||
button.btn.btn-primary.btn-lg#frontpage-play-button(ng-click='playButtonClick()')=env.t('playButton')
|
||||
hr
|
||||
img(src='/marketing/devices.png')
|
||||
//we'd want the tagline centered, for sure, and a bit more pop, but without using jumbotron
|
||||
|
|
|
|||
Loading…
Reference in a new issue