Skip to main content

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:

main.js
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.