1
Access your Shopify theme code
Log in to your Shopify admin panel and navigate to Online Store -> Themes.
Find your current theme and click Actions -> Edit code.You should see a list of template files in the left sidebar.

2
Add the Gleef script to your theme
In the left sidebar, locate and click on the This code will allow your Shopify store to display and track Gleef experiments.
Once you’ve added the code, click on the Save button in the upper right corner.
theme.liquid
file under the Layout section.Find the closing </head>
tag in the file. Before this tag, and before other scripts, paste the following code:3
Launch & manage experiments
You’re all set! Log into the Chrome Extension, and start creating and managing experiments on your Shopify website.