Monday, June 26, 2017
Home Code

Code

A place for code php, ruby, javascript, jquery, html, css etc.

Coding PHP for Affiliates | A Getting Started Guide

Coding for me is one of the most important skills you can have as an affiliate marketer. I've met plenty of affiliates that are running huge volume, making millions and can't...

Loading a conversion pixel on click through

Mobile campaign optimisation throws up a number of issues in regard to tracking. One thing I've found really useful is to load a conversion pixel on click through from the landing...

Ruby & Selenium Script to Check Google SERP ranks

Haven't used this in a while but it used to work really well untill google would throw a captcha at you after the first 5000 queries. Might be of use to...

Custom Facebook Share and Twitter Tweet Buttons as WordPress Widget

The following is the php code to make your own dynamic Facebook share and Twitter tweet buttons. Just place the images in the root directory and install the Samsarin PHP widget....

Rotating Offer Pages and Landing Pages in Prosper202

It is really easy to setup rotation of urls in Prosper but if you actually want to track which url is doing better or you want to test different landing pages...

UK Postcodes for major cities

This is useful for PoF advertising. A list of postcodes (Zip Codes) for major cities in the UK. Can be used for all sorts of other uses, as you can see...

Automatic backup of MySQL database

Would you like to have a backup of your critical MySQL database emailed to you automatically? The following script was moified from backup2mail and needs setting up as a cron job, instructions...

A simple floating feedback/support button

It can be very useful for online businesses to collect feedback from their customers. This gives us priceless insight in to their wants, needs and problems. One quick way to start...

Passing Through Landing Page Variables

This was inspired by another post which is well worth a read at: http://affplaybook.com/blog/affiliate-marketing/the-ultimate-guide-to-landing-page-tricks/ So many traffic sources provide you with tags such as {keyword} {countrycode} {device} etc. You can add these variables to...

Pop Under Code 2017

This code is used for running pop under traffic on your own site. It adds an onclick function to every link on the page which opens a new tab with the...