How can I tag orders using Line Item Script for better discount tracking?

We are using Shopify Scripts to create Gift and Bundle discounts, but are finding it inconvenient to evaluate the results of our promotions. I’d love to be able to add code within the Line Item Script to tag the orders that use it so that we would have a clear image of how often the discounts are used (without having to export orders).

Any ideas what this would look like?

4 Likes

Same, this would be very helpful.

Anyone have any thoughts here? Can we do this directly within the script or would we need to set up a shopify flow to apply order tags?