Archived topic
google analytics
6 replies · Started by camel on September 17, 2022
Hi, I have a problem with google analytics code. I've implemented the code in the header of this template between the head and head. But still I am not getting the data from google analytics . Can someone help me how that could be
Hi there,
are you using a child theme to make the edits to the header template?
If you're not, then can you remove that code, as it will be lost when the theme is next updated.
Once its removed:
1. Activate the Elements module in Appearance > GeneratePress.
2. Create a New > Hook Element in Appearance > Elements.
3. Add your <script> code into the text area.
4. Set the Hook to: wp_head
5. Set the Display Rules to the Entire Site.
It's ok now thanks for your help
I get this as a message. We have detected Google Tag Manager web requests, but were not able to find the code snippet on the page.
Hi Camel,
Can you provide the link to the site in question?
You may use the Private Information field for this: https://docs.generatepress.com/article/using-the-premium-support-forum/#private-information
the link is http://www.opkoperwagens.be
thanks
I can see the script has been added to the site head area:
https://www.screencast.com/t/CreJ92vLe