Linking Shopify as a source
The Shopify connector can sync your Shopify store data into PostHog.
To sync Shopify data:
In Shopify
- Go to your Shopify store's admin panel at
https://admin.shopify.com/store/your-store-id - Click Settings.
- Click Apps and sales channels.
- Click Develop apps.
- IMPORTANT: Click Build apps in Dev Dashboard (legacy apps will be deprecated January 1 2026).
- Click Create app.
- Give your app a name and click Create.
- You will be redirected to a screen for releasing a new version of your app. Here, you need to:
- Set the app URL. Use the default value
https://shopify.dev/apps/default-app-home. - Choose the app scopes. We recommend that you select all read options for the simplest setup.
- Click Release and fill in the optional release details.
- Go to Home in the Dev Dashboard and click Install app to install the app in your store.
- Go to Settings in the Dev Dashboard and note your
Client IDandSecretfor later.
For more information about creating apps in Dev Dashboard see the Shopify docs.
In PostHog
- Go to the data pipelines page, and select the Sources tab.
- Click the + New source button and select Shopify by clicking the + Create button.
- Fill in your Shopify
Store IDas well as theClient IDandSecretfrom above. - Optional: Add a prefix to your table names.
- Click Next.
- Select the Shopify objects you want to sync, and make any sync configuration changes you need.
- Click Import.
After these setup steps, your Shopify data will be automatically synced to the PostHog data warehouse. You can see details and progress in the data pipelines sources tab.
PostHog is an all-in-one developer platform for building successful products. We provide product analytics, web analytics, session replay, error tracking,feature flags, experiments, surveys, LLM analytics, data warehouse, CDP, and anAI product assistant to help debug your code, ship features faster, and keep all your usage and customer data in one stack.