Hi guys!

Quick question regarding best practices to push GA virtual pageviews on website interactions. When I use the dataLayer.push method, should I use a different data layer variable name to define the virtual page name? 

For instance, let’s say on the data layer populated on page loads I have 'page_name': '/page-A'. If I then push on the same page 'page_name': '/page-B', will GTM take into account the page A or B?

Thanks for your help,

Florian
Shared publiclyView activity