Skip to content

Commit 5ce8aed

Browse files
RamiroAlvarorenzon
authored andcommitted
Change of identification PostHog from user_id to user_email
close #3062
1 parent c275e96 commit 5ce8aed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pythonpro/core/templates/core/base.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ <h3 class="mt-3">Entre em contato</h3>
143143
posthog.init('{{POSTHOG_API_KEY}}',{
144144
api_host:'{{POSTHOG_API_URL}}',
145145
loaded: function(posthog) {
146-
posthog.identify('{{ user.id }}');
146+
posthog.identify('{{ user.email }}');
147147
posthog.people.set({email: '{{ user.email }}'})
148148
}
149149
})

0 commit comments

Comments
 (0)