
Announcements
Hi All,
I want to log custom events to application insight for example, I would like to track how many times a button is clicked on a certain page. How can I do this?
This is the only blog I could find but in this blog, it wasn't explained on how to deal with custom events.
I already created an application insight in Azure.
Thanks for your help!
Hi @bssienes,
To find out how you can add App Insights to the Power Pages you can check my blog post. Regarding tracking custom events - you can use TrackEvent function in App Insights. You can find more about it and other functions in this official doc.