-
Working with Clerk.io
-
Using Clerk.io on Other / Custom Platforms
-
Using Clerk.io on Shopify
-
Using Clerk.io on Magento 1
-
Using Clerk.io on Magento 2
-
Using Clerk.io on WooCommerce
-
Using Clerk.io on Prestashop
-
Using Clerk.io on BigCommerce
-
Using Clerk.io on Shoporama
-
Using Clerk.io on Shopware 6
-
Using Clerk.io on DanDomain
-
Using Clerk.io on Lightspeed
-
Using Clerk.io on SmartWeb / HostedShop
-
Using Clerk.io with Any Email Client
-
Using Clerk.io with Copernica
-
Using Clerk.io with Autopilot
-
Using Clerk.io with Active Campaign
-
Using Clerk.io with Marketing Platform
-
Using Clerk.io with MailChimp
-
Using Clerk.io with MailUp
-
Using Clerk.io with Apsis
-
Using Clerk.io with UbiVox
-
Using Clerk.io with CleverReach
-
Using Clerk.io with Google Ads
-
Using Clerk.io with Act-On
-
Audience Integrations with Facebook
-
Using Clerk.io with DotDigital
-
Using Clerk.io with Klaviyo
Running Merchandising Campaigns Dynamically in Embedcodes
Check how to trigger a Merchandising Campaign directly from the frontend.
Merchandising Campaigns are handled from my.clerk.io -> Merchandising.
The Campaigns use Triggers to decide where it should be used, like on a specific search or when viewing certain products.
However, Campaigns can also be triggered directly from any Clerk.io embedcode by adding data-merchandising=["INSERT_CAMPAIGN_ID"].
1. Start by creating a Campaign with no Triggers, and note the ID of the campaign from the URL:

2. Now you can trigger this campaign from any Clerk.io embedcode:
<span class="clerk"
data-template="@home-page-popular"
data-merchandising=["boost-bracelets"]
></span>
Using this method, you can create logics in the frontend for when you want to apply a Campaign.
Tip: If you want to apply multiple Merchandising campaigns to the same code, you can add multiple ones in data-merchandising:
<span class="clerk"
data-template="@home-page-popular"
data-merchandising=["boost-bracelets", "boost-high-margin", "remove-out-of-stock"]
></span>
Did this answer your question?