1

I have a personal portfolio website that I have hosted on azure as an azure static website. Now I just wanted to know is there anyone visited my website or not. How can i do that. Thanks

Tayeb Himel
  • 306
  • 2
  • 15

1 Answers1

1

Now I just wanted to know is there anyone visited my website or not. How can i do that.

There are two ways you can do that:

  1. Enable Application Insights: You can enable Application Insights for your static web application hosted as a Single Page Application in Azure Storage. You can read more about it here: https://learn.microsoft.com/en-us/azure/azure-monitor/app/javascript.

  2. View Storage Analytics Logs: Though not a very user friendly way to see the activity performed on your static website, but you can view the storage analytics logs to view the operations performed on blobs (essentially the files) in $web blob container (your static website is hosted in this blob container. You can read more about storage analytics here: https://learn.microsoft.com/en-us/azure/storage/common/storage-analytics

Gaurav Mantri
  • 128,066
  • 12
  • 206
  • 241