Fighting against Affiliate Cookie Stuffing in Iframe

Written by Mukul Kaushik

Ad Networks offer affiliate programs that allow Affiliates to generate income. These affiliates are given an Affiliate ID that stores a cookie in a user’s browser for a specified period of time. If the user makes a sale/conversion before the cookie expires, the affiliate receives a commission for that sale/conversion.

What makes this approach unique is that it does not technically distribute any malicious content. If a user engaged with the page containing the iFrame on the compromised website, they simply transferred a network’s affiliate cookie to the user’s browser.

iFrame: It is used to add HTML code inside another HTML code. Generally, this technology is used to place ads on websites. Where advertisers are given a section on the website to place their creative codes. 

Here is an example of a publisher using Iframe pixel to stuff cookies on the user browser and generating fraud conversions.

 <meta name=”referrer” content=”no-referrer” />


    * {

      margin: 0;

      padding: 0;





  <a href=”” target=”_blank” style=”text-decoration: none;”>

    <img src=”” />

<link rel=”stylesheet” href=”” />

When users visit a web page with a hidden iFrame like this, their browser loads all the content whether the user can see it or not. This includes affiliate cookies, which are then stored in the browser.

Some networks will inject up to 20 different hidden affiliate iFrames on a single page to maximize the opportunities. These invisible iFrames are known to slow page load times and can lead to negative user experience, but are otherwise harmless to users.

If the user makes a conversion before the injected iFrame cookie expires, network will receive a commission for the purchase.

By compromising more websites and distributing their injected Affiliate iFrames exposure is maximized as is the number of commissions generated for these black hat marketers clearly showing that unprotected websites are a resource valuable for bad actors.

To mitigate the risk of serving unwanted affiliate cookies or reducing site performance, website owners can closely monitor changes to their website files by using an integrity monitoring service. This service will make it easy to spot any suspicious or compromised activity.

What We Are Doing To Stop This Kind Of Fraud?

In Trackier we have created a shield to block any click coming from publisher tracking URL which seems to be the centre for image/ Iframe pixel for cookie stuffing.
Our dedicated server keeps a watch 24*7 for this kind of traffic and keep blocking it, which makes you safe from paying fraud conversion to your affiliate and managing disrupted CR with advertisers.

The above image is a sample as to what cookie stuffing fraud looks like. With cookie stuffing, you’re committing a crime against another affiliate or the advertisers who is paying commissions on sales that would have happened anyway.

More Blogs From Us

  • Trackier empowering future generations in urban slum pockets

    The most recent data shows that 35% of the Indian population resides in slums. Reports have it that every 8th urban child in India lives in slums. These staggering numbers should jolt any corporation that believes in Social Responsibility into […]

    Read More
  • Guide to Making Promo Codes Work

    Setting up a promo codes on your website and waiting for customers to use them isn’t enough to run a successful promo code campaign. Is it really enough to only generate a promo code and broadcast it on social media […]

    Read More
  • What is Google Advertising ID?

    The Google advertising ID is a device identifier that marketers may use to track user ad behavior on Android devices anonymously. It is sometimes known as the Android advertising ID, while Google advertising ID (short form: GAID) is the more […]

    Read More
  • 5 Steps to Start a Successful Affiliate Program in 2021

    An affiliate program may appear to be a conventional form of digital marketing in which your company seeks affiliates who will post links to your company on their webpage, blog, or social media platform. You then pay these affiliates a […]

    Read More
  • Partner Marketing: Importance of Goal Setting

    As per Hinge’s 2021 High Growth Study, partner marketing is the 7th most influential marketing method for professional services organisations, ranking ahead of more regularly used marketing tactics like event sponsorships, blogging, and even email marketing campaigns. Furthermore, when we […]

    Read More
  • Affiliate Marketing: How to find B2B Affiliates?

    Finding affiliates entails a combination of basic questions and informing interested persons about your service. You may also persuade others to become affiliates by providing high-quality products, outstanding customer service, and a significant commission. You will have to put in […]

    Read More
  • How Super-Apps are Transforming Mobile Marketing

    What are Super Apps? In simple terms, super applications are a marketplace of in-house and third-party services and solutions grouped under one umbrella. WeChat, Alibaba, and Alipay are the most well-known examples of such apps, which were all designed with […]

    Read More
  • Mobile Attribution: Its Crucial Role in Mobile Marketing

    What is Mobile App Attribution? An app install is linked to a marketing activity such as an ad or a marketing campaign using mobile attribution. Marketers want to identify when their ad campaigns are successful, so they employ mobile attribution […]

    Read More
  • Is AMP Still Relevant for Your Mobile Marketing Business?

    What exactly is AMP? Google and Twitter collaborated on the Accelerated Mobile Pages (AMP) initiative, which was released in 2005. Its goal is to have mobile sites load as quickly as possible. It accomplishes this by removing anything that slows […]

    Read More
  • IGB 2021: Major iGaming Event Takeaways

    Trackier has maintained its reputation as an Ad-tech, SAAS Company that doesn’t miss out on any opportunity when it comes to attending the international and national events related to our industry. Recently, our Chief Sales Manager and Sales Head could […]

    Read More

You’re in!

Thank you for subscribing to Trackier’s newsletter. We will send you only the best content, with actionable steps you can take to grow your business.