Hi all,
Working on stats for an app and site and currently don´t have a good, automatic way of getting site (public site) stats (visits) logged in the application and have thought about using a custom solution. My thought and the logic behind this is, performance wise, running a Aware IM process and calling a google analytics script COULD POSSIBLE BE (not sure) almost the same in terms of performance i.e. server load (Aware IM server VS google analytics server).
Please share thoughts or considerations about this solution and there are a couple of big questions if this solution could even be used.
Solution:
- Create BO SiteVisit with attribute SiteVisit (initial value 1). No other rules or attributes.
- Create a process "LogVisit" with rule "CREATE SiteVisit"
- Create a special Guest VP with no frames except "Main" and use a command in "Main" to start the process.
- Add a hidden iframe on site:
<div class="content" style="display:none;">
<div class="container">
<iframe src="http://XXX.XXX.XXX.XXX:XXXX/AwareIM/logonGuest.aw?domain=StatVp">
</iframe>
</div>
Results:
This solution correctly runs the process when the page is loaded and the iframe isn´t displayed.
Questions / Concerns:
- Will this solution work at all or am I just being crazy 🙂?
- Is the assumption server load in description above (Aware IM server VS google analytics server) SOMEWHAT correct?
- How would the performance of the Aware IM server be affected when running this process MANY MANY times during site high traffic/load periods?
- Anyone using the Guest Vp on a public facing site (and preferably on a page with a lot of traffic but that´s not necessary. ALL comments are appreciated), can you please share a comment or two on your experience using the Guest Vp?
- Any other thoughts, ideas, consideration? OR other ideas to achieve this in a better way?
Thanks in advance.