Skip to main content

How to Use ClickTag in the Embed Code for Multiple Campaign Links

Learn how to use ClickTag in embed codes to easily update landing page URLs for multiple campaigns without editing or duplicating designs.

Updated over a week ago


If you plan to use the same design across multiple affiliate programs—each with its own landing page—you can easily update the link using the ClickTag parameter in your embed code.

This method saves you from editing the design file or creating duplicates for each campaign. Instead, you simply update the link directly in the embed code.

Example:

htmlCopyEdit<script type="text/javascript"> var bannersnack_embed = { "hash": "b1n0xeq5t", "width": 250, "height": 250, "t": 1538565293, "userId": 15957556, "type": "html5", "clickTag": "https://www.LINK.COM" }; </script> <script type="text/javascript" src="//cdn.bannersnack.com/iframe/embed.js"></script>

Replace https://www.LINK.COM with your desired landing page URL.

Important:

  • If you’re using an iFrame embed code, you must first encode your URL using a tool like URL Encoder.

  • Use the encoded URL in place of the ClickTag link.

Encoding a URL for use in an iFrame embed code using an online URL encoder tool.

This approach ensures that your design remains the same while dynamically changing the destination link for different campaigns.


Ready to start designing?

👉 Sign up for a free Bannersnack account – it only takes a minute.
👉 Already have an account? Log in here to continue where you left off.

Did this answer your question?