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?
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