Google analytics 4 very difficult to setup
I have been trying to get it to work on nextjs 13 / t3 stack
It didn't work the only way i was able to get it to work a bit was to use the old google analytics which will soon be obsolete so that's why i trying to get the analytics 4 to work
But all efforts to no avail
3 Replies
Any chance you are using cloudflare cdn ? In cloudflare you can integrate using zaraz which is a more efficient way to integrate third party scripts. It works similar to partytown.
No
But i can add cloudflare since it's free
But whats cloudflare cdn going to be used for?
I also i hosted the site on my aws and it's a uses t3 stack
Any guide in regards to the cloudflare cdn will be appreciated
Thank you was able to set it up without stress
Now just a little question
How can i get it to display stats based on the pages visited
Like example
/about
/dashboard
Etc
You should be able to see those in Reports -> Behavior -> Site Content
@Lopen32