jazzband/django-analytical

Setting google_analytics_gtag_identity does not work

roerd opened this issue · 3 comments

roerd commented

Conflicting to the information in the documentation, changing the user id by setting the google_analytics_gtag_identity context key does not work, only analytical_identity works instead.

I suppose this is because the call to the get_identity function in google_analytics_gtag.py:60 is missing the prefix argument.

Thanks for reporting the issue. Do you want to open a PR to fix the problem?

Is this maybe related to #197?

roerd commented

Thanks for reporting the issue. Do you want to open a PR to fix the problem?

Right now, I don't have the repo for this project checked out, only the package pip-installed, so it might take some time until I get around to it. But if that's OK, I could do it.

Is this maybe related to #197?

It is kind of related (both issues are about sending the user id with GTAG), but not the same problem, no.