Closed Bug 1077856 Opened 11 years ago Closed 11 years ago

Add GA custom events on start.mozilla.org

Categories

(Websites :: Firefox Start, defect)

x86
Windows 7
defect
Not set
normal

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.
Assignee: nobody → jon
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!
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']);
Attached file GitHub Pull Request
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.
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.

Attachment

General

Created:
Updated:
Size: