Skip to main content
All CollectionsSwaarm Performance MarketingProductOffers
Offer > Landing Pages: Add HTML Landing Pages
Offer > Landing Pages: Add HTML Landing Pages

This article explains how to add HTML landing pages to the offer

Updated over a year ago

Jump to:

HTML Landing Page

In most advertising, a banner/video that has a tracking link attached to it is shown to a user. In Lead Generation, it’s generally an HTML page with a call to action button or a form that the user has to fill out.

To support this lead generation use case in Swaarm, we introduce the concept of an HTML Landing Page. You can create HTML landing pages on an offer after the offer creation.

The feature process is as follows: Your account manager creates an HTML Landing Page on an offer and saves it. Then you send the link to this offer to your publisher which drives users to it.

How to create an HTML landing page on an offer?

  1. Go to Offer Details > edit > Landing Pages

  2. If you want to add an HTML template on the default landing page, then select Default OR if you want to create another landing page then add a new page by filling out the form in + New Landing Page

  3. Scroll down to the HTML template field and write/ paste your HTML template code, you can see a sample template added in the image below.

  4. Click Save

  5. Also, you can edit the template code on this page by just making changes here and saving it again

Note: Click macros as well as a click tracking link macro {link.clickUrl} are supported within the HTML template.

That means,

  • You can add a tracking URL to the 'href' of the CTA anchor, e.g.,<a href="your click tracking URL here">

    OR

  • You can add {link.clickUrl} in the 'href' of the CTA anchor tag, eg., <a href="{link.clickUrl}">

How does it work?

When the user arrives at the URL, the configured HTML page is processed and served to the user. The only difference from the usual process is that instead of redirecting to the tracking URL of the landing page that was chosen, it serves the HTML template added to it.

Where do we show these HTML templates that the user adds?

Apart from offer > landing pages, we show these HTML templates added to the offer on the following pages,

  1. On Partner UI, the saved HTML template will be shown under Offer Details > HTML Template tab, you can see the Preview of the HTML template which tells you how it'll be shown to the user.

    Also, you can copy the code by clicking on copy code.

  2. In Feed API, these HTML landing pages are shown to publishers so that they can serve the HTML themselves.

Quick Note:

For HTML landing pages, click tracking is done and not the HTML load tracking.

Did this answer your question?