Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Javascript/noscript toevoegen
 
Stekke_stim
Jr. Member
 
Total Posts:  8
Joined:  2009-07-26
 

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.

Dit komt uit de handleiding van het statistieken script

To assure the correct working of the stat, you got to include a double line of JavaScript/NoScriptTags in each site you want to track. Place the following code between the open and closing body brackets of your html files:

<script type="text/javascript" src="http://www.example.com/stat/track.php?mode=js"></script>
<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.

Is er iemand die mij kan helpen of in de goede richting sturen?

 
Magento Community Magento Community
Magento Community
Magento Community
 
J_T_
Mentor
 
Avatar
Total Posts:  1961
Joined:  2008-08-07
London-ish, UK
 

Magento Admin > System > Config > [Kies Scope] > General > Design > Miscellaneous HTML

Paste het daar, save, klaar is Kees.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Stekke_stim
Jr. Member
 
Total Posts:  8
Joined:  2009-07-26
 

Bedankt!

Nu werken men statistieken eindelijk.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top