In this section, you will learn:

  • How to enable or disable Dynamic Yield on your site.
  • How to send custom parameters and events to Dynamic Yield.

Dynamic Yield is a website personalization platform. SegmentStream allows you to send data about the behavior of your users to Dynamic Yield.

Page contents


Introduction


With SegmentStream, you can fully integrate Dynamic Yield with your site.

To set up integration with Dynamic Yield:

  1. Log in to segmentstream.com
  2. Go to the “Integration” tab and click on the block with the Dynamic Yield logo.
  3. In the panel that opens, configure the integration.

Requirements


Before setting up the integration in the SegmentStream panel, you need to register in the connected system and ask your Dynamic Yield manager for your Account ID value.

Required events and variables


For the correct integration of your site with Dynamic Yield - you need to configure the transfer of events in the digitalData.events array. The list of events is as follows:

Required events

Required variables

Account ID


This identifier is used when initially loading the Dynamic Yield API to your website.

Product feed has grouped products


Dynamic Yield receives information about products placed on the site through a CSV, JSON, XML feed. With a certain interval, the Dynamic Yield robot downloads a feed from your server. This feed contains information about all products on the site.

Learn more about the feed format.

For correct integration, Dynamic Yield should also receive information about the interaction of users with products on the site - views, additions to the shopping cart, purchases, etc. The system must correctly match the product identifiers from the incoming events with those in the feed.

-If you use grouping of goods using the group_id feed parameter - be sure to activate this setting.

In this case, the product id from your feed must match the product.skuCode of the digitalData object. Be sure to fill product.skuCode and product.id in each product.

-If you do NOT use grouping of goods using the group_id feed parameter - do not activate this setting.

In this case, the product id from your feed must match the product.id of the digitalData object.

Features


Once the integration is set up, the following features of the Dynamic Yield integration will be activated:

Implement Context API User behaviour data such as the type of page viewed and the contents of the users shopping cart will be sent to Dynamic Yield once a page is loaded.

Dynamic Yield Script Dynamic Yield API scripts are loaded asynchronously. The scripts collect all user activity and render experiments.

Please note! Dynamic Yield recommends that the scripts are loaded synchronously inside the website code, without the use of an external script. SegmentStream will automaticaty detect if you follow those instructions, and the two previously described features will not be activated by the SDK. This will not affect the operation of the ‘Events’ feature.

Events This feature enables optimization for conversion and purchase events, as well as omnichannel events. SegmentStream currently supports the following Dynamic Yield events:

  • Add to Cart
  • Purchase
  • Login
  • Signup
  • Newsletter Subscription

Other body