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
I want to access the initial referrer path name (not domain). This information is available in the Posthog cookie as far as I can tell in $initial_person_info.r:
Looking at the code, it looks like it should have been possible with posthog.sessionPersistence?.get_initial_props() method but it returns empty object {}.
I eventually did it with posthog.get_property("$initial_person_info").r.
The text was updated successfully, but these errors were encountered:
CahidArda
changed the title
Unable to get full initial referrer path
Unable to use get_initial_props to get initial referrer path
Oct 15, 2024
I want to access the initial referrer path name (not domain). This information is available in the Posthog cookie as far as I can tell in
$initial_person_info.r
:Looking at the code, it looks like it should have been possible with
posthog.sessionPersistence?.get_initial_props()
method but it returns empty object{}
.I eventually did it with
posthog.get_property("$initial_person_info").r
.The text was updated successfully, but these errors were encountered: