• 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.

[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