clarity icon indicating copy to clipboard operation
clarity copied to clipboard

Use Clarity for SPAs (Vuejs)

Open theogilardo opened this issue 4 years ago • 6 comments

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.

theogilardo avatar Feb 01 '21 16:02 theogilardo

I've the same problem on a emberjs app

alessandro-riz avatar Feb 02 '21 07:02 alessandro-riz

Any update on this issue?

elliothogg avatar Sep 08 '21 11:09 elliothogg

Any update on this issue?

RenPaw avatar Sep 24 '21 06:09 RenPaw

Any update on this issue?

nargespms avatar Mar 09 '22 10:03 nargespms

Hello?

squpshift avatar Oct 13 '23 01:10 squpshift

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?

ender336 avatar Apr 03 '24 17:04 ender336