Site logo

Archived topic

google analytics

6 replies · Started by camel on September 17, 2022

Viewing posts 1–7 of 7

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.

This archived topic is closed to new replies.