DatoCMS is a cloud-based headless CMS designed to work with websites, mobile apps, and server-side applications of any kind. Freelancers, agencies, and startups use DatoCMS to empower non-technical clients and team members to manage the content of their digital products within a web-based CMS.
With the DatoCMS connector, you can manage content within the DatoCMS platform while managing personalization logic on Dynamic Yield. When you create server-side campaigns in Experience OS, you just select the content that you previously created in your DatoCMS CMS.
Install the connector
-
Activate the connector:
- In the Experience OS store, go to DatoCMS and click Learn More.
- On the DatoCMS page, click Install.
The Web Personalization Extensions tab appears. -
Click the status button and select Activate.
-
Configure the connector:
- Environment: Your DatoCMS environment name. This can be. your primary environment of a sandbox.
- API Token: Your DatoCMS API token.
- Content Type IDs: 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 DatoCMS entries.
Create variations with DatoCMS entries
The integration adds a DatoCMS 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 DatoCMS Entry ID.
- In the Variables tab, in the Content ID field, search for DatoCMS 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 DatoCMS content (such as images or texts) and your app's front end.