Closed brindasasi closed 3 days ago
do we have any decision on this ? @GCTC-NTGC/developers
as per the above linked doc
It isn't necessary to use the user's actual sign-in name. It only has to be an ID that is unique to that user. It must not include spaces or any of the characters ,;=|.
@gobyrne Is this something we could do? Should do?
@tristan-orourke I see this metric is already available in AppInsights. We might not need this. Here are the steps to see this report :
In the below screen shot see the entry from google.com
I've looked at refUri, and I believe it tracks how a user moves from page to page within our app, but not where they came from before arriving at our app. Brinda has a draft PR which I'll try on Dev to see if it works differently.
I haven't spent too much time in App Insights but our app service HTTP logs do have Referrer available as well.
We do have refuri already logged in. But I do see lot of undefined entries as well. Screenshot
Report dump Metrics.xlsx
The above is the last 90 days report. If we think adding another metric manually would help break down those undefined entries, I can go ahead with this PR to verify. Otherwise its a duplicate effort.
Btw, @tristan-orourke The first entry in @petertgiles's screenshot is actually from the gc jobs site. Look at the url in below screenshot of gc jobs
I was thinking about those undefined
s. I think it makes sense that most hits don't have a referrer. That would cover anyone typing in the URL, launching it from a bookmark, or launching it from link in an email, right?
yeah .. I combed through them through the http logs. Looks like genuine ones and we are good with that. Will close this ticket and my pr as not needed anymore.
🛠️ Tooling
We would like to know how users arrived on our site, ie whether the user came from GC Jobs, Google, or anywhere else.
🙋♀️ Proposed Solution
Pass the value of the Referer header to Azure App insights.
I think it might be done like this? https://learn.microsoft.com/en-us/answers/questions/254833/url-referrer-in-app-insights
✅ Acceptance Criteria
A set of assumptions which, when tested, verify that the debt tooling was properly updated and remains functional.