Question

How add initial user proprties to session_start?

  • 29 January 2024
  • 0 replies
  • 35 views

Hi!
I am currently using the "@amplitude/analytics-browser": "^1.6.4".

How to configure my app such that when a user session starts, the initial user proprties are added to session_start? For example, like on the site https://amplitude.com/
I mean this: 


Right now, I have initialized my aplitude using

import {init} from '@amplitude/analytics-browser';import {AMPLITUDE_API_KEY} from "~/constants/conf";const initAmplitude = () => {  init(AMPLITUDE_API_KEY, '', {    attribution: {      resetSessionOnNewCampaign: true,    },    defaultTracking:{      sessions: true,    }  });};export {initAmplitude};

0 replies

Be the first to reply!

Reply