Archived topic
Google Analytics showing twice
12 replies · Started by Karen on July 19, 2022
Hi,
I added my analytics code in the elements section with a hook. but for some reason when using the google chrome debugger the code is registering twice. Do you know what could be the cause of this?
Hi there,
did you use any plugins or other functions previously for adding your GA codes ?
A long time ago. But I have removed that plug-in.
I see a comment for a Floodlight Tag in your site, is that in the Hook Element ?
Yes, that was a tag given to me by an advertiser.
Could you post some screenshots of the hook elements you have? I need to see the code inside them. So i can eliminate each one from what i can see on the site.
Here just log in -TempUser
mtTemp2022$
When I disable the hook element which contains the Google Analytics code, there's still one in the site head.
So there's a 2nd one coming from nowhere.
Can you try disabling all your plugins except GP premium to test?
ok - done
I deactivated everything but the GP premium and it still showed two in there. I deactivated GP and nothing came up. It has to do with the GP Premium. Do I have the hooks set up correctly? I have UA and G4 in the same hook is that the issue?
It seems theGoogle Analytics- UA and Google Tag Manager insert a part of the same script.
I think you can disable the Google Analytics- UA hook.
Thank you! Good catch. I think it is working now.
g
You are welcome :)