Wordpress affiliate tracking plugin

“Bloodhound” is our WordPress plugin for tracking exceptionally well.

This is typically used to track advertising / marketing methods and/or sales affiliates and JV partners.

Typical Client Uses:

  • Tracking Sales reps – so when web-leads come in (or e-commerce sales), the correct sales rep gets credit.
  • Localization – by creating a few users for a given location, you could use this to make it look like you’re a local company, i.e. for, say, real estate, have one website but 20x locations, and the user sees a local phone number, local address (optionally), even local photo (a house in Hawaii vs. house in Alaska looks different), while still having all one site for SEO purposes.
  • MLMs or large sales-team tracking – each rep or affiliate has their own version of a site that you control – also good for financial services or insurance wherein you may need compliance oversight.
  • Tracking ad campaigns for offline sales and lead generation, so you can later track back how a sale was won and thus the exact ROI on ad campaigns, even if the user phoned in instead of applying online or filling out an online form
  • Tracking advertising ROI even with off-domain sales (i.e. affiliate marketing or sales via paypal, etc.)
  • “Swipe Website” – Vendors to give their sales-reps and resellers an instant “Swipe Website” that’s plug-and-play. For example, a manufacturer could make a public-facing retail-oriented website, but display your rep’s contact info and they get the leads.
  • Any mix of the above

It can do the following:

  1. Track any variables, even off-domain, including via multi-domain sessions – here’s an example:
    1. Customer gets to Landing page 1 with various Google Analytics and/or affiliate tracking details appended i.e. YourSite.com/lander?GA=Google.com&UTM_source=PPC&affiliate=BobJones&keyword=”widgets” – this allows you to know how this customer was brought to your site and compile it into useful, actionable reports.
    2. Customer then visits a few more pages on your site. This is where most data gets lost with a default installation – if you capture a lead typically on page 2 or more of a site, without this plugin, you won’t know how they got to you. With bloodhound, we can pass all these as hidden (invisible to the human) variables (well, visible to you, but not the website visitor).
    3. Customer might leave the domain for payment – say to Clickbank, Paypal.com, DUvisio, JVZoo, etc. – We can re-append variables back into the domain anytime for redirection, and even re-append just specific variables to keep things short & sweet in the URL bar – so in this example the customer leaves to paypal – normally this would again clear any tracking info….
    4. Then customer returns to your site for setup. We can re-associate the variables by using cookies to this visitor.
  2. Track via Phone by replacing the phone number site-wide on-the-fly. Other systems do this and charge thousands per year. This can then be fed to Google Analytics, so that you could do something like:
    1. Postcard visitors see 800-555-4444
    2. Facebook visitors see 310-555-3333
    3. Google visitors see 212-555-2222
      1. Then by tracking which number the person called, you’ll know how they found you, and thus which advertising is working and what’s not.
  3. Make an entire “Swipe Website” for affiliates and JV partners, with a “fallback” if no tracking data is provided (typically the site-owner’s info). If you have a sales army, you can replace….
    1. The Contact Us – entire page / unique specific page OR just data on the page!
    2. The About Me/Us page – entire page
    3. Phone, URL, email, location
    4. Photo and Logo (2x options)

That’s the basics.

Next phases for this product are….

  • Logic – like IF userpayment=yes, then go to “setup.html”, but if userpayment=canceled go to “canceled.html”, or tied to product ID, etc.
  • 256-character-plus circumvention via session-collapsing if needed.

===== OFFICIAL DOCUMENTATION =============


The way this works is to set the affiliate or traffic / advertising method (or both), then the system will evaluate that incoming URL, and swap data (like phone numbers) on-the-fly to match.


  1. Create a Blog Post with that rep’s name or short tracking code they want, i.e. https://YourWebsite.com/bob
  2. Add [setcookie affliate=”bobjones”] to it, where “bobjones” is the actual affiliate-name as defined in the “users” >> bob jones panel. Note this is caps sensitive and must match exactly.
  3. This will set Bob as the affiliate and thus swap out the branding info on-the-fly i.e. any combination of phone, photo, email, location, etc.

