How does Giveaway Ninja track sales from a giveaway?
Quick answer
Giveaway Ninja attributes each Shopify order to one giveaway. When the order webhook arrives, it matches the order email to a participant in an active giveaway. With no match, the sale goes to the most recent active giveaway with Auto Sign-up turned on. Purchase rules then run and award entries for that order.
Key principle
Sales are attributed to one giveaway.
Want to see what this looks like in practice? Read how Shopify brands turn giveaways into revenue.
Precedence for attribution
When a Shopify order webhook arrives, Giveaway Ninja selects the target giveaway using this workflow:
- Creates a list of all active, non-expired giveaways
- Attempts to locate the user by matching the order email, or the discount code, with a giveaway participant
- The sale is attributed to the first matched giveaway
- If no user is found, the app will select the most recent active giveaway with AUTO SIGN-UP enabled
"Most recent" means the latest created giveaway that is enabled and whose end date is after today.
Orders placed before your giveaway started can still earn entries. See how to credit past Shopify orders with giveaway entries.
Order processing flow
- Order placed in Shopify.
- Webhook received by Giveaway Ninja.
- Giveaway selected using the precedence above.
- Purchase Rules evaluated and applied (entries per amount spent, product and variant rules, date boosters, and so on).
- Klaviyo event fired (optional): if the Advanced Klaviyo Integration is configured on the "Make a Purchase" entry action, an event is sent to Klaviyo. There you can set up a Flow using a metric trigger. You can change the event name in the "Make a Purchase" action. The default name is "Giveaway Ninja Order Entries".
Please note that you need to send at least one event to Klaviyo to view its JSON payload and structure. You can do this by sending a test event when you configure Klaviyo or the "Make a Purchase" action.
Use this event to email customers when they earn giveaway entries.
People also ask
What happens if a customer buys but never entered the giveaway?
With Auto Sign-up on, they're added to the most recent active giveaway and earn entries for the order. Without it, the order is logged as "no-user". See how purchase-based giveaway entries work.
Can one order count toward two giveaways?
No. Each sale goes to one giveaway. To pick winners across several giveaways, you can combine their audiences when you draw winners.
Can I credit orders placed before the giveaway started?
Yes. The Import Shopify Orders tool runs past orders through the same rules as live ones. See how to credit past Shopify orders with giveaway entries.
Can I send order entries to Klaviyo?
Yes. Turn on the Klaviyo event in the Make a Purchase action. The default event name is "Giveaway Ninja Order Entries". See how to email customers when they earn giveaway entries.
Still stuck?
Our support team is available 24/7 and always replies. Send us a message and we'll help you sort it out.