You'll need admin access to your Shopify store and a Meta account with access to the business portfolio that owns your ads.
Connect your account
1. Open Settings
In the Shopify admin, go to Apps → Shogun A/B Testing → Settings, then scroll to the bottom of the page to the Meta Ads section.
2. Start the connection
Click the button to connect Meta Ads. A Facebook Login for Business window opens. If nothing happens, check that your browser isn't blocking pop-ups and try again.
3. Sign in to Meta
Confirm your account and enter your password. Your browser might also ask whether Facebook can send you notifications — that's a browser prompt, not part of the setup, so you can safely block it.
4. Choose what to share
Meta asks which business assets to share with Shogun. Choose the business portfolio that owns your ads, then click Next.
5. Confirm permissions
Meta shows what Shogun can access: your ads and related stats. Click Confirm.
6. Choose which ad accounts to sync
Once you're connected, the Manage ad accounts window opens automatically. Every ad account you have access to is selected by default.
Untick any accounts you don't want Shogun to sync, then click Save changes. If you're happy syncing everything, just close the window.
7. You're connected
Back in Settings, the Meta Ads section now shows a Connected badge and a count of how many ad accounts are syncing, along with each one's name.
Your campaigns will start syncing in the background. Give it a few minutes before you go looking for them in your test results.
Change which ad accounts are syncing
You can adjust your selection at any time. Go to Settings → Meta Ads and click Manage accounts to reopen the same window, then tick or untick accounts and save.
Deselecting an account doesn't delete anything. Data that's already been collected stays in your test results — Shogun simply stops syncing that account and stops attributing new activity to its ads from that point on.
To remove the integration entirely, use the Disconnect link in the same section.
Filter your test results by campaign
1. Open a test
From the app home, open a running or finished test.
2. Find the Traffic source filter
On the test's Insights tab, you'll see a row of filters above your results: date range, device, time period, and Traffic source. Click Traffic source.
3. Select Meta Ads
Tick Meta Ads on the left. Your results update immediately to show only visitors who arrived from Meta, and your campaigns appear in the column on the right.
4. Pick your campaigns
Tick one or more campaigns. The filter label updates to show how many you've selected, and every metric on the page recalculates for that traffic only.
All of your usual metrics update — add-to-cart rate, conversion rate, average order value, traffic, orders, click-through, and profit.
A note on smaller numbers: filtering to a single campaign can leave you with a much smaller group of visitors than the full test. When that happens, percentages can swing dramatically on very few orders. It's worth glancing at the visitor and order counts before you read too much into a big-looking difference.
Troubleshooting
Nothing happened when I clicked the connect button. Your browser is probably blocking the pop-up. Allow pop-ups for the Shopify admin and try again.
I don't see Meta Ads in the Traffic source filter. The connection may not have finished. Check Settings → Meta Ads to confirm it shows as connected.
Meta Ads no longer shows as connected. Shogun renews its access to Meta automatically in the background, so you don't need to reconnect on a schedule. If Meta stops accepting that access, for example because Shogun's permissions were removed in Meta, Shogun disconnects the integration rather than keep trying. Reconnect it by following the steps in Connect your account above. Data that's already been collected stays in your test results.
Campaigns from one of my ad accounts are missing. That account may not be selected for syncing. Go to Settings → Meta Ads → Manage accounts and check that it's ticked.
I connected more ad accounts than I meant to. No harm done — open Manage accounts and untick the ones you don't need. Nothing already collected is lost.
The campaign list is empty. You'll need to tick a platform on the left before campaigns appear on the right.
A campaign shows no results. That campaign likely didn't send any traffic to this test during the date range you've selected. Try widening the date range.






