How to track conversion that occurs after visitor interacts with theme app extension?

I run a quiz app. At the end of the quiz , visitors are showed one or more products they can add to cart.

I want to have a analytics section on my app, where users can see how much revenue they have generated through the quiz?

How exactly do I go about tracking if the visitor who took the quiz ended up buying the product in a 30 day window?

You’ll probably want to pass some hidden line item properties against the variant when being added to cart so you can identify them.

1 Like

I tried adding line item like this on add to cart -

{
        id: variant.id,
        quantity: 1,
        properties: {
          utm_source: "BundleGiant_QuizCompleted",
        },
      }

but it doesnt show in the response from webpixel when the visitors buys the product.

@Sumanth_Jois i haven’t seen a way that the “properties” actually show on Web Pixels … did you get this to work as checkout_completed outlines?