-
-
Notifications
You must be signed in to change notification settings - Fork 174
Open
Labels
Description
Hi!
Thanks so much for creating this repo. I'm having trouble doing basic mixpanel tracking.
I've set up my template html file to look like this:
{% load analytical %}
{% load mixpanel %}
<!DOCTYPE ... >
<html>
<head>
{% analytical_head_top %}
...
{% analytical_head_bottom %}
{% mixpanel %}
</head>
<body>
{% analytical_body_top %}
...
{% analytical_body_bottom %}
</body>
</html>
and my settings.py
file looks like:
INSTALLED_APPS = [
...
'analytical',
...
]
I also added my MIXPANEL_API_TOKEN
to settings.py
as well, and I have django-analytical==3.1.0
in my requirements.txt
file.
I deployed these changes to a test website, so it's in prod, not dev.
I think I must be missing something -- should I be making any other code changes to enable tracking?
Thanks!