SPA tracking without using Launch?!

Avatar

Avatar

clairea39507456

Avatar

clairea39507456

clairea39507456

18-08-2020

We use the old JS method of implementing analytics. (I know, we should be using Launch! But we're not there yet!) 🙂

We're creating a new SPA mini-function on the site, and I need to be able to track each iteration of the screens. Previously for SPAs we have imported a part of the URL into the s.pagename, but for this SPA the URL will not change between screens. 

Help!? 

View Entire Topic

Avatar

Avatar

kainth

Avatar

kainth

kainth

18-08-2020

Hi @clairea39507456,

If I have understood correctly, you are looking for ways to capture the page name because the URL is not changing. So, I will suggest you to create a custom event & fire that event when the screen changes. Also, capture the variables and events and then fire s.t() or s.tl() call.

Hope this helps.

 

Regards,

Abhinav