Zen Cart Logo
Forums / Basic Configuration / Adding Tracking to my site

Adding Tracking to my site

Locked

Views: 885

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
22 Sep 2010, 1:40 AM
#1
jefftew avatar

jefftew

New Zenner

Join Date:
Jul 2010
Posts:
66
Plugin Contributions:
0

Adding Tracking to my site

I would like to add a 3rd party tracker to my site using the code that they supply.
I have the code (Included below), but it seems that every time I add it to the index.php in the /includes/languages/english section, it makes it so the site will not load.

Here is the code, blanked for security reasons:

*<div id="eXTReMe4"><a href="http://extremetracking.com/open?login=XXXXXXXXXX">
<img src="http://t1.extreme-dm.com/i.gif" style="border: 0;" height="38" width="41" id="EXim" alt="eXTReMe Tracker" /></a>

<script type="text/javascript"><!-- EXref="";top.document.referrer?EXref=top.document.referrer:EXref=document.referrer;//--> </script><script type="text/javascript"><!--

var EXlogin='XXXXXXXXX' // Login
var EXvsrv='s10' // VServer
EXs=screen;EXw=EXs.width;navigator.appName!="Netscape"?
EXb=EXs.colorDepth:EXb=EXs.pixelDepth;EXsrc="src";
navigator.javaEnabled()==1?EXjv="y":EXjv="n";
EXd=document;EXw?"":EXw="na";EXb?"":EXb="na";
EXref?EXref=EXref:EXref=EXd.referrer;
EXd.write("<img "+EXsrc+"=http://e1.extreme-dm.com",
"/"+EXvsrv+".g?login="+EXlogin+"&",
"jv="+EXjv+"&j=y&srw="+EXw+"&srb="+EXb+"&",
"l="+escape(EXref)+" height=1 width=1 style='display:none'>");//-->
</script><noscript><div id="neXTReMe"><img height="1" width="1" alt="" src="http://e1.extreme-dm.com/s10.g?login=XXXXXXXXXXX&j=n&jv=n" />

</div></noscript></div>*

I don’t know if this is the best one to use, or if there is a better service/product to use.
(I have not been able to get the Google Analytics installed properly, and went away from that for the time being.

Am I trying to put this in the proper place? (I come from an ASP cart previously, and there it was simple to place in the ‘footer.asp’ when needed.
Is there a better place for this?
Is there a better code or something to use?

Is there any help someone can provide for me, or a point in the proper direction so that I can either use this, or something that may be better or easier to use/install.

Thank you,
Jeff
https://www.oaktreeseed.com

Site: https://www.oaktreeseed.com
Zen Cart: v1.3.9b (Clean install, no upgrade, only template added.)
Host: GoDaddy.com – Premium, Distributed Hosting
Addons: No addons other than what came out of the box (GoDaddy) and the EZPopulate that I am asking about
Customization: Nothing more than the template, some box sizing, and standard changes for esthetics. (I have not changed the /admin/ folder as yet, the site is not up and running live until 30SEPT0)
Started: Immediately following the installation of EZ Populate v1.2.5.4

22 Sep 2010, 2:54 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Adding Tracking to my site

I have the code (Included below), but it seems that every time I add it to the index.php in the /includes/languages/english section, it makes it so the site will not load.
Should not be in a language file...
Try in a copy of /includes/templates/template_default/common/tpl_footer.php
Place edited in your current template in a /common folder or create one if your template does not have one