> ## Documentation Index
> Fetch the complete documentation index at: https://moengage.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# How to Create a Dynamic Sales Page with Product Recommendations

> Build dynamic sales pages in MoEngage that pull product recommendations from your catalog, creating personalized shopping experiences for visitors.

# Introduction

Creating engaging sales experiences is crucial for driving customer conversions and boosting revenue. Using the *Landing Pages* feature of MoEngage, you can create personalized landing pages for users to browse and preorder products dynamically.

#### Advantages of creating a sales page using landing pages

* **Dynamic product display:** Products are automatically fetched and displayed from your product catalog via recommendations, ensuring the landing page always shows the latest items without manual updates.
* **Seamless user experience:** Creates a smooth flow for customers, allowing them to browse products and click directly through to the specific checkout page for each item from a single landing page.
* **Reduced manual effort:** Eliminates the need to manually build and update product listings on the landing page whenever the catalog changes (For example, adding new products, changing prices/links).
* **Enhanced sales efficiency:** Streamlines the process of showcasing multiple products dynamically, making it easier for users to discover and purchase, potentially boosting conversions.
* **Centralized product management:** Leverages MoEngage Catalogs to manage all product information (title, image, checkout link) in one place, ensuring consistency and simplifying updates.

We will achieve this use case in three steps:

