Page_viewed not returning any data

I’m trying to move to Google Tag Manager and custom pixel for a merchant. Have used this tutorial a handful of times and while it’s worked well in the past, at the moment I’m not getting any data returned back from page_viewed

At the moment, all other events are firing and returning data as expected, but for some reason page_viewed fires with no data returned.

Was wondering if it was because of customer consent, but in testing it appears everything is true and should be firing. This still also wouldn’t explain why other data (collection_viewed, product_viewed, product_added_to_cart are all firing and returning data).




This is expected behaviour - the page_viewed event doesn’t have any data to return. The URL can be accessed through context with context.document.location.

Gotcha. I think this just confused me in the sense that if nothing is returning, I’m not certain the pixel is properly sending since I can’t actually test the GTM data via the Google Tag Assistant