For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to page URLs.
Skip to content

Third Party Ad-Serving

When HTML & Iframe is enabled for an account, you can create HTML campaigns using an iFrame, HTML5, or a script instead of an image.

In Step 2: Ads, select HTML Tags, then click +AD VARIATIONS and paste the campaign ad tag.

Click URL

As HTML Campaigns are served through a third party server, they need to use an extra parameter named {click_url} to register conversions and clicks. This parameter needs to be implemented in two places in order to work: In the Ad tag itself and in the host page that generates the HTML banner.

Step 1: Ad tag

Add {click_url} to the ad tag:

Step 2: Host Page

On the host page, (whether it uses PHP or any other programming language), you need to add 2 things:

  • The click_url:

  • The tracker for server to server tracking

A: PHP example (to be added at the beginning of the page)

GET the variables from the iFrame (HTML):

B: Link Code

Add the click_url and tracker to the link code that wraps the HTML banner:

The click_url always ends with ;. This separates it from the destination URL. Please do not remove any parameters from the click_url or trim it in any way. Your url should simply be appended directly after (preserving everything as is, including the semicolon ;)

Step 3: Final Result

The final result of the link should be:

The server automatically removes {click_url} and redirects the visitor to the destination page.

Last updated

Was this helpful?