Skip to main content

Setting up web behavior

Web behavior data is collected with pixel-sized images inserted into websites:

<img_src="http://s3s.fr/pview.php?universe=MYUNIVERSE&product=EXTERNALID"
border="0" alt="" width="1" height="1" />

The link used in the example has two parameters:

Universe (mandatory)

It is the name of the Splio universe which is collecting the behavioral data.

This mechanism identifies contacts using tracking cookies, which are set up when a contact clicks on a link in an email message. Tracking cookies work for 30 days.

Externalid (recommended)

External identifier of the visited product. If present, it allows Splio to register which products have been visited and when.

Display visited products

If your Splio universe is tracking visited products, it is possible to list and display (in the form of a loop) products that have been viewed and tracked for the current contact.

{SPLIO FOREACH PRODUCT IN VISITS ORDERBY=''price'' DIRECTION=''DESC'' LIMIT=4}

<img_src=''$product.img_url$'' /><br />

<strong> $product.name$ </strong>

{SPLIO ENDFOREACH}


Explanation

The expression FOREACH PRODUCT IN VISITS means that Splio creates a list of products visited by the current recipient of the message, according to web behavior tracking. The list is sorted by price from the highest to the lowest order. Splio includes the information about the first 4 products only in the message.

You can find more information in our documentation on the loop options. The values in the middle are product parameters from the database of your universe.