Learn how to send your GTM variables to our SiteData storage, to use our SiteData condition and merge tags.
If you want to send your existing variables to our SiteData storage, you need to create a tag in Google Tag Manager.
To do that, click "New" on the "Tags" page:
Next, click "Choose a Tag" under "Tag Configuration" and select "Custom HTML". Then, copy the script on this Notion link and paste it to the field:
Click "Save" to save your tag.
To use your SiteData variable as a targeting option, simply visit the Display Settings step of your Campaign Builder and switch "SiteData" on.
Insert your SiteData variable and decide if it should be present, contains, greater than, and so on, for your campaign to show or hide. In our case, we might want to show a campaign when a visitor has over 500 in their cart:
Now our campaign will only show to visitors who have over 500 worth of items in their basket. 😉
Check out this article to learn how to use your SiteData variables as merge tags in your campaigns.
💡 Need inspiration for how to use SiteData on your site? Check out this blog post to read about SiteData use cases.