Answered by:
google analytics

Question
-
User-309557751 posted
hi
How to include google analytics in our website. I need Asp code for that
Wednesday, April 3, 2013 12:29 AM
Answers
-
User-448512826 posted
Hi,
you need some javascript code like
<script type="text/javascript"> var gaHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); </script> <script type="text/javascript"> var pageTracker = _gat._getTracker("UA-code-1"); pageTracker._trackPageview(); </script> </body> </html>
details..
http://www.mikesdotnetting.com/Article/119/Displaying-Google-Analytics-Data-in-ASP.NET
http://www.codeproject.com/KB/webforms/GoogleAnalyticsGridCounte.aspx
http://www.akamarketing.com/blog/103-introducing-google-analytics-api-with-aspnet-c.html
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Wednesday, April 3, 2013 1:09 AM -
User1428336426 posted
You will not able to see any change on the website...You can just login to google analytics and track the visitors on your website...Analytic tracking code will enable you to track the visitors and will not change anything on website.
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Thursday, April 4, 2013 12:21 AM
All replies
-
User-42918493 posted
Google analytics is a javascript code.... Just add that before </head> tag...
Sign Up here and get your analytics code here http://www.google.co.in/analytics/
Wednesday, April 3, 2013 12:38 AM -
User1428336426 posted
Google analytics code is a jquery/javascirpt which you can embed to any kind of web page of your project///It is not available in other languages like asp or so..
You can Login to www.google.co.in/analytics/ with your gmail id and password..Ther you can add your website and get the code.
Wednesday, April 3, 2013 12:41 AM -
User-448512826 posted
Hi,
you need some javascript code like
<script type="text/javascript"> var gaHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); </script> <script type="text/javascript"> var pageTracker = _gat._getTracker("UA-code-1"); pageTracker._trackPageview(); </script> </body> </html>
details..
http://www.mikesdotnetting.com/Article/119/Displaying-Google-Analytics-Data-in-ASP.NET
http://www.codeproject.com/KB/webforms/GoogleAnalyticsGridCounte.aspx
http://www.akamarketing.com/blog/103-introducing-google-analytics-api-with-aspnet-c.html
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Wednesday, April 3, 2013 1:09 AM -
User-309557751 posted
Google analytics code is a jquery/javascirpt which you can embed to any kind of web page of your project///It is not available in other languages like asp or so..
You can Login to www.google.co.in/analytics/ with your gmail id and password..Ther you can add your website and get the code.
I just copy paste the tracking code java script into my website page. But nothing happening
Wednesday, April 3, 2013 5:10 AM -
User1428336426 posted
You will not able to see any change on the website...You can just login to google analytics and track the visitors on your website...Analytic tracking code will enable you to track the visitors and will not change anything on website.
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Thursday, April 4, 2013 12:21 AM -
User-448512826 posted
have you try my suggestion..?????
Thursday, April 4, 2013 12:34 AM