Skip to content

Commit

Permalink
Added UTMs to site
Browse files Browse the repository at this point in the history
  • Loading branch information
maxxcrawford committed Apr 1, 2020
1 parent f654c59 commit 1daa1ae
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion views/layouts/default.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<link rel="icon" href="/img/favicons/favicon-128.png" sizes="128x128" />
<link rel="icon" href="/img/favicons/favicon-256.png" sizes="256x256" />
</head>
<body {{> analytics/default_dataset }} {{#if experimentBranch }} {{> analytics/experiment }} data-experiment="{{experimentBranch}}" {{/if}} data-bento-app-id="fx-monitor">
<body {{> analytics/default_dataset }} {{#if experimentBranch }} {{> analytics/experiment }} data-utm_term="{{experimentBranch}}" data-experiment="{{experimentBranch}}" {{/if}} data-bento-app-id="fx-monitor">
{{> header/header }}
{{{ body }}}
{{> footer }}
Expand Down
2 changes: 1 addition & 1 deletion views/partials/analytics/default_dataset.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ data-logos-origin="{{ LOGOS_ORIGIN }}"
data-fxa-enabled="fxa-enabled"
data-fxa-address={{ getFxaUrl }}
data-utm_source="{{ SERVER_URL }}"
data-utm_campaign="fx-monitor-fxa-integration"
data-utm_campaign="growthuserflow1"

{{#if req.session.user}}
data-signed-in-user="true"
Expand Down
5 changes: 1 addition & 4 deletions views/partials/analytics/experiment.hbs
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
data-utm_campaign = "growthuserflow1";
data-utm_content = "";
data-utm_term = {{experimentBranch}}
data-form_type = "email";
data-form_type = "email"
2 changes: 1 addition & 1 deletion views/partials/forms/scan-email-form.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
{{#if featuredBreach}}
<input type="submit" value="{{ getString "find-out" }}"/>
{{else}}
<input type="submit" value="{{ getString "check-for-breaches" }}"/>
<input {{#if isUserInExperiment}} {{> analytics/fxa id="fx-monitor-check-for-breaches-blue-btn" }} {{/if}} type="submit" value="{{ getString "check-for-breaches" }}"/>
{{/if}}
{{> forms/loader }}
</div>
Expand Down

0 comments on commit 1daa1ae

Please sign in to comment.