- This topic has 41 replies, 5 voices, and was last updated 4 years, 9 months ago by
Anton.
-
AuthorPosts
-
June 3, 2021 at 11:11 am #1809145
Heath
I can switch everything back real quick but the log in is correct. It was probably the word fence plugin that caused the issue. There definitely is something not right because as soon as I switched the theme which has the code in the header, I started seeing site visitors again.
June 3, 2021 at 11:20 am #1809159Heath
I have updated it back to GP if you can get in there and try to figure it out.
June 3, 2021 at 12:21 pm #1809203Heath
And now that I have switched back there are no visitors. Something is off. I wish I could figure it out myself.
June 3, 2021 at 2:19 pm #1809314Heath
Y’all able to check it out?
June 3, 2021 at 5:14 pm #1809422Heath
I am still getting errors but I did have the wrong code in the head portion but the tagchecker tool is still showing errors.
June 3, 2021 at 5:29 pm #1809427Leo
StaffCustomer SupportHave you tried clearing any caching after you correct the code?
I just tried the login you’ve provided in this post but it’s still not working for. Just says the username and password is incorrect:
https://generatepress.com/forums/topic/where-to-put-google-analytics-code/page/2/#post-1808530June 3, 2021 at 5:32 pm #1809428Heath
I dont know how to clear cache with Cloudways. But I’ve updated the password.
June 3, 2021 at 5:35 pm #1809430Leo
StaffCustomer SupportYou might want to check with Cloudways support to make sure the cache is properly cleared.
You are also using Breeze cache so make sure that is cleared.
The theme itself has absolutely no way of making the code not work – as long as the code is correct and added in the correct place.
June 3, 2021 at 5:37 pm #1809434Heath
Yes, you’re right about that. I’ll leave you guys alone on this. Was just wondering about the errors are about.
July 1, 2021 at 10:53 am #1841411Anton
Did you solve the issue, Heath?
I have the exact same problem. Been running this site for 2-3 years and Analytics have been working properly during this whole time. In the last year I have only logged into the site to update theme and plugins. So nothing added or modified (apart from a few updates).
When I checked GA today, I see that on the 8th of June all of my traffic went down to 0. Since then, GA have recorded 1 visitor once a week. Very strange.
It’s obviously incorrect, since my Google rankings are the same, and I’ve still recorded sales during this whole time. It’s been normal.
What I’ve done:
– Checked if anything needs updating
– Cleared cache several times
– Changed GA code from Functions (header) to using the GP hooks, as linked in this thread
– Logged in to the website using different computers, phones and browsers – nothing gets loggedJuly 1, 2021 at 12:33 pm #1841476Heath
Yes, Turned out I had a plugin that moved my css, html and javascript to make my site faster. Doing that caused the code to not show up. So I removed all that.
July 1, 2021 at 1:25 pm #1841516Anton
I see. Cheers for the reply.
Deactivating Breeze plugin (cache) seem to have solved it for me, in case someone encounters the same issue.
-
AuthorPosts
- You must be logged in to reply to this topic.