Affiliate Link Marker

July 11, 2024

Affiliate Link Marker Plugin

Mark your Affiliate Links with a *, add rel="nofollow sponsored noopener" to affiliate links and attach a disclosure at the end of e …

A WordPress Plugin to mark your Affiliate Links with a *, add rel="nofollow sponsored noopener" to affiliate links and attach a disclosure at the end of every post which contains at least one affiliate link.

You can manage your own list of affiliate tracking domains or URL parts (used to detect affiliate links) and change the disclosure text.

Works great with Multisites. If activated networkwide, you can manage your affiliate domains from your Network Admin Area and the disclosure (e.g. translated) for every single page.

The following Affiliate Networks with the corresponding tracking domains are supported out of the box (but you can add your own or remove unused):

  • Amazon PartnerNet amazon
  • Webgains track.webgains.com
  • AWIN awin1.com
  • financeAds financeads.net
  • Performance Horizon/Partnerize prf.hn
  • Belboon belboon.de
  • Tradedoubler tradedoubler.com
  • Adcell adcell.de
  • TradeTracker tc.tradetracker.net
  • Daisycon ds1.nl
  • ShareASale shareasale.com
  • CJ.com jdoqocy.comtkqlhce.comanrdoezrs.netdpbolvw.net
  • FinanceQuality l.neqty.net
  • Target Circle c.trackmytarget.com
  • NetAffiliation action.metaffiliation.com
  • Selecdoo work.selecdoo.com
  • Viglink viglink.com
  • eBay Partner Network rover.ebay.com
  • Groupon Partner Network t.groupon
  • Saturn + Media Markt Private Network pvn.mediamarkt.depvn.saturn.de
  • StackCommerce stacksocial.comcitizengoods.comskillwise.comjoyus.com

Installation

  1. Upload the folder affiliate-marker to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Go to SettingsAffiliate Marker and add your own affiliate domains or change the default disclosure.
  4. Add an affiliate link to one of your post and you’ll see the * in the front end next to the link and the disclosure at the end of your post.

Screenshots

  1. Add your own affiliate related domains or any part of an affiliate links that identifies your affiliate link and change the disclosure text<br />

    Add your own affiliate related domains or any part of an affiliate links that identifies your affiliate link and change the disclosure text

  2. Every affiliate link is marked by a <code>*</code> next to the link text and at the end of post the disclosure will be attached<br />

    Every affiliate link is marked by a * next to the link text and at the end of post the disclosure will be attached

FAQ

Can I change the style of the disclosure?

There is a CSS applied to the disclosure affiliate-marker-disclosure. You can change e.g. the font size with some custom CSS .affiliate-marker-disclosure { font-size: small; }.

Does it work with JavaScript tracking code?

It only works with HTML <a href=""> links, not with crazy JavaScript tracking code like onclick="..."

Changelog

1.0.9

  • Fix Creation of dynamic property Warning

1.0.8

  • Fix sanitize callback if the input is an array

1.0.7

  • Fixed Plugin Path

1.0.6

  • Composer Slug changed

1.0.4

  • Fixed some PHP compatibility issues

1.0.0

  • First release

Details

  • Version: 1.0.9
  • Active installations: 400
  • WordPress Version: 4.6
  • Tested up to: 6.5.5
  • PHP Version: 7.0

Ratings


5 Stars
4 Stars
3 Stars
2 Stars
1 Stars