SiteData is our advanced personalization option that allows you to show or hide your campaigns based on any visitor data you have on your site.
It’s ideal for preventing cart abandonment and upselling in your store. With SiteData, you can show personalized campaigns to different visitors based on their cart items, basket value, search queries, operating system, browser language, and much more.
For SiteData condition to work, you need to set up a trigger in your tag management system (such as Google Tag Manager) that fires a tag based on your variables. That tag sends your data to our SiteData storage, and we show or hide your campaigns based on that information.
🚨 Note: The data is session-based and is deleted from our SiteData storage when a visitor’s session ends.
For example, if you want to show a Sleeknote campaign to visitors with a basket value over 500 kr, enter your GTM variable that refers to “basket value” and the value (500 kr) it should be greater than. Now we can show your campaign only when a visitor adds more than 500 kr worth of items to their shopping cart.
For this targeting option to work, you need to send the data to our SiteData storage. Here’s how to set that up.
Send Data from Google Tag Manager to Sleeknote
If you don’t have any variables set up in your GTM, you can use our ready-made SiteData template to set up variables, tags, and triggers. Read this step-by-step guide to learn how.
If you have existing variables in your GTM that you want to send to SiteData, read this article.
Once you follow those steps, you should be ready to use SiteData in your Sleeknote campaign builder.
The next step is to set up SiteData as a targeting option in your Sleeknote campaigns.
How to Set Up SiteData for a Sleeknote Campaign
After designing your campaign, go to the Display Settings step of your Campaign Builder.
Switch the “SiteData” option on, enter the name of your GTM variable, and set the rules to decide when your campaign should show or hide.
In our example, the variable is “TotalBasketValue” and it should show to visitors with over 500 kr in their carts.
How to Use SiteData Merge Tags
In addition to the targeting option, the data you send to SiteData can also be used as merge tags to personalize your campaign copy and to send custom data to your ESP.
Read this guide to learn how to use SiteData merge tags.
Need inspiration on how to use SiteData? Check out these resources: