Integrating Yieldify’s technology is as simple as integrating with any other CMS – to get started, you’ll need admin rights to your Shopify account and an understanding of how the platform works.
Setting up the Integration
Head to your site administration panel and open the Themes tab (listed under the store sales channel on the left hand side). Once there, you’ll need to click the More button and select Edit code.
Finding the Right File
Once in the code editor, you’ll want to edit the file under the Layout section called theme.liquid
. Shopify describes this as the master template – it allows you to make changes to all of your site’s pages with one update.
Making the Changes
At this point, you’ll want to copy the Yieldify javascript snippet. You can find this from within the settings page of the Yieldify platform.
Making sure that you copy both the opening and closing <script> tags, then paste the tag somewhere between the opening and closing <head> tags on the theme.liquid
file.
Enable Checkout Yieldify Experiences through Shopify Plus
If you’re a Shopify Plus customer, you’ll also need to edit the checkout.liquid
file. This is the same principle as the theme.liquid file but is applicable to the checkout portion of your site. Any other Shopify users not on Plus (e.g. Advanced Shopify, Basic Shopify, Shopify Lite, etc.) will not have access to these pages.
Making sure that you copy both the opening and closing <script> tags, paste the tag somewhere between the opening and closing <head> tags on the checkout.liquid
file.