Google Analytics New 2020 Requirement - Need Help With Code Update

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
TIA

Any help would be appreciated...

Hello

What kind of help do you need ?

Best regards

Robert

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

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