Website data

2min

Website data is an ephemeral store that can hold data you might need to use for targetting and personalization for the duration of a visitor's session. Examples of such data can be:

  1. Cart size/value
  2. Site category
  3. Article name
  4. Any other data which relates to the site rather than to a customer

Website data can be set in several ways:

  1. Using the ply.setData client SDK method
  2. By using the data parser engine
  3. By setting the window.plyData object

How to set the website data using the plyData variable:

JS




Updated 25 Mar 2024
Doc contributor
Did this page help you?