Call us Toll-Free:
Email us

Kajabi vs SoftwareProjects

Adrian Singer, September 1, 2010

Why was the payment declined?

Adrian Singer, June 10, 2009

How to create a ShareASale Deep Link

Adrian Singer, June 8, 2009
ShareASale (SAS) Affiliate Network, lets you redirect the end-user to any page on the merchant domain.

Unfortunately there is no built-in user-interface, but it's pretty easy to set it up.

Login to SAS, click 'Get Links' and get the link for the merchant you're looking to promote.

The link is going to start with

All you have to do is add ?urllink=MYURL at the end of the link, replacing MYURL with the destination link.

No need to include http:// in the destination link and make sure you urlencode it.

Sample valid SAS link, with custom url redirect:

Our information-marketing clients sales-process typically follows these steps:

Page 1: Opt-in page
Page 2: Sales letter
Page 3: Checkout form
Page 4: Upsells 1,2,3 etc.
Page 5: Thank you page

How do you prevent users from directly accessing anything but page 1?

You could use cookies or session variables, but the easiest way to block users from directly accessing any "pages in the middle", is to validate using the HTTP_REFERER string (what url the user came from).

If the user is directly hitting pages 2 to 5, or arriving there from any third party sites, the HTTP_REFERER string will not match your domain. You can then redirect the user back to Page 1 and force following the process as it was intended.

The code below does the trick:

If you're using the SoftwareProjects Shopping Cart, the above can be implemented with a single call to do_blockdirectlinking


Pepperjam Network (PJN) is a performance marketing affiliate network, focusing on consumer offers.

PJN offers an easy-to-use RESTful interface, available via simple HTTP GET calls, that allows you to download your stats and transactions in real time.

The SID report includes offer name, SID, EPC, impressions, clicks, commission and creative ID. I wish the date field would have included time as well (for hourly optimizations). On the other hand, it's great that they are including impressions and clicks data (no other network provides this info).

The script below connects to PJN and downloads the SID conversions report:

« Previous Posts

About Us  |  Contact us  |  Privacy Policy  |  Terms & Conditions