John Horton Posted December 27, 2022 Share Posted December 27, 2022 I enabled the Google Analytics integration and pasted in my Google Site Tag. When I hit save I got a "The page you requested does not exist" message and a Error code: 1S160/2 What am I doing wrong??? Link to comment Share on other sites More sharing options...
Randy Calvert Posted December 27, 2022 Share Posted December 27, 2022 Your GA code should look like: <!-- Google tag (gtag.js) --> <script async src="https://www.googletagmanager.com/gtag/js?id=G-XXXXXXXXX"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-XXXXXXXXX'); </script> This code would be inserted into: ACP > System > Site Features > Integrations > Google Analytics After adding the code, you MAY need to clear your system cache. ACP > System > Support > Get Support Click on "Clear System Caches". tnn 1 Link to comment Share on other sites More sharing options...
John Horton Posted December 27, 2022 Author Share Posted December 27, 2022 I cleared my cache and then pasted again as per the above instructions- still no good. <!-- Google tag (gtag.js) --> <script async src="https://www.googletagmanager.com/gtag/js?id=UA-4567890-1"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'UA-567899-1'); </script> Link to comment Share on other sites More sharing options...
Randy Calvert Posted December 28, 2022 Share Posted December 28, 2022 Have you tried this with a default theme? Link to comment Share on other sites More sharing options...
John Horton Posted December 28, 2022 Author Share Posted December 28, 2022 No, my theme is slightly tweaked. Is that a likely issue? Link to comment Share on other sites More sharing options...
John Horton Posted December 31, 2022 Author Share Posted December 31, 2022 Ended up having to have my server settings tweaked. Link to comment Share on other sites More sharing options...
Solution Jim M Posted December 31, 2022 Solution Share Posted December 31, 2022 11 minutes ago, John Horton said: Ended up having to have my server settings tweaked. Sounds like mod_security or another security module was involved. Is that true? Link to comment Share on other sites More sharing options...
John Horton Posted December 31, 2022 Author Share Posted December 31, 2022 yes exactly Link to comment Share on other sites More sharing options...
Jim M Posted December 31, 2022 Share Posted December 31, 2022 13 minutes ago, John Horton said: yes exactly Thanks for confirming and glad to hear it’s resolved! Link to comment Share on other sites More sharing options...
Recommended Posts