Closed
Bug 1077856
Opened 11 years ago
Closed 11 years ago
Add GA custom events on start.mozilla.org
Categories
(Websites :: Firefox Start, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: cmore, Assigned: jpetto)
Details
Attachments
(1 file)
Let's add a GA custom event for either clicking the "Google search" button or hitting enter in search box. Possibly just do it onSubmit of the form.
Button:
_gaq.push(['_trackEvent', 'Search', 'Button', 'Google Search']);
Enter:
_gaq.push(['_trackEvent', 'Search', 'Enter', 'Google Search']);
or if we do it onSubmit:
_gaq.push(['_trackEvent', 'Search', 'Submit', 'Google Search']);
This will help us understand how often people search from the page vs. just have it set as their homepage and then move on.
Reporter | ||
Comment 1•11 years ago
|
||
Reporter | ||
Updated•11 years ago
|
Assignee: nobody → jon
Comment 2•11 years ago
|
||
Could we also track a few more things:
1) clicks on the "Firefox Download" CTA that gets presented in the modal.
_gaq.push(['_trackEvent', 'start.mozilla.org Interactions', 'download button click', 'Firefox for Desktop']);
2) Clicks on the no thanks link.
_gaq.push(['_trackEvent', 'start.mozilla.org Interactions', 'link click', 'No thanks. I'll risk it.']);
Thanks!
Reporter | ||
Comment 3•11 years ago
|
||
Given Gareth's feedback in comment 2, let's make the Google events:
_gaq.push(['_trackEvent', 'start.mozilla.org Interactions', 'Button', 'Google Search']);
_gaq.push(['_trackEvent', 'start.mozilla.org Interactions', 'Enter', 'Google Search']);
or
_gaq.push(['_trackEvent', 'start.mozilla.org Interactions', 'Submit', 'Google Search']);
Assignee | ||
Comment 4•11 years ago
|
||
Comment 5•11 years ago
|
||
Commits pushed to master at https://github.com/mozilla/fx36start
https://github.com/mozilla/fx36start/commit/f54bfaacc10aa496d470d6abb901b132385ee002
Add GA tracking to modal links and search form. Bug 1077856.
https://github.com/mozilla/fx36start/commit/a6bf1564a30353db890bf69d8becb8c7cdb71380
Merge pull request #10 from jpetto/bug-1077856-add-ga
Add GA tracking to modal links and search form. Bug 1077856.
Reporter | ||
Comment 6•11 years ago
|
||
Data is looking good and live.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•