microsoft / clarity

A behavioral analytics library that uses dom mutations and user interactions to generate aggregated insights.
https://clarity.microsoft.com
MIT License
2.06k stars 203 forks source link

Use Clarity for SPAs (Vuejs) #95

Open theogilardo opened 3 years ago

theogilardo commented 3 years ago

Hello, I am trying to install Clarity on my app, a SPA built with Nuxt.js. Since it is a SPA, all the resources required to navigate through the website are loaded on the first page load. The application will often update the URL in the address bar to emulate traditional page navigation, but another full page request is never made. Therefore, the snippet code is run only once for the first page which is not very convenient.

Is there a way to update the Microsoft Clarity tracker manually? That way, each time a route changes, I would update manually the tracker and get data on the page the user is actually browsing in.

alessandro-riz commented 3 years ago

I've the same problem on a emberjs app

elliothogg commented 2 years ago

Any update on this issue?

RenPaw commented 2 years ago

Any update on this issue?

nargespms commented 2 years ago

Any update on this issue?

squpshift commented 10 months ago

Hello?

ender336 commented 5 months ago

Clarity should be marking pages in SPAs when the url changes (even if another server request isn't made). If you have specific issues with that not working can you clarify?