Skip to main content

Hi, I have two questions about setting and modifying events.

 

1. ‘Start Session’ as an event

I’ve known that ‘Start Session’ and ‘End Session’ events which are offered by amplitude automatically are visible on the ‘Pathfinder’ and ‘User Session’ chart. What if I want to use that on the other charts as an event? I checked this link and sent it to our developer, but he said it seems not possible because our app is made by react-native. (https://help.amplitude.com/hc/en-us/articles/115002323627-Tracking-Sessions) Is there any way to set up these to the event? 

 

2. Change the name of event property value

As changing our data structure, I’d like to change the name of the event property value. I thought it’s possible on the page ‘GOVERN’ but it just allows to change property name, not value name. Can I change it? 

 

Thanks!

Hey @Babyshark!

To your two questions:

1. ‘Start Session’ as an event

I’ve known that ‘Start Session’ and ‘End Session’ events which are offered by amplitude automatically are visible on the ‘Pathfinder’ and ‘User Session’ chart. What if I want to use that on the other charts as an event? I checked this link and sent it to our developer, but he said it seems not possible because our app is made by react-native. (https://help.amplitude.com/hc/en-us/articles/115002323627-Tracking-Sessions) Is there any way to set up these to the event? 

The “Start” and “End” Session events generated by Amplitude only applies to the iOS SDK, Android SDK, and Unity plugin. You can read about this here: This only applies to Amplitude's Android and iOS SDKs. The JavaScript SDK cannot send default session events.

These events could possibly be created by your team if you use the same logic as these Start/End Session events. You may be able to create a “Start Session” event and passing in the timestamp of the first event as the session_id, but you would need to figure out a way to create the logic for an “End Session” to send prior to whatever you’ve set for whatever you’ve configured for Session Timeout.

 

2. Change the name of event property value

As changing our data structure, I’d like to change the name of the event property value. I thought it’s possible on the page ‘GOVERN’ but it just allows to change property name, not value name. Can I change it? 

You are only able to change the name of an event property value by having access to the purchasable Govern Add-on. The Govern Add-on allows you to do Transformations on property values, but you can read more about this here: https://help.amplitude.com/hc/en-us/articles/360055910271#h_01EWS4YFWS5C46Q5ZATNATSHW0

Let me know if you have any questions!


Reply