Skip to content

Commit

Permalink
Updated case, added additional action for non-opt-in
Browse files Browse the repository at this point in the history
  • Loading branch information
maxxcrawford committed Apr 1, 2020
1 parent 9e84c24 commit 9820d04
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
11 changes: 10 additions & 1 deletion public/js/monitor.js
Original file line number Diff line number Diff line change
Expand Up @@ -478,11 +478,20 @@ function addBentoObserver(){
ga("send", {
hitType: "event",
eventCategory: "growthuserflow1",
eventAction: "opt-in",
eventAction: "opt_in",
eventLabel: "fx-monitor-alert-me-blue-link",
});
}
doOauth(e.target, {emailWatch: true});
} else {
if (typeof(ga) !== "undefined") {
ga("send", {
hitType: "event",
eventCategory: "growthuserflow1",
eventAction: "opt_out",
eventLabel: "fx-monitor-alert-me-blue-link",
});
}
}
});
}
Expand Down
2 changes: 1 addition & 1 deletion views/partials/analytics/experiment.hbs
Original file line number Diff line number Diff line change
@@ -1 +1 @@
data-form_type = "email"
data-form_type="other"

0 comments on commit 9820d04

Please sign in to comment.