This guide is for setting up Google Optimize for the Shopify to Google Analytics connection or Shopify to Segment connection using the Manual route.

Step 1. Go to the Connections tab in the Littledata app, find the Google Optimize connection and click CONNECT:

Step 2. Insert your Optimize container ID. You can find the container ID under Container setup > Container information in Optimize:

Step 3. Select either the Recommended route or the No Anti-Flicker route. In the Recommended route, we add the anti-flicker snippet to the Littledata script; you can opt-out of this by choosing the No Anti-Flicker route.

Select the route you want and click NEXT.

Tip: The anti-flicker snippet is recommended for a better user experience. You can find more information about it here.

Step 4. Add the code snippet to Littledatalayer as stated in the instructions:

Step 5. Your setup is complete! Optimize is now loaded on all of your web pages.