Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Google Analytics using the beacon transport #125

Open
chalofa opened this issue Dec 20, 2018 · 1 comment
Open

Google Analytics using the beacon transport #125

chalofa opened this issue Dec 20, 2018 · 1 comment

Comments

@chalofa
Copy link
Contributor

chalofa commented Dec 20, 2018

is there any way to make the Google Analytics tracking code to use the beacon transport?

// Updates the tracker to use `navigator.sendBeacon` if available.
ga('set', 'transport', 'beacon');

https://developers.google.com/analytics/devguides/collection/analyticsjs/sending-hits#specifying_different_transport_mechanisms

@DonSchado
Copy link
Collaborator

Sure, would you be able to implement this?
Let me know if you need help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants