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 Context Layers 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 Region, Stack API Key, Delivery Token and Management 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 region 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 content types to import (likely "article", "landing page", not "navigation", etc.). You can select multiple content types to import their entries.

  3. Select Keep Updated to continuously import the entries for selected content types.

  4. You can also provide the domain (optional) on which you are serving content and have the JavaScript Tag installed.

  5. Select the Taxonomies you'd like to import. Each taxonomy selected will create a new Context Layer and calculate new scores on profiles for each value in that taxonomy.

  6. 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 Base URL for the data center to which 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 Audience as Contentstack Audience to help tailor content for different audiences, manage variants, and run A/B tests to enhance engagement and conversions.

Sync Audience Definitions

Export Lytics audience defintions to create the personalize audience in Contentstack by starting the Sync Audience Defintions job.

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

  2. Select the "Sync Audience Definitions" job type.

  3. Select the authorizations you would like to use.

  4. Select your Contentstack organization.

  5. Select the Personalize project where you would like to send the Lytics audience definitions.

  6. Click "Complete".