coder
October 1, 2020, 12:00am
1
Received email from Google of changes that need to be done to Google Analytics code
Current code
/httpdocs/design/themes/responsive/templates/addons/google_analytics/hooks/index/
Request if anyone can confirm if we have to just replace the current code to
coder
October 7, 2020, 12:00am
2
Any help would be appreciated...
Hello
What kind of help do you need ?
Best regards
Robert
coder
October 7, 2020, 12:00am
4
OK to replace the file with updated code? We tried but the website went down...
Hello
Please try close new code in tag
Best regards
Robert
The correct solution is
{literal}
…paste code here…
{/literal}
Hello
Yes of course my slip of the tongue . Soory.
Best regards
Robert
coder
October 8, 2020, 12:00am
8
Thanks for the suggestion to add the code with {literal}, at least the site is not down but it is not pulling the analytics add-on code {$addons.google_analytics.tracking_code}. Refer to attached screen capture of the webpage/view source.
Suggest how to resolve.
snip.JPG
In this case please use the following code without literal tags