Mobile app version of vmapp.org
Login or Join
Connie744

: Single Page Application: Analytics Broken For Paid Traffic I am struggling with an issue and can't find a solution online, so I am hoping you can help us out here :-) For our event location

@Connie744

Posted in: #BounceRate #SinglePageApplication #Tracking

I am struggling with an issue and can't find a solution online, so I am hoping you can help us out here :-)

For our event location booking platform, which is iteratively upgraded to a ReactJS application. Currently the single page application should be involving two different page types: filter pages and provider pages (links are examples). The usual user journey makes the user switch between filter and provider pages quite frequently, thus we would like to prevent new page loads whenever it happens.

We tried the history change event for not messing with our analytics.

First we had this passively configured into the tag manager for every URL change. This seemed to work out great for filter pages alone (for when the user uses filters). As soon as involved the provider pages into the SPA, this happened to our analytics though (active from 29th to 2nd):



A similar pattern could also be seen for other metrics.

Since this is obviously a problem, we switched the react routing between both site types off again and implemented a different approach. This time we pushed the history change event instead of having it attached to the pageview event that we push on every page view. Sadly though, we encountered the same issue.

Now we are pretty lost about what might cause SEA traffic to not be tracked correctly anymore. Does anyone have an idea what might be going wrong here?

PS: In case this is important: We are currently still running two GTM containers for legacy reasons - in this instance we only care about GTM-5GX5BDH.

10% popularity Vote Up Vote Down


Login to follow query

More posts by @Connie744

0 Comments

Sorted by latest first Latest Oldest Best

Back to top | Use Dark Theme