Segment app manual installation guide

Updated on 2021-12-24

Follow these steps to do a manual install of by Littledata.

Manual installation requires you to paste Littledata's code into your store layout. This is recommended for projects under source control, as it ensures that our code will not be overwritten when you make site updates.

  1. Login to your Shopify account.

  1. Go directly to the Shopify app store and search for '' or head directly to the by Littledata app store listing.
  2. Click on Add app to begin the installation process.
  3. Sign up for a Littledata account using your email address, Google login, or Facebook login. You will be able to add more team members after completing the installation process.
  4. Configure Segment. Log into your Segment workspace, and Connect Shopify (by Littledata):

  1. You will need to add your Segment workshop write key. Follow this guide to find your write key, then enter it and hit NEXT:

  1. Select the Manual route to paste the code manually into your Shopify layouts and click next:

  1. You will then be instructed to add the scripts to your code. Click COPY, which will copy the script to clipboard:
  2. Go to your Shopify admin > Online Store > Themes > Actions > Edit code and create a new snippet named LittledataLayer. Paste the script you copied in the previous step, and click Save.

  1. Then you will copy the three-line code and paste the snippet in every one of your store’s Layouts, just above the  tag. In the example below, we’ll paste the snippet in row 75:

  1. After you finish the above steps, hit NEXT. Installation is now complete!

You will now start receiving data from Shopify to Segment, including sales data and checkout steps.

Furthermore, you can send data from Segment to Google Analytics by following the steps described here.

Please email us at with any questions.