johnsmith153 Posted July 15, 2012 Share Posted July 15, 2012 I want to add one record to a table on every request which will store various information about that request. I use a server-side mobile detection script which serves a CSS stylesheet depending on the device (if mobile or not), so I would like to store info as to which devices are accessing the site as well as other data. I also have requests for native mobile apps using the same scripts (every request to the mobile website, desktop website and mobile apps goes through one index.php page). Is this ok, or is it likely to cause any slow-down? I guess Google Analytics (which I have never used) will make an Ajax request to the Google servers, causing more or less no slow-down for a site. I think the reason I prefer my own method than Google Analytics is: (a) I currently don't need to use Google's advertising services (b) I can store details of PHP variables such as the mobile-detect results without passing them to JavaScript which I'm guessing Google Analytics would need. © Mobile app requests can also be included in my script Based on all that, should I store the details server-side on my server and forget Google Analytics? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.