Littledata’s Segment app for Shopify stores makes it easy to track events on your site and send this data to Segment. But how do you connect that data to Google Analytics as a Segment destination?

In order to make Google Analytics receive data from Segment in a way that is accurate and orderly, follow the steps described below:

1. Go to your workspace within Segment:

2. Then hit Add Destination:

3. Select Google Analytics:

4. Then hit Configure Google Analytics:

5. Select and Confirm the Shopify by Littledata source that receives data Shopify

6. Add your Google Analytics Tracking ID (UA) under both the Website Tracking ID and Serverside Tracking ID:

Note: If you use Shopify’s native Google Analytics tracking in parallel with Segment, make sure the UA ID set in your Segment Google Analytics Destination is not the same as the one you have in your Shopify Store Preferences. Having the same property UA ID in both Shopify and Segment will have as a result double-tracking.

7. Enable Google Analytics in the settings:

8. You should now start seeing data being sent from Segment to your Google Analytics, but we recommend changing a few more Other Settings to better data capture: enabling Enhanced Ecommerce, enabling Send User-ID to GA and Send Segment “Product List” Events to GA as “Event” Hits