Giter Club home page Giter Club logo

Comments (4)

bittner avatar bittner commented on June 12, 2024 1

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.

jcassee avatar jcassee commented on June 12, 2024 1

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.

bittner avatar bittner commented on June 12, 2024

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.

serenamm avatar serenamm commented on June 12, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.