Personalization with StorifyMe
In case you want your stories to collect analytics per user you would can do that in a few simple steps by setting customerId
that can be any value and also anonymized.
Set customerId
for User Actions Tracking
To track user actions within the StorifyMe Widget, such as when a user clicks on a poll or performs any other action, you can set the customerId
using the following steps:
widget.addEventListener('onInitialized', (event) => {
widget.setCustomerId('customer-id-example');
});
By setting the customerId
for user actions tracking, you enable the StorifyMe SDK to capture and provide information about the specific user actions performed within the widget. The customerId can be used to identify the user or correlate their actions with specific events or data in your system.
Set personal and dynamic data
Enable dynamic personalization of elements using StorifyMe's Dynamic data
feature in the app. Then, map the personal fields with the elements.
From the SDK, easily pass personalized data through to dynamically modify and adapt text, images, videos and other elements and provide a tailored user experience within your application for your user.
It can be set by calling setDynamicData
once the widget is ready with an array of dynamic data objects using the following steps:
widget.addEventListener('onInitialized', (event) => {
widget.setDynamicData([{
dynamicIntegrationId: '12345yuio',
data: {
name: 'John',
age: 30
}
}]);
});