• Welcome to the Chevereto user community!

    Here users from all over the world gather around to learn the latest about Chevereto and contribute with ideas to improve the software.

    Please keep in mind:

    • 😌 This community is user driven. Be polite with other users.
    • 👉 Is required to purchase a Chevereto license to participate in this community (doesn't apply to Pre-sales).
    • 💸 Purchase a Pro Subscription to get access to active software support and faster ticket response times.

Analytics code isn't being added to the footer

Status
Not open for further replies.

Georgio1234

Chevereto Member
Chevereto version
3.10.5

Description of the issue
Hey, I just configured my website after buying Network License of Chevereto yestreday. I'd really like to have analytics on my website, that's why I went to Dashboard->Settings->External Services->Analytics code where I must paste my Google Analytics code.

<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-110193151-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'UA-110193151-1');
</script>

here it is by the way. So the problem is: just as I click "Save changes", the page reloads and nothing happens :| no errors given, no changes made. I have been able to change any other settings so far. And it's interesting how when I write "AA" for example, in that very same text area and save changes, I actually get a message that the changes have been saved and see that there's "AA" written in the footer everywhere on the website. It just ignores actual analytics code for some reason :/ yes, I have tried to check Source Code, there's nothing present from my Analytics code. So it simply ignores it. What's the problem? How can I resolve it? Please help
 
Last edited:
There's no support on weekends so this will be reviewed on Monday.
 
Is not Chevereto which is skipping that content, but your web server. This usually happens when you tweak mod_security (or any other similar module) to forbid any <script> submitted via forms.

You will have to disable that module or inject the analytics code directly into your database (chv_settings table).
 
Status
Not open for further replies.
Back
Top