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
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:
Using this method, you can create logics in the frontend for when you want to apply a Campaign.