How to integrate google analytics in django

please make detail tutorial on how to integrate google analytics in django.

Thanks for sharing your request :smiley:

The Google Analytics implementation is completely done in the front end, so there is no Django specific requirement. You should just paste the script tag in your base.html template and that’s it. Custom events can be also be managed using JavaScript.

Unless you want to use Google Analytics data in your Django application? Or trigger custom events from the back-end? Then you need to integrate with the Google Analytics API. Are you looking for something like that?

just want to integrate Google analytic in django admin.
And thank you for considering my request.

Hi,
Thanks for your advice. I had a similar requirement and start implementing API’s which were not required and the simple script would have sufficed the requirements.