The documentation you shared is the correct way to send Clarity any events you have, by calling window.clarity("event", "eventName")When we go to the website that was shared with us via email, we can confirm that you have the window.clarity object set, screenshot below. I realize we already said this in the response email. Could you share the context in which you don't have access to window.clarity? Is it perhaps on a specific page where you're not seeing it? Any page that has Clarity will have window.clarity available.
Using Clarity custom events with UET tag (no window.clarity object available).
Greg Robson
5
Reputation points
Hi,
We currently have a UET tag running on our website via our Microsoft Ads account - the Microsoft Clarity integration is enabled for it.
How do we (can we?) record Clarity events through the UET tag with this integration?
There's no window.clarity method we can call with this implementation. I've read the docs below that doesn't seem to offer anything.
https://learn.microsoft.com/en-us/clarity/setup-and-installation/clarity-api#add-custom-events
Many thanks for your assistance.
1 answer
Sort by: Most helpful
-
Kiraz from Clarity 0 Reputation points Microsoft Employee
2024-12-04T20:07:37.73+00:00