All things Shopify and commerce
Hi all, I'm looking for a way to fire a custom pixel/GTAG when a product from a specific vendor is in someone's cart at checkout. We have the Shopify Google app integrated sitewide for our products, but would like to fire an event for our vendor when their products are in someone's cart. Is that possible/can someone point me to an example of this?
I've tried using the checkout/order object in "additional scripts" in the past with no luck.
Thanks!
Hi @jfree64
Order object contains data regarding product id or variant id not about the vendor or type of product.
Now you can write some code to retrieve the product id using order object.
Using product id you can retrieve the vendor information then you can fire your event.
Hope this will help...
Don't forget to like and mark as solution if it worked or seems logical.
Willing to hire someone to impliment details are in BIO.
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024