Tagged: Google
-
AuthorPosts
-
May 14, 2023 at 9:19 am #1407334
Hi, in another thread, which has been closed, my side had some problems with changing the google code. Nikko change something and now I do not receive any data from Google. Please help and see infos in privat.
May 15, 2023 at 12:39 am #1407393Hi acardell887,
Thanks for posting the previous thread.
The only change I made was replacing all single quotes and double quotes.
– Single quotes -> ‘ and ’ replaced with ‘
– Double quotes -> ” and ″ replaced with ”
as mentioned in the previous thread.
You can verify this if you go to Enfold > Google Services > Google Analytics Tracking Code.
And you can compare it to the google analytics code that you have posted in private content.Best regards,
NikkoMay 15, 2023 at 10:07 pm #1407487Hi, I had the code in the Header directly. You put it in via enfold Menu in WordPress, correct? I can’t tell you why there isn’t any data, but we need to get it solved. What can we do?
May 16, 2023 at 12:34 am #1407493Hi acardell887,
No, I did not put it in Enfold Menu, I have added it in Enfold > Google Services > Google Analytics Tracking Code.
I checked the frontend and Google Analytics Tracking Code wasn’t showing, probably because of caching, that’s why it’s not getting data as you mentioned.
How did you place the code directly to header? is it via header.php? if yes, I would suggest using a child theme because once you update the theme, anything changed in theme files (parent) would be replaced.Best regards,
NikkoMay 17, 2023 at 3:25 pm #1407757I put it in the Header and Body via theme Data Editor. As I can see you now put it in in the theme options – Google Services. But this was a Google Tag Manager Code. Is this the right place for it?
May 18, 2023 at 4:20 am #1407791Hi acardell887,
Yes, but it doesn’t seem to show up as it should.
You can verify this by loading your site in a browser then right click anywhere on your site and choose Inspect, then press ctrl + F on your keyboard (or cmd + F on Mac), then search for googletagmanager.
Adding it via Theme Editor without a child theme would be problematic as the theme files are replaced when you update the theme thus anything you changed will be lost during a theme update.
I install and activated a plugin called WPCode – Insert Headers and Footers + Custom Code Snippets – WordPress Code Manager on your site and tried to move the code there, and I could see the code showing up properly.
Please review your site.Best regards,
NikkoMay 24, 2023 at 4:07 pm #1408436Hi Nikko,
I just opened WP Code and set in my code from the Tagmanager. Let’s see what happens. Keep you updated
May 24, 2023 at 4:14 pm #1408441Hi acardell887,
Just let us know how it goes :)
Best regards,
Nikko -
AuthorPosts
- You must be logged in to reply to this topic.