Detect the Google Analytics Verifier Agent in C#
I have an MVC 3.0 website, which redirects visitors to the home page based on their UserAgent.
At the moment I have a catch-all redirection for all non-specific browsers which forwards across to a different domain - The trouble is this has made my Google Analytics verification redundant and it now tells me the code is not installed becaus开发者_运维百科e the page Google gets on visiting my site is incorrect.
Can anyone help me detect the Google Agent so I can return a simple page which confirms the presence of Google Analytics?
Thanks.
Just include the google analytics verification on every page.
精彩评论