This article helps you:
Update changes you've made to properties across multiple events simultaneously
With property groups, you can define groups of properties so Amplitude Data can apply them to events quickly.
Property groups make it easier to manage complex tracking plans, since you don't have to keep adding the same properties to events multiple times. When you update a property group, Amplitude Data applies the changes to all events the group is associated with.
For example, a music app’s tracking manager might need a way to streamline creation of events relating to songs. Each of these events include the following properties:
albumName
artistName
genre
recordLabel
releaseDate
songDuration
songTitle
Instead of individually adding properties to every single one of these events, the tracking plan manager can add these properties to their own property group. Whenever she creates a new song-related event that includes these properties, she will only have to add the entire group to the event.
Another benefit is that whenever she has to edit or update a property (but not a property value), that edit carries over to all events that include the group to which the property belongs.
For example, imagine the tracking manager wants to change the recordLabel
property from a text string to a numeric code to align with a standardized database of record labels. As soon as she makes the change in Amplitude Data, that property updates for every event that uses the Songs
property group.
Using property groups also ensures you are using the same iteration of a property with your events. In Amplitude Data, you can have multiple iterations of a property, which can sometimes be confusing when adding properties to events.
To create a property group, follow these steps:
Navigate to Properties > Event Properties and click Property Groups.
Click + Create property group.
In the flyout window, enter a name for the group. Then add a description and any tags, if desired.
Click + Add property to begin adding properties to this property group.
Select an event property from the dropdown menu. You can either scroll until you find it, or you can begin typing its name in the search box until it appears.
Repeat the previous step until you’ve added all the properties you want to include in the property group. Amplitude saves your progress automatically.
To add a property group to an event, follow these steps:
To modify the properties for a property group, follow these steps:
NOTE: This only applies to active events and event properties included in your tracking plan. It also doesn't apply to custom events.
Thanks for your feedback!
September 3rd, 2024
Need help? Contact Support
Visit Amplitude.com
Have a look at the Amplitude Blog
Learn more at Amplitude Academy
© 2024 Amplitude, Inc. All rights reserved. Amplitude is a registered trademark of Amplitude, Inc.