Additional data implementation

Input channel (Web page)

To transfer additional data when calling the engine, you have to add the interactionGlobalCtx variable into the web page’s JavaScript code. Insert the Interaction node containing the call data into this variable. You must respect the same xml structure that is in the nms:interaction schema. Refer to: Additional data configuration.

interactionGlobalCtx = "<interaction navigationLanguage='"+myLanguage+"'/>";

Output channel

You must create a targeting workflow loading additional data in the work table by respecting the same xml structure and same internal names as in the nms:interaction schema. Refer to: Additional data configuration.

Using additional data

Eligibility rules

You can use the additional data in the eligibility rules for offers, categories and weights.

For example, you can choose to have the offer presented only to people viewing the page in English.

NOTE
You must limit the rule on the channels for which the data is defined. In our example, we are limiting the rule on the inbound web channel (Taken into account if field).

Personalization

You can also use this additional data when personalizing an offer. For example, you can add a condition for the navigation language

NOTE
You must limit the personalization on the channels for which the data is defined. In our example, we are limiting the rule on the inbound web channel.

If you have personalized an offer using additional data, this data will not appear in the preview by default because it is not available in the database. In the environment’s Example of call data tab, you must add value samples to use in the preview. Please respect the same xml structure that is in the nms:interaction schema extension. For more on this, refer to Additional data configuration.

When previewing, click Content personalization options for the preview and select a value in the Call data field.

Storage

During a call to the engine, you can store additional data in the proposition table to enrich the database. This data could be used, for example in reports, in ROI calculations, or for later processes.

NOTE
You must have extended the nms:propositionRcp schema and declared the fields that will contain the data to be stored. For more on this: Additional data configuration.

In the offer space, go to the Storage tab and click the Add button.

In the Storage path column, select the storage field in the proposition table. In the Expression column, select the additional field in the Interaction node.

You can retrieve call data when the proposition is generated or when it is accepted (when the person clicks on the offer).

Previous pageUse advanced parameters
Next pageExtension example

Campaign