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

Add support for Google gtag.js #154

Closed
wants to merge 1 commit into from

Conversation

Peter-Potts
Copy link

Hi dev team,
I had a go at doing the new google analytics 'gtag.js' library for tracking.

Sorry - I also just saw there was already a pull 140 for this -- though not sure if it went out-of-date?
I had only read isue 109, requesting the support (and had wanted to try using it myself/having a go coding it).

Perhaps the main difference in this code is that you can set context variables to go into the tracking snippet.
(i.e. can use gtag's "set" and "config" commands)
Though I also called the code 'google_gtag_js' rather than 'google_analytics_gtag'.

I have just been using my implementation, and I think it seems to work.
It's also got some tests and some documentation.

So I guess the code is free to be pulled into your project, anyway, if you would like too?

Cheers,
Peter

@bittner
Copy link
Member

bittner commented Apr 2, 2020

Can you rebase your branch so it could be merged?

@bittner
Copy link
Member

bittner commented Apr 11, 2020

PR #140 is now merged. So, I think, this PR is obsolete?

@bittner bittner closed this Apr 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants