Comments (4)
I can't answer this question for sure. Usually, our documentation walks you through the complete setup steps, at least on the Django side.
Note that Analytical is really just a template tag library that injects a JavaScript code snippet into your Django templates. All the rest depends on the provider of the analytics service.
It could be that Mixpanel have changed their setup, and that the one that was contributed to Analytical is legacy. But really that's just guessing on my side, based on the fact that I can't find the code snippet we have in their documentation.
If you find out more please post your findings here for everyone to benefit. Thanks!
from django-analytical.
I know this seems like an extremely simple question so thank you for helping me -- I don't see any events showing up in my Mixpanel dashboard. Should I be making any other code changes to enable tracking? Does django-analytical automatically track all clicks on the website? (I suspect the answer is "no", but I'm asking this as an example).
I can answer that. Because it's not obvious what events are "interesting", django-analytical will not send any events itself. There is some hints about sending events yourself in the documentation, and a very old issue (#10) on doing something generic.
from django-analytical.
I think you're mixing up the generic setup for Analytical and the specific setup for Mixpanel.
Try to remove the {% mixpanel %}
from your code. It should only be necessary if you don't (want to) use the generic setup.
Also, take a look at the generated code in your web browser. You should be able to see the JavaScript code snippet included in the HTML once.
Let us know if that works or if there is actually some issue with the integration!
from django-analytical.
hI @bittner , thanks for your reply. You're right, I was mixing up the generic setupand the specific setup for Mixpanel. I removed the {% mixpanel %}
tag and I do now see the JS code snippet show up when I view the source code on my browser.
I know this seems like an extremely simple question so thank you for helping me -- I don't see any events showing up in my Mixpanel dashboard. Should I be making any other code changes to enable tracking? Does django-analytical
automatically track all clicks on the website? (I suspect the answer is "no", but I'm asking this as an example).
from django-analytical.
Related Issues (20)
- Gitter Sidecar integration
- New release and follow-up tasks HOT 1
- Clickmap link in README links to spammy website HOT 2
- Support for Google Analytics 4 tags HOT 9
- Default value for SECURE_REFERRER_POLICY in Django 3.1 breaks Clicky HOT 2
- how to set enhanced eCommerce in google analytics HOT 2
- how to set identity_func HOT 3
- Ability to push custom commands to Matomo
- Respecting Consent ( Possible fix for #141 ) HOT 6
- Ability to pass FACEBOOK_PIXEL_ID directly in template tag HOT 1
- GA not tracking logged in users, GTAG user_id seems to require a different syntax now HOT 4
- support for python 3.10 HOT 1
- Rename default branch (master ➜ main) HOT 1
- Support for Posthog HOT 1
- Allow to set a custom location for google analytics js - support for proxy HOT 2
- Matomo ReDoS vulnerability (regex denial of service)
- Latest docs must build from `main` (not `master`) HOT 3
- Setting google_analytics_gtag_identity does not work HOT 3
- Usage in Docker HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from django-analytical.