Script Pulse
		Trade Pulse => Trade Pulse Support => Topic started by: jermaine on September 04, 2010, 03:25:08 PM
		
			
			- 
				Hello i need some help to include this incoming traffic tracking into my site.
I place the code in the index.php in so many ways but anyway i have it. it just messup the whose site text gets bigger and thumbs vanish
so for now i can't  track incoming traffic.  my site is  running AVS Script so it uses .TPL files
ways that mess up the site
<?php include("/home/user/public_html/tp/ssi_in.php"); ?>
require 'tp/ssi_in.php';
include("/home/user/public_html/tp/ssi_in.php");
when i use those codes in my index.php 
this is how it looks when i view my source code in firefox  
<script language="javascript" type="text/javascript">
var d;
d = Math.floor(Math.random () * 10000);
document.write('<s' + 'cri' + 'pt language="JavaScript" src="/tp/filter.php?pro='+ d +'"></sc' + 'ript>');
</script>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
etc
</head>
so help would be nicely appreciated.
Thanks 
			 
			
			- 
				You need to ask support of content script for answer. Placing this code between <head> tags shouldn't make any problems at all!!!
			
 
			
			- 
				Is there a way to include the tracking code to  the htaccess? if who would i do it?
			
 
			
			- 
				ok i have integrate tradepulse into my site i use this code for tracking  {php}include("/home/user/public_html/tp/ssi_in.php");{/php} to my .tpl file it woks fine  now when i scroll over the thumbs on my site they dont rotate anymore. 
it's like the location of the images have change to this when i view image location http://www.mysite.com/tp/a_ft.php?rand=1212847/1.jpg
its supposed to be like this http://www.mysite.com/media/videos/tmb/12128/1.jpg
any idea why?
			 
			
			- 
				never mine i got it problem solved ;D