Product Campaign
Trigger product-detail campaigns and render feedback or pushed products.
Documentation
Adding a Product Campaign
Use ff-campaign-product to display product campaigns on a product detail page. Add the element and set product-id to the FactFinder field configured with the Product number (campaign) role.
Check Field summary in FactFinder backend when you are unsure which field applies. Usually, set this attribute dynamically with JavaScript whenever the viewed product changes.
<ff-campaign-product record-id="12345"></ff-campaign-product>The element triggers a campaign but does not render content. Depending on the configured campaign, add ff-campaign-feedbacktext with is-product-campaign for feedback text or ff-campaign-pushed-products with is-product-campaign for pushed products.
See Campaign and Pushed Products for the associated components.
<ff-campaign-feedbacktext is-product-campaign label="your-label">
{{{text}}}
</ff-campaign-feedbacktext>
<ff-campaign-pushed-products is-product-campaign>
<ff-record-list subscribe="false">
<ff-record>...</ff-record>
</ff-record-list>
</ff-campaign-pushed-products>Demo
Try the Product Campaign demo.
API code
Properties
Last updated
Was this helpful?