Adding Analytics to Azure Web Sites

Play Adding Analytics to Azure Web Sites


Scott and Chandrika add the new Analytics JavaScript to one of Scott's production sites running within Azure and then explore the resulting data within the new Azure Portal.

Areas covered in this video:

  •  Analytics on the Azure Portal
  •  Add JavaScript to set up analytics
  •  View analytics from Scott's web site
  •  Drill down into specific issues exposed by analytics
  •  Monitoring verses analytics
  •  Alert rules

Useful topics and links:



The Discussion

  • User profile image

    Finally !!!! I have been looking for the answer to the question: what is the equivalent of "google analytics" for Microsoft :)

    QQ: can i use the JS script for a website in a different domain?

  • User profile image

    @jlcard. Yes. 

    Also check out Application Insights on Visual Studio Online. Currently what is exposed in the Azure Portal is a tiny bit of its capability. 
    You can instrument your code to expose any metrics you desire. Including A/B testing. ie: Exactly what did they click on & how long did they look prior to clicking. Avg Price of each order etc. 

    It also gives you complete stack trace & can link it to a specific build of your code to help step thru debug your production code even if your developers are working on a much later build. 



  • User profile image
    Shawn de Wet

    I've just created a new AzureWebSite, but the Analytics block in the blade for this website does not provide a link to the script that I need to insert.
    Why is that?

  • User profile image
    Beyers Cronje

    I have the same problem as Shawn, the Analytics block for two of my websites does not open or provide a link. Any idea?

Conversation locked

This conversation has been locked by the site admins. No new comments can be made.