Hello!
I’m currently building a store using Hydrogen V2.
It’s a perfume store where we are implementing a quiz in order to get recommended products based on your favorite scents.
I’m wondering what the best way would be to track which orders were made from the perfume quiz’s recommendation?
I was thinking using a referral in the product url but it must be a better way?
It needs to be relatively quick to get a number of the amount of orders (conversion rate) from the perfume quiz.
Thank you in advance.
One quick thought is using cart/order attributes or maybe even line items properties. I use them for things like that all the time. Just need to remember to remove them if the items are removed from the cart so there’s no false positives…
Yeah, line item attributes seems best because we might want to track which product was bought from the quiz.
Quick question however; if using line item properties, we don’t need to remove anything when the user takes the item out of their cart, right? That’s only if we want order or cart attributes?
Thank you for the response.
Absolutely right, when they remove the item(s) in that case the line item properties go with them.