Wagtail & Django noob: Best practices for Google Analytics, Disqus and Bootstrap?

838 views
Skip to first unread message

Jared Nielsen

unread,
Jan 9, 2017, 10:32:50 AM1/9/17
to Wagtail support
I just built a basic blog with StreamField and I'm hooked. I'm new at this and as I search for answers, I find different approaches to this question: what are best practices for adding Google Analytics, Disqus and Bootstrap to a Wagtail (or Django, for that matter) site?
Many thanks in advance!

Matthew Westcott

unread,
Jan 9, 2017, 1:32:46 PM1/9/17
to wag...@googlegroups.com
Hi Jared,
One of the key design principles of Wagtail is that it doesn't make any assumptions or place any restrictions on what your front-end templates can contain, so the short answer is "just insert the relevant HTML snippet into the template, and it will Just Work". In the case of Google Analytics, you might like to take a look at Wagalytics: https://github.com/tomdyson/wagalytics

Cheers,
- Matt
Reply all
Reply to author
Forward
0 new messages