# User IDs as Custom Parameter
In Storyly, you can use your audience to create automated personalized stories.
WARNING
We do not recommend using Device ID as a user identifier. Frequent changes to Device ID may cause loss of personalized story data.
# Add an Audience and Create Templates
First go to Audience
under settings and add your CSV file.
You can give your Audience a name and after you can set the user identifier from your audience data. Once those are completed, click on `Create and your audience will be set.
Once you upload your CSV file, click on Create Personalized Stories
and continue with Create Using Audience
.
Choose which of the Audience data you'll be creating your automated personalized stories.
Select your desired template or create a new one in Template Studio.
Your data will be shown on this selected story template. Please match your data with the placeholders.
# Passing Custom Parameter to Storyly Web SDK
This section shows you how to pass a custom parameter to Storyly Web SDK.
Storyly Web SDK allows you to send a string parameter in the initialization process. In init
method, the customParameter
field is used for passing Custom Parameter to Storyly Web SDK to match the user info that you upload in previous section.
storylyWeb.init({
...
customParameter: "Your Custom Parameter Here"
});