ClickMate

Overview

ClickMate provides a wrapper that you can use on any link to convert it, on the fly, to a SmartLink. This means that the link will go through our matching process, and on future clicks will work through our real time auction system and will re-route to the most beneficial advertiser.

Your account must be a member of our LinkMate program to use this feature. For more information about this program, feel free to contact us.

Query Params

URL Path Parameter Type Description
url string(2048) The URL of the target link (must be URL encoded!) Required without this, users will see an error page
article_url string(2048) The URL of the article your link is coming from (must be URL encoded!). Optional
article_name string(100) The name or title of the article your link is coming from. Optional We require either this or aritcle_url (or both) to correctly group and monetize links
publisher_slug string(64) The slug provided by your Narrativ account rep. Required Without this we will not know what account to monetize clicks for
exclusive Integer set this to 1 if you want to ensure that this particular link only goes to the original advertiser Optional
u1 string(2048) arbitrary tracking parameter that you may apply to links for your own tracking, will be passed to our stats Optional

URL Encoding

All parameters must be URL encoded. See URL Encoder.

Example Code

In Javascript:

var url = 'https://merchant.example/product1234';
var slug = 'myacct';
var articleName = document.title;
var articleUrl = window.location.href;
var clickmateUrl = 'https://shop-links.co/link?url=' + encodeURIComponent(url) +
   '&publisher_slug=' + slug +
   '&article_name=' + encodeURIComponent(articleName) +
   '&article_url=' + encodeURIComponent(articleUrl);