[Deprecated] Shopify
DEPRECATED
This method is no longer maintained, supported, or recommended. Only use this method in special cases.
For most cases, use the method outlined here.
Set Up Webhooks
Webhooks pull your sales data in real time and should be set up first before importing historical sales data to avoid gaps in your data
In LTV Numbers’ side navigation bar, go to the "Settings" tab
Click the "Copy" button for your Webhook URL in the “Shopify Integrations” section. You will paste this into Shopify at a later step
In a separate browser window or tab, log into Shopify
To log in as a Shopify Partner, log in to your Shopify Partner account, then click "Log In" next to the appropriate Shopify store
Note: Your partner account will need all permissions except for Online Store permissions, Manage locations, View Shopify Payments payouts, and View billing details
In Shopify's side navigation bar, go to Settings
Click on Notifications and scroll to the Webhooks section
Click the "Create Webhook" button and configure each field as follows:
Event: "Order payment"
Format: "JSON"
URL: Paste the Webhook URL you copied from LTV Numbers earlier and edit the Webhook URL by replacing "clickfunnels" with "shopify"
Webhook API version: select the (Latest) version (i.e. "yyyy-mm (Latest)")
Click the "Save" button
Repeat steps 7 - 10 for Event: "Order updated"
Note: Order updated includes refunds
Historical Sales Data
After setting up webhooks to pull in real time sales data, import your past sales for a complete picture of your data
Export Historical Sales Data From Shopify
From your Shopify home dashboard, go to Analytics then Reports in the left menu
Click the "Sales by product" report in the Sales section
Select a date range that contains the historial sales data you with to export
Note: we recommend at least a year of historical data to establish a good analysis baseline. Older data doesn't necessarily reflect the current state of the business.
Click the Edit Columns dropdown and select all columns
At the top right, click Export > Export to generate your historical sales data CSV
When your file is ready, click the “Download” button
Save the file to your computer
Import Shopify Historical Data Into LTV Numbers
In LTV Numbers' side menu, click "Upload" to get to the Data Uploader
Click the "Choose File" button
Select the historical sales data CSV from the previous section and click Next
Note: if you have multiple files of the same format, you can multiselect them to upload them all at once. Do not mix formats.
In the "Choose Format" dropdown, select "Shopify Orders CSV"
Click Next then Upload to begin the ingest process
Note: this process may take some time to complete
Last updated