Trying to achieve content grouping in mobile site which is SPA.
The scenario goes like this: When I am visiting a PDP page for the first time, category variable is set and this is sent to content groups in Universal Analytics Tag. If after this I go back to the homepage, the category variable doesn't update and homepage is also grouped under the same content group of previous PDP page.
This variable only updates when I visit another PDP page.
I am using a custom event PageLoad to mimic the pageView event. Just want the data layer varaibles to refresh within the consecutive PageLoad event.
Thanks