Linkcode
From Offerit
Revision as of 13:06, 3 November 2011 by OfferitJames (talk | contribs)
A linkcode is a referral URL tracked by NATS.
Redirecting to the Correct Page
When Offerit turns a linkcode into a tour URL, it automatically appends a slash (/) to the end of barewords. You can prevent this by appending a question mark to the end of the URL. For example:
Linkcode URL | Where Linkcodes Go |
---|---|
http://example.com/tour | http://example.com/tour/?ocode=offeritcode |
http://example.com/tour? | http://example.com/tour?ocode=offeritcode |
Qualified Link Codes
http://example.com/ttrack/<?=$_REQUEST['offerit']?$_REQUEST['offerit']:'MDowOjE'?>/page.html
The ttrack is used for qualified clicks, which can be used to payout affiliates for this special traffic; track is used for normal hits.
Composition of the Offerit Code
Unencoded linkcodes have the following format:
Affiliate.Commission.Offer.LandingPage.TrafficTag.CreativeID.Subid1.Subid2.Subid3
(Subid 1 - 3 are not currently used).
For Un-Encoded Links, Affiliate is the username of the affiliate, and the rest of the fields are IDs.
For Shortname Links, Affiliate is the username of the affiliate, commission, offer, and landing page are shortnames, and the rest of the fields are IDs.