Skip to content

Commit

Permalink
fix(rum): instrument options page (#796)
Browse files Browse the repository at this point in the history
  • Loading branch information
rofe authored Sep 4, 2024
1 parent bd61af8 commit b5626cc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/extension/options.js
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,11 @@ async function updateHelpTopic(helpContent, topicId, userStatus) {
}

// instrumentation
window.hlx = {
sidekick: {
location: window.location,
},
};
sampleRUM('sidekick:options:opened');
document.addEventListener('click', ({ target }) => {
if (['A', 'BUTTON'].includes(target.tagName)
Expand Down

0 comments on commit b5626cc

Please sign in to comment.