Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to set identity_func #188

Open
likecodingloveproblems opened this issue Feb 22, 2021 · 3 comments
Open

how to set identity_func #188

likecodingloveproblems opened this issue Feb 22, 2021 · 3 comments
Labels

Comments

@likecodingloveproblems
Copy link

In

def get_identity(context, prefix=None, identity_func=None, user=None):
identity_func is defined but in google_gtag there is not any way to set it?

@SilverStrings024
Copy link

That's weird, I don't see it either. Does gtag not track users with identities? If they do then you could submit a PR to patch this.

@bittner
Copy link
Member

bittner commented Jul 13, 2022

This is likely related to #189. Can you take a look?

@PetrDlouhy
Copy link
Contributor

Setting the identity is possible by context variable. Here is my attempt to better document how to do it: #219

Also the gtag provider is missing the prefix which is fixed in #217, for now only analytical_identity variable works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants