Campaign names on orders (also called order attribution) lets Discounty record, on each Shopify order, which Discounty campaign applied to it, so you can see which campaign was used on an order without leaving Shopify. It is optional: you choose whether to give Discounty the permission it needs.
What Discounty adds to an order
When a Discounty campaign applies to an order, Discounty writes a "Discounty campaigns" order metafield on that order in Shopify. It has one entry per campaign that applied, with the campaign's ID, type and name.
Only the campaign ID, name and type are added. No customer data is shared.
Orders that no Discounty campaign applied to are left untouched.
Discounty adds this information to new orders once Campaign names on orders is Active.
The permission Discounty needs
To add this information to an order, Discounty needs an optional permission from Shopify to edit orders (write_orders). Until you give permission, the Campaign names on orders card on Home shows Off and nothing is added to your orders. Giving permission is your choice and you can do it at any time. Discounty only adds the campaign name and never changes anything else on the order.
Option 1: Give permission from the Home card
On Home, open the Store setup section. On the Campaign names on orders card, select Give permission to continue to Shopify's permission request. Once you approve it, the card shows Active and you see "Campaign names will show on new orders".
Option 2: Give permission from a banner
While the permission isn't granted, the banner "See which campaign was used on each order" can appear on Campaigns (once your store has at least one campaign), Analytics and each campaign's analytics page. Select Give permission on the banner to open Shopify's permission request. The banner disappears once Discounty confirms the permission. If you'd rather not see it, close it with the × — it stays hidden on every page, and you can still turn this on anytime from Home.
How do I check whether Campaign names on orders is on?
Open Home and look at the Campaign names on orders card in Store setup. Active means new orders show the Discounty campaign that was used on them. Off means the permission hasn't been given.
How do I remove the permission?
You can remove the permission at any time in Shopify admin. After that, the Campaign names on orders card on Home shows Off and Discounty stops adding campaign info to new orders. You can allow it again whenever you like.
What if Campaign names on orders doesn't turn on?
"Permission wasn't granted. You can enable this anytime."
You declined Shopify's request. Nothing was added to your orders. Select Give permission on the Campaign names on orders card on Home whenever you want to try again.
"Couldn't open Shopify's permission request. Please try again."
Shopify's request didn't open. This is not the same as declining. Select Give permission again.
"We couldn't confirm the permission with Shopify."
Discounty couldn't confirm the permission after the request. The Campaign names on orders card on Home shows "We couldn't check this with Shopify." Select Try again on the card.
"Open Discounty inside Shopify admin to grant this permission."
The permission can only be requested while Discounty is open inside Shopify admin. Open Discounty from your Shopify admin and follow the steps above.
Does Campaign names on orders share customer data?
No. Only the campaign ID, name and type are added to the order. No customer data is shared.
Need a hand?
Contact our support team through the app — we're happy to help.