Archived topic
How to insert google analytics
3 replies · Started by Elmehdi on June 20, 2020
I have tried to insert google analytics code using GP Hook but it looks different than the video shows. Any step by step tutorial on how to do it?
Hi there,
This should help:
https://generatepress.com/forums/topic/how-to-add-google-analytics-code-to-generate-press/#post-771208
I do create a hook the same way they shown in the video and I insert the tag from google analytics but then the data it shows on google analytics realtime is how many people on the website and which pages they are at. However, any interaction and link clicks doesn't show at all on the event section. Why is that?
Hi there,
Google Analytic Event tracking are not automatic. You may find this article of use:
https://www.wpbeginner.com/wp-tutorials/how-to-add-google-analytics-event-tracking-in-wordpress/