• Welcome to the Chevereto User Community!

    Here, users from all over the world come together to learn, share, and collaborate on everything related to Chevereto. It's a place to exchange ideas, ask questions, and help improve the software.

    Please keep in mind:

    • This community is user-driven. Always be polite and respectful to others.
    • Support development by purchasing a Chevereto license, which also gives you priority support.
    • Go further by joining the Community Subscription for even faster response times and to help sustain this space

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