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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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