Closed jlengstorf closed 3 years ago
I'm currently using some snippet injection for GA, so we should check conflicts there at the very least. Thanks!
Possible to just update mine?
Will dig in and see what is setup in way of Analytics already, then.
@sdras did you setup a new property/view in Analytics already then, too? Just want to make sure we don't overwrite each other there.
I set up a Jamstack Explorers property, yeah. But I fully admit I could have done this wrong, so please feel free to trash mine or edit!
@scottmathson this is what I had in there, is this correct? Does it need updating?
@scottmathson this is what I had in there, is this correct? Does it need updating?
thanks for clarifying - I'll delete my duplicate properties then, considering you set this up (I'm seeing it in GA now).
note: we'll definitely want to update this URL to explorer.netlify.com
or whatever prod one will be, at go-live. will keep as-is for now, during dev and testing phase here.
that tracking snippet is 100% accurate!
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-42258181-27"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-42258181-27');
</script>
we can touch-base later, but @jlengstorf and I discussed integrating googletagmanager for goals/event tracking deeper attribution and data (as we do on www.) after launch - this should be solid for launch, though! (assuming snippet is injected on every page we want tracked, etc).
we'll treat this as source of truth in GA, then
I'd say this issue good to close @jlengstorf
(https://analytics.google.com/analytics/web/#/report-home/a42258181w249070131p230965110)
Awesome
I don't know how Next does this, but we need to inject this at the top of every page:
or we could use snippet injection?
@scottmathson