Hi,
I’m thinking that we could implemenet of page/visitor logging system the same way google (and others) does their page logging.
http://www.google.com/analytics/
This would speed up Page generation.
A developer can log hits to a page by adding By making either the tag [[^Analyze]] or [[^A]] to a template. This would in turn render an image to the page
<img src="/index.php?page_analytics=on" width="1" height="1" />
Note: This would not generate analyze pages that do not use a template.
Any other ideas?
-
MODX Staff
- 12,272 Posts
Very cool. What logs the data?
I really think we should support slimstat (wettone.com) and Google Analytics. We should loose our current stats as they’re slow and resource intensive as all get out.
Ryan Thrash, MODX Co-Founder
Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
Quote from: rthrash at Nov 21, 2005, 09:54 PM
Very cool. What logs the data?
The system can be designed to log the data whenever index.php?page_analytics=on is accessed from the browser.
-
MODX Staff
- 12,272 Posts
OK... what will get logged and how? How will this be different than the current stats?
Ryan Thrash, MODX Co-Founder
Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
The info will only be logged after the page is generated and sent to the browser
-
MODX Staff
- 12,272 Posts
LOL... major communication gap here.
What info will get logged?
What code will do the logging?
Ryan Thrash, MODX Co-Founder
Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
It’s the same info as is now using the same logic. The difference here is that the log will only be updated when a browser navigates the page using the:
<img src="/index.php?page_analytics=on" width="1" height="1" />