Skip to main content

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};
Be the first to reply!

Reply