| CakePHP Official Site · Rules and Regulations |
Help
Search
Members
Calendar
Shoutbox
|
| Welcome Guest ( Log In | Register ) | Resend Validation Email |
![]() ![]() ![]() |
| Terminal13 |
Posted: Jun 9 2008, 07:50 PM
|
||||||
![]() Advanced Member ![]() ![]() ![]() Group: Super Moderator Posts: 767 Member No.: 275 Joined: 11-March 08 |
Because I always want to tracker my visitors, but also the ones without Javascript I created this simple element to include the Analytics code at any time.
The script is based on an existing script explained here. /app/view/elements/analytics.ctp
/app/views/layouts/default.ctp (or any other layout)
/app/app_controller.php
Although this isn't really a tutorial I hope this will help you all out Terminal13 -------------------- We're about what web 2.0 is about
- personal blog: http://johan.notitia.nl/ - Codebase & Tutorials: http://forum.notitia.nl/ (Dutch) - my work: http://www.wonders.nl/ |
||||||
| Stickymaddness |
Posted: Jun 10 2008, 07:18 AM
|
![]() Advanced Member ![]() ![]() ![]() Group: Moderator Posts: 183 Member No.: 117 Joined: 23-November 07 |
That's pretty cool, nice one!
I sure this will come in handy for a few people! -------------------- |
![]() |
![]() ![]() ![]() |