Shopify App: siteData specification

Using siteData in "Sleeknote - Popup builder"-app

Enabling siteData in your "Sleeknote - Popup builder"-app in Shopify allows you to use store information such as number of cart items, cart total, currency etc. in your Sleeknote campaigns. You can use this information as either merge tags directly in your campaign content, or as a targeting option determining which visitors should see your campaign.

Format

siteData information is stored as a flat JS object, meaning you refer to individual properties in a matching format as displayed in the code example below:

cart.total_discount: 0
cart.total_price: 10000
cart.currency: "DKK"

 

Supported Shopify variables

Cart

current_page

  • page_title

customer