Add DataFast to your Shopify store
It takes 3 minutes and no coding required. Once connected, DataFast automatically tracks:
- Visitor analytics - Pageviews, visitors, referrers, devices, countries, etc. You don't need to install the
<script>tag manually! - Revenue from orders - All completed orders from your Shopify store
- Revenue attribution - Links revenue to traffic sources (referrers, countries, devices)
You'll also unlock advanced features like Journey and the Real-time globe 🌍.
Important: If you've previously installed the DataFast tracking script manually on your Shopify store, you must remove it before connecting. The Shopify integration automatically installs the tracking script, and having both will cause duplicate tracking.
Step 1: Create a Shopify app (1 minute)
To connect DataFast to Shopify, you need to create a Shopify app and get API credentials:
- Go to Shopify Dev Dashboard and create an account if you don't have one yet.
- Click Create app at the top right corner.
- Name your app (e.g., "DataFast Integration") and click Create
Ensure Webhooks API Version is set to 2025-10.
- Scroll down to the Access > Scopes section and enable the following scopes:
read_orders- To track revenue from ordersread_products- To track product viewsread_customers- To attribute revenue to customerswrite_script_tags- To install the DataFast tracking script
- Scroll down to the bottom and click Release
- In the modal, leave all fields empty and click Release
Step 2: Install the Shopify app to your store (1 minute)
- Still on the Shopify Dev Dashboard, click Home on the left sidebar.
- Then click Install app at the top right corner.
- Pick the Shopify store you want to connect to DataFast.
- You'll be redirected to Shopify admin, click Install
Step 3: Connect to DataFast (1 minute)
- On the Shopify Dev Dashboard, select your app and go to Settings on the left sidebar.
- In the Credentials section copy your Client ID and Secret.
- Open your DataFast dashboard, select your website and go to Settings > Revenue > Shopify.
- Enter your Shopify store details:
- Shopify store domain: Your store's Shopify domain (the domain containing
****.myshopify.com, not your custom domain) - Client ID: The Client ID from your Shopify app
- Client secret: The Secret from your Shopify app
- Shopify store domain: Your store's Shopify domain (the domain containing
- Click Connect Shopify
Your Shopify store is now connected to DataFast! 🎉
Verify installation
After connecting, verify everything is working:
- Visit your Shopify store
- Check your DataFast dashboard - you should see pageviews appearing within a few minutes
- Make a test purchase (or check existing orders) - revenue should appear in your analytics
If you see duplicate pageviews, it's because you have the DataFast tracking script installed manually on your Shopify store. You need to remove the DataFast <script> tag before connecting.
Need help? Email us at marc@datafa.st