Adding Order Tag within Line Item Script

New Member
1 0 1

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?