• 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

[suggestion] Google Analytics Integration

Status
Not open for further replies.

dotch

Chevereto Member
I've implemented Google Analytics manually with a php-include, but it would be easier for many clients if we could simply insert the code into the MySql database from the admin panel.

According to Google Analytics the code should be placed before the closing </head> tag, on each page, you want to analyze; so for now that would be in \content\themes\Peafowl\header.php.

Keep up the good work! The script is great.
 
Haha this doesn't bother me much.

As I have to play around with it anyway to place it where I want. I just simply use file_get_contents() to display the code. (thanks Lautaro for that!)
 
Well, I think it would make more sense to have a general "tracking code" implementation.
So someone who's using e.g. Piwik (http://piwik.org/) could also paste his code-snippet. Remember, there are some countries where it is not allowed to use Google-Analytics (at least the original, unmodded Code)...
 
Status
Not open for further replies.
Back
Top