Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info

We recommend you to keep a static narrative copy, so you can easily make modifications in the future, without having to work with a more complex dynamically configured narrative. You can do that by having your static narrative connected to another widget you use only for testing or by connecting to the same widget, but adding a context (for example: checking the value of a request parameter) so that the static narrative is used when this parameter is set in your API request.

Step 1: Create your Narrative

...

WPO Widget

Every Narrative is connected to a TPO WPO widget. This way, when you make your call to the Boxalino Narrative API you can indicate the widget you would like to retrieve your Narrative from.

You can create a widget without any special strategy simply by following the guide : How to add a new TPO WPO Widget

Info

As you will create a widget for a Narrative, make sure to select one of the 3rd line TPO WPO : PRESENT, TELL OR PERSUADE as described in the How the above How to link.

...

Now that you have created your widget, you can create your Narrative:

First, go to the Marketing > Narrative menu and click on the top-left button “+ Add” to add a narrative.

Give a name to your narrative (all small caps, no special characters except _ ).

Then click on the pencil to edit it and do the following:

  1. Define a Title in every language (optional, not needed if the Narrative doesn’t affect the page title)

  2. Define other SEO content in the SEO Tab (optional, not needed if the Narrative doesn’t affect those)

  3. Add a Fix Layout with the “+ Add” button.

...

For each of the element in the list, you need to provide some sample (dummy) values of each parameters, like here for the title:

...

Info

You typically don’t have to define any parameter for the product you add as a sub-content Layout Block. The Boxalino Narrative API will automatically duplicate this element for the number of hits returned (which depends on the hitCount you request in your Narrative API request) with the results of the widget you selected.

Step 3: Deploy your Narrative in Test (or publish it)

Now that you have configured your static Narrative, you can deploy it in test mode with the button “Test” on the top right:

...

Please refer to the logic defined in Sep 3 : Publish Your Configuration of How to add a new WPO Widget to decide if you need to publish your account (and if needed to do it).