Good morning :wave: . I have been trying to get p...
# ask-questions
h
Good morning 👋 . I have been trying to get purchase goals enabled for A/B tests on A shopify site using the Managed warehouse. I made a pixel that pings the API, and when I run a test version of that code I see the data flowing into the data warehouse. But it is not tying itself to the test and I can't figure out why. Is there any official documentation on how to get purchase goals utilizing the data warehouse? Or maybe if not I could post more information on my setup to help with some debugging? Thanks!
f
Hi @high-state-96594 👋 Yes, this is supported with Managed Warehouse. The likely issue is the identifier used to join the purchase to the experiment exposure. Please check that: • An Experiment Viewed event exists for the experiment • The purchase event contains the same identifier used for assignment • The purchase metric uses the Events Fact Table and matches the exact event name • The metric has been added to the experiment
h
Thank you for the help! -For experiment viewed would any of these default goals count? -For identifier what should I be looking for in the json? -I believe it should be -Metric I can confirm it has been added. Is there documentation or a default Pixel and steps I can follow? I've gotten all the other goals working but I'm really struggling to get this goal working due to the nature of checkouts in Shopify.
f
Thanks Joseph! The screenshot confirms that experiment exposure tracking is working. Your purchase must carry the same identifier as the existing experiment exposure. If you’re using the default Shopify/HTML integration, that identifier is normally the
gbuuid
cookie. Your purchase payload should contain it under
attributes.device_id
Please, can you make sure that the
Purchase Completed
exactly matches the event filter used by your metric? The first thing I’d test is whether
browser.cookie.get("gbuuid")
returns a value during checkout. If it’s empty, that explains why the purchase is stored but cannot be joined to the experiment. There isn’t currently a GrowthBook-provided Shopify purchase pixel template