Confirmed users
402
edits
Adamlofting (talk | contribs) |
Adamlofting (talk | contribs) |
||
| Line 45: | Line 45: | ||
** If this is a static page view (eg .../thanks.html) we just need to ensure that page includes the Optimizely code shown above. | ** If this is a static page view (eg .../thanks.html) we just need to ensure that page includes the Optimizely code shown above. | ||
** If the goal is an interaction that could happen in multiple locations, or doesn't generate a pageview (for example creating a webmaker account in a modal window) we need to implement a [https://help.optimizely.com/hc/en-us/articles/200039925 custom conversion tracking goal]. This is done via the webmaker-analytics bower module (TODO, implement and add this). | ** If the goal is an interaction that could happen in multiple locations, or doesn't generate a pageview (for example creating a webmaker account in a modal window) we need to implement a [https://help.optimizely.com/hc/en-us/articles/200039925 custom conversion tracking goal]. This is done via the webmaker-analytics bower module (TODO, implement and add this). | ||
==== For the email sign-up landing page ==== | |||
(As above) this page should already include: | |||
* Google Analytics | |||
* Webmaker RID | |||
* Optimizely | |||
For tracking conversions we need to include: | |||
* [https://github.com/mozilla/webmaker-analytics webmaker-analytics] | |||
After an email address is successfully saved, fire the following JS where appropriate in the existing script: | |||
<code> | |||
analytics.event("Email Sign Up", {label: "Learn More About Webmaker"}); | |||
analytics.conversionGoal("WebmakerEmailSignUp"); | |||
</code> | |||