AIM
Using Django to install Google Analytics.
PROBLEM
It isn't clear to me if I need to apply the following lines to ALL the templates I am interested in tracking or just to index.html.
{% load google_analytics_tags %}
<div style="display:none">
<img src="{% google_analytics %}" width="0" height="0" />
</div>
If the answer is that by simply pasting it into index.html would add it to all my existing templates, how can I exclude the pages I don't want any tracking from?
I am following the steps from: https://pypi.org/project/django-google-analytics-app/
Thanks in advance for your help.