You are on page 1of 7

INSTALL/SETUP GUIDE

Thank you for the purchase of our script, it means the world to us, and we will do everything we
can to guide you.

If you need an account with the following Ad Networks, sign up now:

AdworkMedia: http://www.adworkmedia.com/affiliate-publisher.php?ref=4614

AdScendMedia: http://adscendmedia.com/apply.php?refer=14289

CpaLead: http://www.cpalead.com/get-started.php?ref=154885

CPAGrip: https://www.cpagrip.com/admin/panels_register.php?ref=3447

Adgatemedia: https://panel.adgatemedia.com/r/6232

Hosting: You need a linux server with Php 7.0 , MySql (not in strict mode), Curl.
INSTALLATION STEPS

1) Create a Mysql database and a user with full privileges using Cpanel.
Take a note of the DB name, username and password.

See video tutorial http://video.siteground.com/cpanel-x3-voice/cpanel-x3-


createmysql.html

2) Create 2 subdomains like:

app.yourdomain.com (main files … Sign up, Login, Dashboard)


tr.yourdomain.com (tracking domain)

You can make anything you want … network.yourdomain.com and


tracking.yourdomain.com

3) Upload files adserver to app.yourdomain.com and upload files tracker to


tr.yourdomain.com

4) Run htp::/:/app.yourdomain.com:/install:/

Fill out the form with the requested info.


5) Once the script is installed (depending on your server speed it may take a few minutes)

run tr.yourdomain.com/install/
and enter SAME SQL Database that you used fore app.yourdomain.com:/install

if install is not working for tr.yourdomain.com(like 404 error) use the alternate
htaccess enclosed in folder of tr.

6) Once installed, delete folders /install/ in app.yourdomain.com and


tr.yourdomain.com
Then log in to admin (htp::/:/app.yourdomain.com) using the login info you created
when you installed the script.

Setup the email account in Preferences --> System Setngs

Then go to Manage tracking domain and change to htp::/:/tr.yourdomain.com:/tr

So if your domain is blabla.com set it as htp::/:/tr.blabla.com:/tr (or htps if you are using htps)

Go back to Preferences → System Setngs and insert those links:

Host: app.yourdomain.com
Postback: http(s)://tr.yourdomain.com/pbtr?transaction_id={}&goal={}&other_params

Impression Pixel: http(s)://tr.yourdomain.com/imptr/

Conversion Pixel: http(s)://tr.yourdomain.com/c_tr

Like this:

Your script is now setup.

Do not delete the default publisher account (it is needed to generate link) and it is system related.
Create a default advertiser account if you setup your own offers. If not, tracking click may not
work.

SETUP THE POSTBACK

Very simple. For any network it is

http(s)://tr.yourdomain.com/pbtr?transaction_id=CLICKID (aff_sub or s1 or #S1# or sub_id


etc...) the hash variable of the network
You need to replace CLICKID with the variable used by the network.

A few examples:

Maxbounty uses #S1# as aff clickid variable.


So the postback would be http://tr.yourdomain.com/pbtr?transaction_id=#S1#

HasOffers uses {aff_sub}as aff clickid variable.


So the postback would be http://tr.yourdomain.com/pbtr?transaction_id={aff_sub}

Peerfly uses %subid1% as aff clickid variable.


So the postback would be http://tr.yourdomain.com/pbtr?transaction_id=%subid1%

You need to find the variable used by the network and replace it in the postback url.

You might also like