metron turns 3 years old on October 28th, 2014. It's a pretty simple one that consists of a single template tag and template fragments. We built this from needs of our own sites as well as our clients to integrate different analytics services.

Instead of just copying the different embed codes into templates, we templatized the embed content for each service into a named template fragment and then renders it based on configuration data at the site level.

A big benefit of this model is that the settings data is indexed by SITE_ID enabling you to keep templates clean and keep the analytics code only displaying on our production site and out of local development.

In addition to just hooking up analytics services, metron is also ideal for for AdWords conversion tracking as well as providing an API for push activity back up to providers like mixpanel.

Documentation: http://metron.readthedocs.org/en/latest/
Repository: https://github.com/pinax/metron/

Donating to Pinax Eldarion Donates django-stripe-payments to Pinax

Want to talk with us about something more custom or have questions?

Get in touch with us