How to Track Affiliate Traffic to a Non-MemberGate Page


For the affiliate program to track pages that were not created by MemberGate, the following steps need to be take.

1) The page must end in .cfm (not .html or .htm). If you have an .html or .htm, you can rename the ending to be .cfm for it to work.

2) The following code needs to be in that .cfm page. You should put it in the body of the html:

Public pages

 <cfinclude template="/members/manage/aff_include.cfm">

Members pages

 <cfinclude template="members/manage/aff_include.cfm">

Once the code is in place, test it by sending affiliate traffic to it.

Append the affiliate ID to the end of the page's url. So if the page was and the affiliate was TESTING then the URL would be

View that affiliates stats in the affiliate program of your control panel. Send a few clicks to that page and keep refreshing the affiliates stats. You should see the number of hits increase by one each time you click through and refresh their stats. That confirms that the site is tracking the traffic to that affiliate.