Closed Bug 1021050 Opened 10 years ago Closed 6 years ago

whatcanidoformozilla.org - Additional GA Requirements

Categories

(Websites :: Web Analytics, task)

x86
macOS
task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: garethc, Unassigned)

References

Details

Below are some inpage interactions that we would like to capture on whatcanidoformozilla.org. 


Trigger an event on click of the 3 types of buttons capturing the following information:

ga('send', 'event', ‘What Can I Do For Mozilla Interactions', buttonType, pageName);

where buttonType is 

Tell me more               // Set All Green Buttons to ‘Tell me more'
No, not Interested         // Set All Blue Buttons to ‘No, not interested'
I was wrong, take me back  // Set All Orange Buttons to ‘I was wrong, take me back'

where pageName is the 60 pt category of text at the top of each page. For example, 

User Support
Testing Software
Teaching
Hackasaurus
etc

Can you please modify the send pageview call in the snippet on load to set the full url, as GA is not properly capturing the url after the # 
ga('send', 'pageview', url); 

After the on click event above is triggered, immediately fire a virtual page view capturing the url (when the link is not external).

ga('send', 'pageview', url);  

Any questions, please feel free to ping me. Thanks!
Blocks: 1021757
Closing this bug as it is over 4 years old and I don't think it is still relevant. Any objections, please re-open.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.