This then relies on cookies, so even if the user leaves and returns a month later, they will still see the Bob Jones version of this website.

TIP: some of the below fields can be used in hidden form-fields i.e. to track affiliate form referrers, lead generation, downline signups, etc.


NOTE: DO NOT INCLUDE THE // BELOW in your website.

  • [//bloodhound_email default=”default_email_here”]
  • [//bloodhound_phone default=”default_phone_here”]
  • [//bloodhound_name default=”default_name_here”]
  • [//bloodhound_url default=”default_url_here”]
  • [//bloodhound_numberone default=”default_numberone_here”] /// any type of number – affiliate ID, form ID, network marketing ID… any kind of ID number.
  • [//bloodhound_numbertwo default=”default_numbertwo_here”]
  • [//bloodhound_image default=”https://YourSite.com/completeLocalPath/2017/12/3/default_imagefile_here.jpg”]  // photo of the affiliate, logo, etc. – complete path to photo or image
  • [//bloodhound_sponsor_id default=”12345″] – if using multi-level tracking i.e. superaffiliate, or MLM / network marketing systems. Optional, as all these are, but used only if you have multi-level tracking.
  • [//bloodhound_sponsor_name default=”Henry Jones”] – same as above, but just a display name
  • [//bloodhound_affiliate_signup] — OPTIONAL – if you want to setup a front-end affiliate signup form, then use this for tracking. Note this doesn’t handle payment to affiliates, it just does the tracking codes – but if you need a simple way to track referral sources and/or generate leads to the right people, this will create a self signup form.
  • [//swiftsign_affiliate_name] UPDATE Sept 2017: For use with our Electronic Signature Tracking – this will add a hidden variable of the ad-source or affiliate or sales rep’s name into the e-signature. It will not be visible to on the final signed PDF nor to the signor, but will be included in the email to the form-owner / signature-recipient(s).


In overview, the way this works is to…

  1. Read incoming variables from the URL of incoming traffic, and break them apart into individual variables – so we split out utm_source=sem (Search Engine Marketing i.e. PPC ads) from https://YourSite.com?utm_source=sem&utm_medium=google&utm_term=KeyPhraseHere&utm_content=textad&utm_campaign=SummerSale into a single variable
  2. We then cookie then user-visitor with any and all incoming variables – so affiliate tracking, google analytics, internal-use variables, sessions like products or search phrases, all of it.
  3. Then we’ll optionally keep them on the page (no forwarding, waiting for the visitor to click a button or do something) OR can instantly forward them to some other URL with or without specific variables left intact. In the case of Duvisio, an affiliate tracking platform, we could wipe out all variables except, say, the affiliate tracking portion of the URL.
    1. Note: we can also take in the “send user to….” URL as a dynamic variable too, in case of URL encryption
  4. User can then leave the domain entirely – go fill out other forms, e-sign documents, make a payment off-domain, etc. – then after signature, payment, etc the visitor gets dropped back to your site, on…
  5. YourSite.com/post-payment-return-page for example, which could do one of 2 things:
    1. Read the previous cookie session data and re-append it to some URL and them forward the user back along WITH all the variables re-added, OR
    2. Keep the user on the page, and include all those cookied variables as hidden form variables (for a setup form, for example).


  • [//dynamicredirector_writer  redirect_id=’1′] — this is the cookie-writer. It will convert incoming long-URL traffic into cookied variables you can later read and act upon. Example: https://SwiftCloud.IO/landingpage1?method=”PPC”&source=”Google”&affiliate=”BobJones”
  • [//dynamicredirector_reader redirect_id=”1″ url=”https://YourSetupPageHere.com/setupURL”] — this will read the previously cookied variables then redirect the user (with variables added back in!), to in this case, https://YourSetupPageHere.com/setupURL?method=”PPC”&source=”Google”&affiliate=”BobJones”

SEO note: All the links to your domain will help your website rise to the top of google. The version that displays should be the fallback-user (typically the site owner’s info or contact of choice).

Was this article helpful?YesNo
Ah, sorry to hear this. We'll look into updating this item.
What could we do to improve this?