Before you start
You will need:- Your Shopify store domain, the one that ends in
.myshopify.com. Find it in your Shopify admin address. - Permission to install apps on the store, so you can approve the Referly app when Shopify asks.
- An Atlas store set up to step 2 of the wizard. On Step 1: Your website, enter your storefront address and pick the Shopify tile (Atlas usually detects it for you).

Step 1: Install the Referly app
The first block of the step is Install the Referly Shopify app. Its subtitle tells you what to expect: approve the app in your Shopify admin, then come back here.
Enter your store handle
.myshopify.com (for example my-store). Handles only use lowercase letters, numbers and dashes; if you paste something else, Atlas shows the cleaned-up version it will use.Select Install Referly app
Approve and come back
Step 2: Turn on the app embed
The embed loads the tracker on your storefront, which is what records page views, product views and carts before the checkout. Shopify never turns app embeds on by itself, so this is a step you do in your theme.- Select Open theme editor. Your current theme opens in Shopify’s editor.
- In the theme editor, click the App embeds icon in the left sidebar.
- Switch Referly Affiliate Tracker on.
- Click Save.
Step 3: Turn on the Atlas pixel
The third block, Turn on the Atlas pixel, registers Atlas’s web pixel on your store. Before you press the button, set Type of checkout:

Step 4: Verify the connection
As soon as the pixel is on, a Test the connection block appears under it. Enter your storefront address (your custom domain if you have one) and select Verify. Password-protected stores cannot be checked, so remove the password or test on a store that is open. Atlas looks at your storefront for the embed and reports one of these:
What the app sets up for you
Once the three blocks are done, the Referly app has put these in place on your store:- A web pixel that records page views, product views, collection views, searches, adds to cart, checkouts started and checkouts completed. A checkout completed in the browser is provisional until Shopify confirms the paid order.
- The theme app embed that loads the tracker on your storefront, so visits get a visitor cookie and the ad click that brought them.
- Order notifications from Shopify to Atlas: paid orders for a native checkout, created orders for an external checkout. These are what Atlas sends to your pixels as purchases, with refunds netted off.
- Customer notifications, used for sign ups (classic customer accounts) and newsletter leads. These need Shopify’s protected customer data access to be approved for the app.
Shopify’s own pixels and Atlas
Many Shopify stores already send events through the Facebook & Instagram app or the Google & YouTube app. Atlas is built to sit next to them. Meta. Atlas reuses the event id Shopify generates for each event, the same id Shopify’s Facebook & Instagram app sends from the browser. When Meta receives the browser event and the server event from Atlas with the same id, it keeps one. You have two options:- Leave customer data sharing on in the Facebook & Instagram app and let Meta deduplicate. You keep Shopify’s browser signal and gain Atlas’s server-side one.
- Turn off customer data sharing in the Facebook & Instagram app so Atlas is the single source. Cleaner reporting, one fewer thing to compare.
Troubleshooting
Turn on Atlas pixel says to install the Referly Shopify app first
Turn on Atlas pixel says to install the Referly Shopify app first
Verify keeps saying Not found yet
Verify keeps saying Not found yet
Shopify did not accept every setting
Shopify did not accept every setting
My storefront is password protected
My storefront is password protected
The Overview shows Shopify connection required or Connection lost
The Overview shows Shopify connection required or Connection lost
Orders do not show up but page views do
Orders do not show up but page views do
Meta reports more purchases than Atlas
Meta reports more purchases than Atlas