Integrations

Connecting Shopify

Overview

The Shopify integration gives invisor access to your store's order and revenue data, enabling you to see your actual sales performance alongside your marketing spend. This is the foundation for accurate ROAS and revenue attribution across all channels.

What data is synced

  • Orders – order count, total revenue, net revenue (after discounts and refunds)
  • Average Order Value (AOV)
  • Products – top products by revenue and units sold
  • Customers – new vs returning customer split
  • Discount codes – discount usage and impact on revenue
  • Refunds – refund amounts and rates
  • Tax – tax collected
  • Fulfilment status – pending, fulfilled, cancelled

Before you begin

You'll need:

  • A Shopify store (any plan)
  • Owner or Staff access with permission to create custom apps

Step 1 – Create a Shopify custom app

  1. Log in to your Shopify admin at yourstore.myshopify.com/admin.
  2. Go to Settings → Apps and sales channels → Develop apps.
  3. If prompted, click Allow custom app development.
  4. Click Create an app and give it a name (e.g. invisor).
  5. Click Configure Admin API scopes and enable the following scopes:
  • read_orders
  • read_products
  • read_customers
  • read_analytics (optional — for Shopify analytics data)
  1. Click Save then go to the API credentials tab.
  2. Click Install app to generate the credentials.
  3. Copy the Admin API access token — this is only shown once.
  4. Also note your API key and API secret key.

Step 2 – Connect in invisor

  1. Go to Settings → Channels in invisor.
  2. Click Connect on the Shopify card.
  3. Enter your store URL (e.g. yourstore.myshopify.com).
  4. Paste the Admin API access token.
  5. Click Connect.

Multiple Shopify stores

You can connect more than one Shopify store to a single invisor organisation. Repeat the steps above for each store. Revenue data from all stores will be aggregated in the dashboard, with a per-store breakdown available in the Shopify channel view.

Handling refunds

Refunds are automatically deducted from revenue figures in invisor. Net revenue is calculated as: gross revenue − discounts − refunds. Tax is shown separately and is not included in net revenue by default.

Troubleshooting

"Unauthorised" error when connecting

Make sure you're using the Admin API access token (not the storefront access token). The Admin API access token is only visible immediately after installing the custom app — if you didn't copy it, you'll need to uninstall and reinstall the app to generate a new one.

Orders are missing

Check that the read_orders scope is enabled. Note that Shopify requires you to request access to orders older than 60 days — go to your app settings and submit a request to Shopify if you need older order history.

Revenue figures don't match Shopify

invisor uses net revenue (after discounts and refunds) by default. Shopify's dashboard may show gross revenue. Check whether discounts and refunds are being applied in the Shopify report you're comparing against.

Shopify integration connection flow in invisor settings
Connect your Shopify store to invisor from Settings → Channels.
shopify-store-url.sh
# Example store URL format used when connecting Shopify
# Replace "yourstore" with your actual Shopify subdomain
https://yourstore.myshopify.com/admin