-
Ensuring successful sending of GA4/Pixel events before handling purchases
We’re using
Google Analytics 4
andFacebook Pixel
to track visitors’ purchases on our site, but I’m struggling to figure out how to confirm that these metrics are properly sent before redirecting a visitor. How can I know if this info was properly sent out?Isn’t there a way to make sure all these are done properly? Like, when someone completes a purchase at checkout, we record the purchase event but we want to stay on the page until it’s fully recorded so that the web request isn’t cut off abruptly.
Just so you know, this is how we trigger these events:
gtag("event", "purchase", { ... }); fbq("track", "Purchase", { ... });
Log in to reply.