Skip to content

Commit

Permalink
fix: posthog identify
Browse files Browse the repository at this point in the history
  • Loading branch information
JeremyTheocharis authored Sep 26, 2024
1 parent 0bca742 commit c629547
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions default.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,15 @@
{{> "webflow/footer"}}

{{!-- Identify Posthog. The man posthog script is inserted through the posthog-injector worker in cloudflare. This here is just to identify --}}
{{#if @member}}
posthog.identify(
'{{@member.uuid}}',
{ email: '{{@member.email}}', name: '{{@member.name}}' }
);
{{/if}}
<script>
{{#if @member}}
posthog.identify(
'{{@member.uuid}}',
{ email: '{{@member.email}}', name: '{{@member.name}}' }
);
{{/if}}
</script>


<script src="https://d3e54v103j8qbb.cloudfront.net/js/jquery-3.5.1.min.dc5e7f18c8.js?site=661e416ff3198f0855f5c573"
type="text/javascript" integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0="
Expand Down

0 comments on commit c629547

Please sign in to comment.