Closed joshdanielson closed 5 years ago
@joshdanielson I implemented and pushed this, while couldn't still check everything is working.
Note that I have to update the GA code for the new GTags. There are some difficulties tracking when 'playing' videos, since content is in an iframe, had to load the Vimeo Player library but have to test when release ends.
Regarding the email about FBPixel, that I did before know about this issue (didn't get an email notice for some reason), so I updated the code to send not a URL but the same eventLabel
as for Google Tags, so both systems should track when Coop buttons are clicked.
Found some issues, fixed and pushed version (is deploying)
@iagosrl thank you! Just tested it on live and a couple things:
@joshdanielson I pushed that last details on master. Closing
@IagoSRL I'd like to make the following tweaks to the main navigation:
Then revise the remaining buttons with:
ga('send', { hitType: 'event', eventCategory: 'Videos', eventAction: 'play', eventLabel: 'learn_more_loconomics_long' });
Testimonial videos:
ga('send', { hitType: 'event', eventCategory: 'Videos', eventAction: 'play', eventLabel: 'testminonial_yavette' or 'testimonial_christopher' or 'testimonial_anahi' });
[x] buttons:
ga('send', { hitType: 'event', eventCategory: 'Buttons', eventAction: 'join_90_days_free', eventLabel: 'nav' or 'hero' or 'whyCoop' or 'getInvolved' });
[x] And also add a Facebook pixel to the
tag (edit to see code): ``