1. [Step 1: Create a Product Catalog](#step-1-create-a-product-catalog)
2. [Step 2: Create a Recommendation](#step-2-create-a-recommendation)
3. [Step 3: Create the Landing Page](#step-3-create-the-landing-page)

# Expected Result

Users visiting the dynamic sale landing page can browse products dynamically based on recommendations. Each product displays the product title, an image, and a **Preorder now** button. Clicking the button will direct them to the respective product's checkout page, as specified in the catalog, ensuring a seamless purchasing experience.\
The products are dynamically fetched from the recommendation, ensuring that any updates to the catalog, such as adding new products or modifying existing ones, are immediately reflected on the landing page without requiring manual edits.

<Tip>
  * You must have access to the Landing Pages feature in MoEngage. If not, enable it for your account by contacting your MoEngage Customer Success Manager (CSM) or the Support team.
  * You must have a prepared CSV file containing product details, including title, image\_link, and link (URL to the checkout page).
</Tip>

# Step 1: Create a Product Catalog

1. On the left navigation menu in the MoEngage dashboard, click **Content**, and then click **Catalogs**. <img src="https://mintcdn.com/moengage/t9d2bz7zij1iE1iP/images/moengage_9e9888.png?fit=max&auto=format&n=t9d2bz7zij1iE1iP&q=85&s=4be953ed6ef9600733f2b03ebb2eab9d" alt="Screenshot 2025-04-16 at 1.01.33 PM.png" width="3318" height="1194" data-path="images/moengage_9e9888.png" />
2. On the Catalogs page, click **Create Catalog**. <img src="https://mintcdn.com/moengage/QRy8rcYszbTJNwGr/images/moengage_b3d954.png?fit=max&auto=format&n=QRy8rcYszbTJNwGr&q=85&s=5d46fbb68aeb46ed14cf287b9376e16e" alt="2025-04-16_13-04-14.png" width="3336" height="1200" data-path="images/moengage_b3d954.png" />
3. In the Catalog name box, type a name for the catalog to identify it, and click **Submit**. <img src="https://mintcdn.com/moengage/wIFGWsQFEjsz2j4v/images/moengage_e25b3e.png?fit=max&auto=format&n=wIFGWsQFEjsz2j4v&q=85&s=9cccb7d5f669543131a4690b1639adba" alt="Screenshot 2025-04-16 at 1.05.57 PM.png" width="1250" height="476" data-path="images/moengage_e25b3e.png" />
4. Prepare a CSV file with the following columns: title (the product's name), image\_link (the URL of the product image), and link (the URL that leads to the product's checkout page, such as [*https://www.example.com/productA/checkouts*](https://www.example.com/productA/checkouts)). An example feed might look like the following image: <img src="https://mintcdn.com/moengage/wjYnJKL0xml-g3HM/images/moengage_398368.png?fit=max&auto=format&n=wjYnJKL0xml-g3HM&q=85&s=ee883a208fdfed93c0a4df10a906a7ee" alt="Screenshot 2025-04-16 at 12.59.28 PM.png" width="2430" height="744" data-path="images/moengage_398368.png" />
5. On the **Catalogs** page, click the newly created catalog. <img src="https://mintcdn.com/moengage/H6NVBgn3z5fYOOBq/images/moengage_7abe26.png?fit=max&auto=format&n=H6NVBgn3z5fYOOBq&q=85&s=9508fb0dfb5f1611f397c64f2925b725" alt="2025-04-16_13-10-20.png" width="3222" height="1196" data-path="images/moengage_7abe26.png" />
6. Click **Add Feed**. The **Create feed** pop-up window appears. <img src="https://mintcdn.com/moengage/Ci8j4F7VOEUnUuwd/images/moengage_ed1e19.png?fit=max&auto=format&n=Ci8j4F7VOEUnUuwd&q=85&s=d91e943f24175425a1fb0b825d5f4ece" alt="Screenshot 2025-04-16 at 1.11.55 PM.png" width="3230" height="1472" data-path="images/moengage_ed1e19.png" />
7. Upload the CSV file from your computer and click **Submit**. For information on using URL upload, refer to [Creating a Catalog](/user-guide/content/recommendations/prerequisites/catalogs). <img src="https://mintcdn.com/moengage/wIFGWsQFEjsz2j4v/images/moengage_e24691.png?fit=max&auto=format&n=wIFGWsQFEjsz2j4v&q=85&s=ea9ab7b3506b8e224b056f41bf73b880" alt="2025-04-16_13-16-49.png" width="1440" height="1132" data-path="images/moengage_e24691.png" />
8. After a successful upload, your item feed will look something like this. <img src="https://mintcdn.com/moengage/B1ZqBU-ISgaoSx_O/images/moengage_54208f.png?fit=max&auto=format&n=B1ZqBU-ISgaoSx_O&q=85&s=ca28695da0f870413f24f6215db60e4b" alt="Screenshot 2025-04-16 at 1.19.44 PM.png" width="3202" height="1416" data-path="images/moengage_54208f.png" />

In the next step, we will create a recommendation for our catalog.

# Step 2: Create a Recommendation

In this section, we will create a recommendation to display all catalog items.

1. On the left navigation menu in the MoEngage dashboard, click **Content**, and then click **Recommendations**.
2. On the Recommendations page, click **+ Create recommendation**.
3. In the **Select recommendation model** section, we will use **Item attributes** type. You can learn more about recommendations [here](/user-guide/content/recommendations/getting-started/moengage-recommendations). <img src="https://mintcdn.com/moengage/cFTwc93vQdTanvKi/images/moengage_bf1dbb.png?fit=max&auto=format&n=cFTwc93vQdTanvKi&q=85&s=6d7219bbaf2c9d6e2dce2495c927bcdc" alt="Screenshot 2025-04-16 at 1.23.32 PM.png" width="3238" height="1268" data-path="images/moengage_bf1dbb.png" />
4. Click **Next**.
5. Enter a name and description for your recommendation.
6. In the **Catalog** list, select the catalog created in [Step 1](#step-1-create-a-product-catalog). <img src="https://mintcdn.com/moengage/T-dEj4C-7pywzBS3/images/moengage_a2f2e8.png?s=938531dc8e48f87e4dd8b3243caff094" alt="2025-04-16_13-34-00 (1).gif" width="1608" height="568" data-path="images/moengage_a2f2e8.png" />
7. Set the filter as shown below: <img src="https://mintcdn.com/moengage/_fazdN5K6hQMBuV9/images/moengage_38fb52.png?fit=max&auto=format&n=_fazdN5K6hQMBuV9&q=85&s=5860678e879b2c4b2ada6da0f7dfee5a" alt="Screenshot 2025-04-16 at 1.44.42 PM.png" width="3190" height="476" data-path="images/moengage_38fb52.png" /> This will ensure all the products are shown when this recommendation is used. For more information on using filters, refer [here](/user-guide/content/recommendations/basic-recommendations/item-attribute-model).
8. Click **Create**.

In the next step, we will create a landing page with the recommendations.

# Step 3: Create the Landing Page

In this section, we will create a landing page with an embedded HTML element to dynamically render the products in a grid layout, each with a **Preorder now** button linking to a checkout page.

1. On the left navigation menu in the MoEngage dashboard, click **Content**, and then click **Landing pages**.
2. On the Landing pages page, click **Create a landing page**.
3. Enter a name for the landing page to identify and manage it easily, and select appropriate tags to categorize it.
4. In the **Content** section, click **Blank Template**. <img src="https://mintcdn.com/moengage/wIFGWsQFEjsz2j4v/images/moengage_dfa159.png?fit=max&auto=format&n=wIFGWsQFEjsz2j4v&q=85&s=b51a922b0e0eeea1748fa17743e5a1a1" alt="Screenshot 2025-04-16 at 1.58.03 PM.png" width="3162" height="1522" data-path="images/moengage_dfa159.png" />
5. Add the desired text and images to your page. For more information, refer to [Landing Page Editor](/user-guide/content/landing-pages/create/landing-page-editor).
6. From the editor's left pane, drag and drop the "Embed" element onto the page. This element allows you to insert custom HTML code for dynamic content.
7. Within the embed element, click the first icon in the settings bar and paste the following HTML code, replacing YOUR\_RECOMMENDATION\_NAME with your recommendation name (for example, *LP\_test*):
   <CodeGroup>
     ```html HTML wrap theme={null}
     <style>.container {display: grid;grid-template-columns: auto auto auto;background-color: dodgerblue;padding: 10px;}.container > div {background-color: #F1F1F1;border: 1px solid black;padding: 10px;font-size: 30px;text-align: center;}</style><body><div class="container">{% if ProductSet.YOUR_RECOMMENDATION_NAME %}{% for product in ProductSet.YOUR_RECOMMENDATION_NAME[0:6] %}<div><h1>{{product.title}}</h1><img src="{{product.image_link}}" height="200px" width="200px"><br><a href="{{product.link}}" target="_blank">Preorder now</a></div>{% endfor %}{% else %}MOE_NOT_SEND{% endif %}</div></body>
     ```
   </CodeGroup>
   <img src="https://mintcdn.com/moengage/tNrQQROY8O0h4yWe/images/moengage_13f511.png?s=9839f8c9acff940eb55045ce37155c80" alt="2025-04-16_14-08-54 (1).gif" width="1568" height="782" data-path="images/moengage_13f511.png" />
8. Customize the CSS within the embed element to match your preferred design, such as changing colors or grid layout. For example, you can modify the background color or adjust the grid columns.
9. Optionally, you can drag and drop additional elements, such as text or images (for example, a logo) above the product grid to enhance the landing page's appearance.
10. Configure the URL and settings for your landing page. For more information, refer to [Create a Landing Page](/user-guide/content/landing-pages/create/create-a-landing-page).
11. Click **Publish** to publish your landing page. The page will appear as shown below. <img src="https://mintcdn.com/moengage/4hNKOAjPrnhpJB2_/images/moengage_7daa3c.png?fit=max&auto=format&n=4hNKOAjPrnhpJB2_&q=85&s=3aaa1af8ad44d6e7bfc72d8beacaf70d" alt="Screenshot 2025-04-16 at 2.23.30 PM.png" width="3126" height="1630" data-path="images/moengage_7daa3c.png" />

# Verification

To verify that the dynamic sale landing page is working correctly:

1. Visit the published landing page and ensure the grid displays the products from your catalog, each with a title, image, and functional **Preorder now** button.
2. Click **Preorder now** to confirm it directs to the correct checkout page for each product, as specified in the catalog.

# Conclusion

In this use case, we created a dynamic sale landing page by setting up a product catalog, configuring a recommendation, and embedding HTML for dynamic product display. This approach ensures users can browse and preorder products seamlessly, enhancing sales efficiency and customer engagement. Now that we have published the landing page, we can track views and clicks to understand how well our campaign is performing.
