Trade Pulse > Trade Pulse Support

Wordpress & Trade Pulse Setting up

(1/8) > >>

ip0li:
Many of clients asked me how to use Trade Pulse with toplist so here is short how-to which will cover how to track incoming traffic and all clicks:

1) Install Trade Pulse & Wordpress, tweak everything what you need ;)


2) Open your current theme header.php file (usually found in wp-content/themes/THEMENAME/header.php location)


3) Add this code between <head></head> tags:
--- Code: ---<?php virtual("/tp/ssi_in.php")?>
--- End code ---
, if it doesn't work(ons ome hosts ONLY) use this:
--- Code: ---<?php include("/full/path/to/tp/ssi_in.php")?>
--- End code ---
then add this just after the start of <body> tag:
--- Code: --- <img src="/tp/img.php" width="0" height="0" style='display:none;border:none'>
--- End code ---

This code will track your incoming traffic and execute TP cron


4) Go to http://jquery.com/ and download latest version, upload it to yourdomain.com/js/jquery.js


5) Add this code between <head></head> tags:
--- Code: ---<script type="text/javascript" src="/js/jquery.js"></script>
--- End code ---

This code will include jquery library.


5) Add this code between <head></head> tags:
--- Code: ---<script>
jQuery(document).ready(function(){
jQuery("a").click(function(){
url=jQuery(this).attr('href');
jQuery(this).attr('href','/tp/out.php?p=100&link=click&url=' + escape(url));
});
});
</script>
--- End code ---

This code will make all clicked links go through Trade Pulse, it's 500% SEO friendly and it works just for JAVASCRIPT enabled users.


How to test if all works?

Leave some traffic through your blog and within couple minutes you should see INCOMING traffic in index stats and under links statistics you should see links with name CLICK.

How U liked this? Show us sites you implemented it on...let me hear some comments!

Freedoom:
I did this and it didn't work... It still not counting the hits. Any thoughts?

ip0li:
Send me PM with your site url and tp login info, thnx

Freedoom:
PM sent

cPimp:
Just so you know, this doesn't seem to work with other scripts. I am working on a media scripts installation that doesn't have a place to push clicks thru trade pulse, its htaccess is such a disaster that if you touch it it breaks, and you cant include the necessary files in the header or else it breaks the site as well. So my suggestion is if you want to trade traffic don't pick mediascripts.com scripts for it!

Navigation

[0] Message Index

[#] Next page

Go to full version