Landing Page Campaign
`ff-campaign-landing-page` triggers a configured landing-page campaign without a search request. Pair it with campaign display components to render returned content.
Documentation
With the ff-campaign-landing-page element, you can display product campaigns independently of search requests. A common use case is the start page of your website.
<ff-campaign-landing-page page-id="home"></ff-campaign-landing-page>ff-campaign-landing-page triggers the FactFinder campaign that corresponds to the page-id attribute.
The triggered campaign is visualized through the ff-campaign-feedbacktext and ff-campaign-pushed-products elements. To display landing page campaigns, they must be given the is-landing-page-campaign attribute.
<ff-campaign-landing-page page-id="page-id-according-to-FF-UI"></ff-campaign-landing-page>
<ff-campaign-feedbacktext is-landing-page-campaign label="your-label">
{{{text}}}
</ff-campaign-feedbacktext>
<ff-campaign-pushed-products is-landing-page-campaign>
<ff-record-list subscribe="false">
<template data-role="record">
<ff-record>...</ff-record>
</template>
</ff-record-list>
</ff-campaign-pushed-products>For more information, see Adding Feedback campaigns and Pushed Products.
API
ff-campaign-landing-page
Properties
page-id (String) (default: empty)
The ID of the campaign to summon. Define the campaign in the FactFinder UI.
Last updated
Was this helpful?