App reviews, troubleshooting, and recommendations
Hi all!
I'm trying to build an app that shows the revenue generated by the app (e.g. items that are added to the order because of the app) and also bill the user by the extra revenue. I see some apps does this but I cannot figure it out.
I know I can get the order data from graphql endpoint or webhook subscription, but how do I tag the order to show that the order/item is the result of my app?
Thanks in advance!
Solved! Go to the solution
This is an accepted solution.
so assuming you are going to build a upsell / crossell app, and assume you like to tag the item that the user added to cart using your app generated "add to cart" element.
to do that please use product "properties" (more here -https://shopify.dev/docs/api/ajax/reference/cart#post-locale-cart-add-js) with some unique text. so when someone add to cart item from your app suggested, then the property will be there, after fullfill the order, you can track that.
This is an accepted solution.
so assuming you are going to build a upsell / crossell app, and assume you like to tag the item that the user added to cart using your app generated "add to cart" element.
to do that please use product "properties" (more here -https://shopify.dev/docs/api/ajax/reference/cart#post-locale-cart-add-js) with some unique text. so when someone add to cart item from your app suggested, then the property will be there, after fullfill the order, you can track that.
Thanks so much! This will solve the issue of tracking the item that is directly added via the app.
So for tracking the second step conversion (e.g. user clicks one of the product from my app and then buys the item), I should use https://shopify.dev/docs/api/ajax/reference/product-recommendations#tracking-conversions-for-product... right?
Discover how to increase customer engagement on your store with articles from Shopify A...
By Jacqui Apr 23, 2025Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025