technofou
11-30-2010, 08:46 PM
Hi there,
*I recommend checking this small schematic about the problem: http://www.imageupload.org/?di=13129114988015
I have a small question due to the fact that I only have moderate knowledge of PHP and JavaScript.
Currently I have one PHP file containing every content of my site, they are all getting called with the include function.
Problem is they are getting loaded even if the user doesn't click on the link; they get visible with JavaScript only when you click on the link.
I do not have any performance or organisation issue, but my main problem is due to the fact that Google Analytics can't record that anyone clicked on a specific link because they are all on the same page.
So, my solution is to add the Analytic code to each PHP include file and load them each time the user clicks!
Is it possible and how can I do this?!
Thanks!
*I recommend checking this small schematic about the problem: http://www.imageupload.org/?di=13129114988015
I have a small question due to the fact that I only have moderate knowledge of PHP and JavaScript.
Currently I have one PHP file containing every content of my site, they are all getting called with the include function.
Problem is they are getting loaded even if the user doesn't click on the link; they get visible with JavaScript only when you click on the link.
I do not have any performance or organisation issue, but my main problem is due to the fact that Google Analytics can't record that anyone clicked on a specific link because they are all on the same page.
So, my solution is to add the Analytic code to each PHP include file and load them each time the user clicks!
Is it possible and how can I do this?!
Thanks!