Archived topic
Bug with elements : GA and page hero conflict ?
7 replies · Started by Tonnellier on May 11, 2022
Hello to all of you.
I'm facing an issue since a recent GP update.
When I use G. Analytics scripts and page hero as elements, I have an issue (=> page hero is broken)
Both "scripts" are used in header placement.
Any reason why I have this problem?
Should I put the GA script in another placement (perhaps footer ?) .
Many Thanks
( sorry for my english... i'm a frenchy, let me know if it's not clear)
Hi there,
how are you adding the GA scripts to your site ?
Please find Screenshot in private section
This way in elements
Thanks
Odd - that looks ok.
Can i see the site with the problem ?
the GA element is disabled right now (using site kit plugin instead... but damn to heavy and weights a lot the site)
(url in private section)
If you use a Hook Element and select the hook: wp_header - does that work?
Perfect !
Both element are activated and no more conflict !
Thanks a lot David
Glad to hear that!