jazzband/django-analytical

Identifying authenticated users not working for google analytics

ArijitWeird opened this issue · 5 comments

Hello,

Gone through the docs and understand that by default ANALYTICAL_AUTO_IDENTIFY is set to True . I have already integrated django analytical with my project and it has been working fine.. Lately I tried to check for tracking autheticated users by turning on Enable the User-ID feature in my google analytics. But cant see anything in my new userid view. Anything am i missing??

@ArijitWeird Can you try to figure out in the related GA documentation which settings (in JavaScript code, probably) are required to make this work? django-analytical is really just injecting those code pieces as text strings, it should be easy to fix (if needed).

Also, please make sure you understand the meaning of that flag, and you verified your Django project with the note in the related section of our documentation. Thanks! 👍

Is this issue still relevant? Could you figure out whether this was a bug, or rather an unclarity in the docs?

I can confirm it is not working.
Both mentioned context_processors are set, but still no user is identified.

Function get_identity() is not being called from within GA implementation.

Can you compare the JavaScript code our implementation uses with the one of the current docs of Big Google? Maybe this is out-of-date here and needs to be aligned again?

Explanation: This library is not doing much more than cleanly providing the JavaScript code the service providers suggest in their documentation.