Store connections
Checkout types and custom checkouts
The checkout type under Settings › Store decides when an order counts as a purchase. Shopify checkout (or Website checkout) sends it when the order is paid. External / COD checkout sends it when the order is created, for cash on delivery and checkout apps that create the order after payment.
Steps
Open the store settings
Settings › Store, field Checkout type.

Settings › Store in the public demo (fictional store). Pick the type
Customers pay in your shop's own checkout: Shopify checkout (send Purchase when paid). Cash on delivery, or a checkout app such as Checkify that creates the Shopify order: External / COD checkout (send Purchase when order is created). Click Save.
You should see: "Saved." New orders follow the new rule.
External checkout on Shopify: add its snippets
For a Shopify store with an external checkout, the setup page shows a header script and a thank-you snippet for that checkout (for Checkify, under its custom scripts). The thank-you snippet fires the browser purchase with the Shopify order id, which links the order to the ad click.
Turn off Buy it now
In your theme, turn off dynamic checkout buttons ("Buy it now", accelerated checkouts on the product page). They skip the cart, so Add to cart is not tracked and the visitor id may not reach the order.
Funnels and separate checkouts
A checkout on another domain (a funnel builder, CheckoutChamp, Sticky.io) needs the script on those pages and its own connection, see Funnelish and Funnels and multiple domains. Add the checkout domain under Settings › Store › Linked domains so the visitor id travels along.
Common problems
COD orders that are never paid count as purchases
Purchases arrive late with Shopify checkout
Next step
Back to the Shopify setupStill stuck? Email us.