Shopify App Connection
Step by Step on how to create a Shopify app to allow you to integrate your Shopify data with Ruler Analytics via Shopify API
Ruler recommends tracking your Shopify orders in two ways.
1 - Implement Pixel tracking on the website, to capture your online orders. See instructions on this here.
2 - Connect directly to your Shopify APP to sync 'all orders' allowing us to capture any offline/manually processed orders as well as any online orders that may not be captured via Pixel tracking due to cookie/privacy blockers.
To allow us access to the Shopify API we need the following details
- Provide your hostname - Your Shopify domain contains your hostname. For example, if the Shopify domain is https://example.myshopify.com/admin then the hostname is example.myshopify.com. Shopify’s documentation on domains can be found here.
- Get an admin API access token and provide this to Ruler - To get an admin API access token, you need to create a custom app within the store. For information on how to create a custom app, see Shopify’s documentation here.
When you create a custom app, ensure that you set the correct Admin API Permissions for the webhooks your connector will use.
The table below contains a list of webhooks and the required scopes. Please ensure the below are added into 'Scopes'
| Area | Shopify Scopes |
|---|---|
| Checkout | read_checkouts, write_checkouts |
| Customers | read_customers, write_customers |
| Orders | read_orders, write_orders |
| Products | read_products, write_products |
You can find the admin API access token in the newly created custom app under API credentials > Admin API access token.
Please add the following URL https://integration.ruleranalytics.com/connector/callback as your Redirect URL.
- Go to your app in the Shopify Partner Dashboard.
- Navigate to “App setup.”
You’ll find fields to enter the “App URL” and “Allowed redirection URL(s).”
You can only view the token once before it’s permanently hidden. To get a new token, you need to uninstall and reinstall the app to your store. For more information, see Shopify’s documentation on rotating API credentials here.
If you have any questions or need assistance, please reach out to a member of the team today.
Updated 4 days ago