-
Troubleshooting GA4 Debug View and Network Tab Payload for Missing gtag Event Firing
Hey there! So, I was messing around with the GA4
view_item
Event in BigCommerce and thought everything went smoothly. The info is popping up just fine in the source code, but when I went to check the event over in the GA4 Debug View, it was like it had vanished – no event to be seen.I thought, okay, weird, let’s play detective. So, I pulled up Chrome Dev Tools and dove into the Network Tab payload. But guess what? Still no event – nada, zilch.
For clarity, here’s what the output was looking like straight from the page source, but I’m kinda stumped. Any ideas what’s going on?
<script> gtag("event", "view_item", { currency: "USD", value: parseFloat(2.4), items: [ { item_id: "9781645072485", item_name: "Alongside Jesus: Devotions for Teenagers", currency: "USD", discount: parseFloat(16.99), item_brand: "Drew Hill", price: parseFloat(2.4), quantity: 1, item_category:"Teen/Teen Books" } ] }); </script>
Log in to reply.