Onlangs heb ik een statistieken script op mijn magento shop server gezet.
Maar om deze volledig werkende te krijgen moet ik nog iets toevoegen in Magento zelf.
Helaas weet ik niet waar of hoe.
<noscript><img src="http://www.example.com/stat/track.php?mode=img" border="0" alt="” width="1" height="1"></noscript>
If you use XHTML code in your site, add a “ /” at the end of the existing image tag. ( ...height="1" /> )
Please be aware that you change the domain path to your own server. You got to put the full external path to your track.php in that.
The fact that the path to your tracking scripts is an external one, gives you the possibility to log all sites that are placed in other subfolders on your server.
Including into pure PHP Sites
We deliver the stat with the following php file “config/tracking_code.php”. This file you can use as a smart template for including the tracking code into your site.
Now you are finished with the installation and you can check if everything is working correct. Open a browser and call the index.php.