View Full Version : PHP page tracking~
goodss
07-23-2005, 02:04 AM
It would be wonderful to have php page track. So, he popular-page counter can count the pages that are generated by PHP~THX
webado
07-23-2005, 02:15 AM
You can insert it in the script or scripts the create the html which is ultimately rendered. Just figure out where the <body> and the </body> tags come from and find a good spot in between to insert the code.
I have most of my pages genereated by php and have Stactcounter code on all of them.
CaribbeanChoice
07-23-2005, 04:02 AM
The StatCounter code will work on any page that renders HTML, including pages made with PHP, ASP, Perl, MivaScript, Java, JavaScript, etc.
webado
07-27-2005, 03:54 PM
Is your shopping cart on your website or remotely hosted?
You proceed the way you would do any customizations too page footers.
If you don't have any funciton to allow cutomization, then you have to have all the html and php files that constitute your website downloaded onto your pc so you can search through all the files and edit what you have to edit.
Anything remotely hosted you cannot touch this way.
As I said, you have to find where any of the php scripts generate the </body> tag, and insert it above there.
The term php page generally is misleading. It will be a main php script that includes many other php scritp and each can also have large portions of html code. Together they render html code which shows up as a page on the screen, and the address in the address bar is that of the main php script that generated all of it. Viewing the source code of a displayed page all you see is the generated html code, never the php scripts involved.
vBulletin® v3.8.5, Copyright ©2000-2013, Jelsoft Enterprises Ltd.