Closed Bug 1046844 Opened 10 years ago Closed 9 years ago

GA Events tracking for Fx OS Anniversary page

Categories

(www.mozilla.org :: Analytics, defect)

Production
x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: malexis, Assigned: jpetto)

References

Details

(Whiteboard: [kb=1463075] )

Go live date Aug 11

Current state: https://www-demo1.allizom.org/en-US/firefox/os/anniversary/
Whiteboard: [kb=1463075]
Here are the GA reqs:

On the main page with the phone, can we please set the following GA events on click of the icons:

_gaq.push(['_trackEvent', '/os/ecosytem/ Interactions', 'Icon Click', href]);

Please set href as: #os, #users, etc.

Once the visitor clicks on an icon, they are taken to a more detailed page with some navigation icons placed at the top of the page. Can we track these on click and set the following values?

_gaq.push(['_trackEvent', '/os/ecosytem/ Interactions', navigation, destination]);

where navigation is:
next
prev
close

and destination is the page they are navigating to (eg. #os, #users, etc).

Also, I noticed there are blank black boxes for each section. Is there something interactive that is going to go there?
Flags: needinfo?(malexis)
Assigning over to Jon to implement.

Gareth, the blank boxes will either include a video or static image.
Assignee: garethcull.bugs → jon
Flags: needinfo?(malexis)
Ok...so for video interactions, can we track the following:

_gaq.push(['_trackEvent', '/os/ecosytem/ Interactions', videoName, state]);

where state is: 
Play
Pause
Complete

Thanks!
Hey Gareth - 

With screen sizes less than desktop, the interaction changes a bit. The sections are stacked top to bottom, with only the headlines visible. Clicking a headline toggles the visibility of the related content. Should we add some tracking for these actions as well?
Flags: needinfo?(garethcull.bugs)
GA tracking for phone icons, nav buttons, and videos is now on demo1.
Thanks Jon. I'll check it out.

As for the headlines clicks, let's just use this: 

_gaq.push(['_trackEvent', '/os/ecosytem/ Interactions', toggleState, href]);

where toggleState is: 
open
close

Does that work?
Flags: needinfo?(garethcull.bugs)
Yep, that should work just fine. I'll add it in shortly.
Headline click tracking is now up on demo1.
Event tracking is looking good! 

Here's a screencap of everything firing correctly: 
http://cl.ly/image/1O3U3U0n100U

Can I make one small tweak to the toggleState values because i'm not differentiating the 'close' of this state vs. the 'close' icon. Can you please change the toggleState values in comment 7 to:

open slider
close slider

Thanks!
No problem. Just updated demo1 with the new toggleState values.
We wont be launching this page after all, so closing this bug.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.