Need to integrate a visitor tracking system
| schulle4u | 
					 | 
			
|---|---|
| 
					 Hi,  
						I'm almost done building my first cotonti website. But now I need to include a custom php script and not sure how to do this. i know there's an option to allow php execution in pages, but since this is a script I need globally, this option probably is useless for me. I've played around with the template files and freetext variables, but this doesn't work. So is there a way to include a php file without the need of creating a plugin or something else that would over-complicate the task?   By the way, the script is a counter and visitor tracker. Cotonti has some stats functions, but I need/want something more extensive. The script has a text counter, but I don't need it to appear on the site, just the tracking feature is what I want. Using Cotonti 0.6.7 Steffen signature://doesnt.exist 
					 | 
			
| ez | 
					 | 
			
|---|---|
| 
					 Maybe GOOGLE ANALYTICS is an option ? 
						==- I say: Keep it EZ -== 
					 | 
			
| schulle4u | 
					 | 
			
|---|---|
| 
					 I rather prefer keeping such data on my own server instead of sharing them with third party companies, so Google is not an option I would choose. 
						signature://doesnt.exist 
					 | 
			
| Trustmaster | 
					 | 
			
|---|---|
| 
					 I'd recommend making a simple plugin using the global hook. It is really very easy and consistent way of script integration. 
						May the Source be with you! 
					 | 
			
| schulle4u | 
					 | 
			
|---|---|
| 
					 OK thanks, I'll have a look at it. Unfortunately I'm rather a end-user and not a developer, but we'll se how it works.  
						Steffen signature://doesnt.exist 
					 |