If I create a tag which is triggered on 'page view' in GTM, can I push data to this tag after the tag has been fired?
This is the event type I'm using (page view)
<script>
window.dataLayer = window.dataLayer || []; //dataLayer object is instantiated
</script>
<script>
var data = {page data, user data etc.}
dataLayer.push(data);
</script>
<script>
GoogleTagManager container code
</script>
// Will dataLayer.push(moreData) get caputured in the page view event?
It's my understanding that using dataLayer.push will update the dataLayer on events, however as the pageview event fires on the pageview, it means only information in the dataLayer before the GTM container code is captured in this event.
Is this correct, or can I use dataLayer.push to update the pageview information?