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
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.