You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 787ca04
Browse filesBrowse the repository at this point in the historyBrowse files
feat(analytics): attribute sign-ups and demo requests to their acquisition source
- Record first and last marketing touch (campaign params, referring domain, landing path) in consent-gated first-party cookies on marketing and sign-in pages; attach them to user_created and the PostHog person
- Capture $pageview on marketing routes, landing_demo_request_submitted, landing_demo_booked, external_sign_in_started, and email_type on identify
- Add useCaptureWhenReady so view events captured on mount are no longer dropped before PostHog initializes
- Include attribution in the demo-request sales notification
- List the attribution cookies in the cookie policy
'Coordinates analytics state for the current browser tab.',
196
196
'Session',
197
197
],
198
+
[
199
+
'sim_attribution_first / sim_attribution_last',
200
+
'Sim',
201
+
'Records the campaign or website that first and most recently brought you to sim.ai, so a sign-up or demo request can be credited to it. Holds campaign parameters, the referring site’s domain, and the landing page path only.',
0 commit comments