- This topic has 9 replies, 3 voices, and was last updated 4 weeks ago by Elvin.
December 18, 2021 at 9:02 am #2053087Mike
I can not see the course pages (lessons and topics) in the google analytics. I have the tag implemented firing on all page views, but it appears when entering a lesson, the header disappears, removing the google analytics tag. Is there a way to solve this?December 18, 2021 at 12:53 pm #2053222YingStaffCustomer Support
I’m not sure I follow your question, can you explain a bit more?
And can you share some links where we can see the issue?December 18, 2021 at 2:15 pm #2053273Mike
I have a google analytics code installed on my website. http://www.cryptogurus.io. It works on every page, except when a user signs up for a course.
For example, when a student is on the cryptocurrency topic in the first lesson, https://cryptogurus.io/topic/what-is-cryptocurrency/ , The google analytics snippet is not firing on any page within the course. You can use the chrome extension, google tag assistant, to see that google analytics code is not on the page.
MikeDecember 18, 2021 at 4:03 pm #2053318YingStaffCustomer Support
How did you add the google analytics code?December 18, 2021 at 4:36 pm #2053331Mike
I have analytics firing through google tag manager. I copied and pasted the tag manager codes in the respective place into the header.php file. One after the head tag and one after the body tag. If you look at the page source on the homepage, you can search for “GTM” and see where they are placed.December 18, 2021 at 4:51 pm #2053337YingStaffCustomer Support
I installed the extension, and seems the code is there:
Did I miss anything?December 18, 2021 at 8:52 pm #2053385Mike
Okay I see the disconnect.
Once a user registers for a course, I lose the analytics tag. As of now, it set to “free” requiring an email to login.
Please register as user and run the tag assistant when your taking the course. It is removed from the site. For example in the screenshot, there are 4 topics in the cryptocurrency lesson. If you are taking any one of those topics in the lesson, the google tag manager code is removed.December 19, 2021 at 4:55 pm #2053996ElvinStaffCustomer Support
All the pages return this error – https://share.getcloudapp.com/P8u60Ayo
You can refer to the following to get the details about the addressing them.
A wise man once said:
"Have you cleared your cache?"December 19, 2021 at 5:42 pm #2054014Mike
What interesting is that is not my tracking code. I am not sure what the one refers to, but you can see that when logging in as a student, it removes the original Google Analytics code. See the prior picture from Ying.
Do you have a recommended Google Tag manager plugin to work with for generatepress?December 19, 2021 at 10:40 pm #2054127ElvinStaffCustomer Support
Google’s site kit should work w/ GeneratePress. 😀
A wise man once said:
"Have you cleared your cache?"
- You must be logged in to reply to this topic.