Google-Analytics and WhosOnCFC
It would appear GA works almost too well sometimes. I have noticed WhosOnCFC getting reset quite often. Since I generally come up with outlandish URL parameters to reset WhosOnCFC the chances of someone actually guessing the URL string is very slim. Half the time I do not remember it myself. You can imagine my surprise seeing it reset.
Well, GA did not have to worry about guessing it since it was tracking activity on the site as well. Every time I passed a new URL param, it would see it and then send out a crawler every so often, hence my (or our) problem.
There are several ways to address the problem, but I decided on just making a plain page and deleting the object like so:
Now when I need to reset, I just go directly to that page and the component will be reinitialized the next time a regular page is loaded. Also, I removed the URL parameter from application.cfm so no more errant bots could reset the component.
On a slightly related note, the code on RIAForge has been updated to include the fix for the issue I reported last week.



There are no comments for this entry.
[Add Comment]