hiya guys well i want to add google analytics code into my phpnuke site to track it, iver added it to the index and some others after the php but it doesnt work, so how would i go about adding it into the phpcode of the index? thanks Jonathan
I"m not particularly familiar with PHPNuke but isn't it comprised of HTML template files (ie: footer.tpl, header,tpl, etc?). If that is the case you can just add the analytics code to the footer file and it will appear on every page.
do you place your code in between head tags? <head> Analytics </head> Code (markup): just like that.. well if yes.. try to read the help page of analytics.
The Analytics code has to be put at the very end of your page/footer file just before the </body> tag. Like this: <script src="http://www.google-analytics.com/urchin.js" type="text/javascript"> </script> <script type="text/javascript"> _uacct = "UA-xxxxxx-1"; urchinTracker(); </script> </body> </html> Code (markup): (But be sure to copy the exact code from your analytics account and not from this post as it also contains your unique tracking number)