Affiliate Link Marker

By Johannes Kinast

★ 5.0/5 (6 ratings)400+ active installationsVersion 1.0.9

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

Description

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.com tkqlhce.com anrdoezrs.net dpbolvw.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.de pvn.saturn.de
  • StackCommerce stacksocial.com citizengoods.com skillwise.com joyus.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 Settings → Affiliate 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.

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="..."

Screenshots

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