NCIOCPL / sitewide-search-app

App for Sitewide Search results pages
2 stars 0 forks source link

Name parameter in event tracking is not accounting for http protocol #126

Closed KateMashkinaNIH closed 1 year ago

KateMashkinaNIH commented 2 years ago

Issue description

Description of the issue Event tracking on every single view/component is sending a name parameter that only handles https protocols. name: canonicalHost.replace('https://', '') + window.location.pathname, - now this should probably be a regex to remove both http and https.

ESTIMATE TBD

Steps to reproduce the issue

  1. Look at all components/views that fires events

What's the expected result?

What's the actual result?

Additional details / screenshot

Related Tickets