Storyblok is a leading headless CMS platform that provides marketers with a unique combination of visual editing tools and highly customizable content blocks on top of the modern headless architecture. Storyblok gives developers the flexibility to build fast and reliable digital platforms.
With the Storyblok connector, you can manage content within the Storyblok platform while managing personalization logic on Dynamic Yield. When you create server-side campaigns in Experience OS, you simply select the content that you previously created in your Storyblok CMS.
Install the connector
-
Activate the connector:
- In the Experience OS store, go to Storyblok and click Learn More.
- On the Storyblok page, click Install.
The Web Personalization Extensions tab appears. - Click the status button and select Activate.
-
Configure the connector:
- Space ID: Your Storyblok space ID number. (Find it in My Spaces › [your space name] › Settings › Space)
- Personal Access Token: Your Storyblok access token. (Find it in My Account › Account Settings › Generate Personal Access Token)
- Content Type ID: The ID of the content type to sync with Dynamic Yield and use in your Dynamic Yield campaigns. You can add up to 10 types.
-
Preview: Use the Preview Entries panel to ensure that your space, environment, and content IDs are correct.
- Save the configuration. You're ready to create campaigns with Storyblok entries.
Create variations with Storyblok entries
The integration adds a Storyblok Entry ID variable type to your templates and variations in API Custom Code and API Recommendations campaigns in both Web Personalization and App Personalization.
To use this variable in your variation or template:
- In the JSON tab, create a variable, and then change its type to Storyblok Entry ID.
- In the Variables tab, in the Content ID field, search for Storyblok entries by name or ID, and then select the content you want to use. The content ID is added to the JSON code.
The API response
When users are targeted with this variation, the API response includes the content ID. Use this information to create the reference between the Storyblok content (such as images or texts) and your app's front end.