For the complete documentation index, see llms.txt. This page is also available as Markdown.

Landing Page Campaign

Trigger landing-page campaigns and render feedback or pushed products.

Documentation

Adding a Landing Page

Use ff-campaign-landing-page to display product campaigns independently of search requests. A common use case is a website's start page.

<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 element itself does not display anything, nor does it take any child elements. It is merely a trigger that you place on pages where you want to display a landing page campaign.

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-config"></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">
        <ff-record>...</ff-record>
    </ff-record-list>
</ff-campaign-pushed-products>

For more information, see Campaign and Pushed Products.

Demo

API code

Properties

Properties
Name
Description

page-id (String) (default: empty)

Binds the campaign to a product campaign with the criterion page-id equals the defined pageID in the FactFinder backend.

Last updated

Was this helpful?