Does Application Insights detect referrer URL tracking?

It seems that I looked and searched everywhere, but I could not find a single graph or report with the data of the referrer traffic. I use the latest version, which stores data on the Azure Preview Portal. In the old representations of applications (which were in VS Online) there was this data.

Does anyone know if and where it can be found on the new portal?

Thanks in advance!

+6
source share
2 answers

We do not have native support for the url. As a workaround, you can add a custom property for each JS-SDK air call you need (e.g. trackPageView). You will need to set the property value yourself. I checked that this works:

appInsights.trackPageView(null, null, {urlReferrer: document.referrer}); 

The first two zeros force us to automatically set the name and URL of the page. The third parameter is a custom property object. Then you can group "urlReferrer" on the portal.

+10
source

There is a property called "Referral URL" so you can segment your chart or pageview grid. In the Metrics Explorer, Add Chart => Select View Page Metric => Enable Grouping On => select the link to the referral URL of the page.

+1
source

Source: https://habr.com/ru/post/984161/


All Articles