On Mon, May 18, 2015 at 11:57 AM, <[email protected]> wrote:

>
> a simple solution I found was jsut to put the PIWIK tracking code into the
> base.html template. I am not sure if this solution is complete, but it
> works for my purpose.
>
>
>
Exactly right.

You can go further by registering a setting
<http://mezzanine.jupo.org/docs/configuration.html#registering-settings> to
be edited in the admin interface and callable in your template a la
settings.GOOGLE_ANALYTICS_ID
<https://github.com/stephenmcd/mezzanine/blob/master/mezzanine/core/templates/includes/footer_scripts.html#L8>
in templates/includes/footer_scripts.html.

- ken

-- 
You received this message because you are subscribed to the Google Groups 
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to