Contentstack

Contentstack is a composable foundation for driving best-in-class personalized experiences. Contentstack provides an API-first CMS platform to drive the delivery of the best content to everywhere it needs to be.

Integrating Contentstack and Lytics allows you to connect content from your CMS to:

  • Power and customize Lytics Interest Engines based on your Contenstack taxonomy. This connection helps to drive affinity calculations and power personalized content or product recommendations that combine user activity data and metadata from your Contentstack Stack.
  • Leverage Lytics profiles to power real-time experiences in Lytics profile fields as Personalize attributes in Contentstack Personalize. Profile schema and fields are synced automatically to Contentstack's Personalize Edge API.

Authorization

If you haven't already done so, you'll need to set up a Contentstack account before you begin the process described below.

Once created, you'll add new Authorizations in Lytics for Contentstack by navigating to "Account > Authorizations > Create New" and select Contentstack as the provider.

Contentstack API Key

Syncing your entry metadata to Lytics requires a Contentstack API Key for your desired stack Stack.

  1. Select "Stack API Key".

  2. Add your Contentstack Stack API Key and Delivery Token.

  3. Click "Complete".

Contentstack Authtoken

Syncing profiles to Contentstack Personalize requires you to first generate an authtoken from Contentstack. Then, you'll add that authtoken as a new Lytics authorization.

  1. Select Contentstack Authtoken.

  2. Add your authtoken and the base URL of your Personalize Project.

  3. Click "Complete".

Contentstack Entry Import

Once you've created an Authorization for Contentstack, you'll start a Contentstack "Import Entries" job in Lytics to sync your entries and taxonomy with your Lytics Content Graph.

  1. Navigate to "Data Pipeline > Jobs > Create New" and select Contentstack as the provider.

  2. Select the "Import Entries" job type and then select your entry type (likely "article") and provide the domain on which you are serving content and have the JavaScript Tag installed.

  3. Click "Complete".

Enable JavaScript Tag Plugin for Contentstack

Once you've imported your Contentstack entries into Lytics, you'll want to enable Lytics' JavaScript Tag to sync profile data with Contentstack's Personalize Edge API.

  1. Navigate to "Account > Settings > JavaScript Tag".

  2. Enter the Fields you want to send to Contentstack's Personalize Edge API, and your Personalize Project ID.

  3. Click "Save".

Once connected, you'll be able to use any Lytics Profile Field as an attribute to tailor content for different audiences, manage variants, and run A/B tests to enhance engagement and conversions.

Contentstack Schema Sync

You can send all of your profile fields to Contenstack automatically by starting a new "Schema Export" job.

  1. Navigate to "Data Pipeline > Jobs > Create New" and select Contentstack as the provider.

  2. Select the "Schema Export" job type and select which profile fields you'd like to sync over. If you leave the field list empty, it will export all of the available fields in your schema.

  3. Click "Complete".