Are you planning to change your theme? That's great - you can re-install Analyzify into your new theme within minutes. And the best part is - you can do this while your new theme is still NOT published.
Analyzify injects advanced data layers and GTM container code into your store. It is done through the theme files. If you change or/and update your theme, your tracking could be interrupted. Make sure to follow this tutorial or contact our support team to get help.
At the moment, this is the way the Shopify apps can interact with Shopify stores - however, Shopify announced a new change - and we will adopt it immediately once it is released.
The best practice to move on with a theme update:
- The new or updated theme should NOT be published immediately.
- You should re-install Analyzify into a draft theme on your theme library.
- You can test the tags/data using the preview mode to make sure that the tracking is working as expected.
- Once you verify, you can publish the new/updated theme on your own time.
There is no risk in working on a Draft theme - so you can easily do this by yourself. Furthermore, Shopify has a changelog for each file/snippet on your theme so that you can easily revert in case.
Step 1: Restart the setup process and choose Do-It-Yourself
Go to Analyzify app on your Shopify Admin. Just like in the screenshot above, click on the "Restart Your Setup" button first from the right-bottom corner of the app. And then choose Do-It-Yourself on the next page.
Step 2: Click Restart the Process
Confirm the checkbox and move on to the next steps. Don't worry, you will need to change anything in Google Tag Manager. We are only interested in the Theme Settings step.
Step 3: Save and Continue the Configuration Step
You don't need to change anything here. Please note that this is the tutorial for the "Theme Update". If you want to change your GTM ID, Google Ads labels, or other data; you should do a completely new setup. Save & Continue from the top-bottom corner.
Step 4: Get a backup (optional), choose your new theme, and INJECT!
Feel free to take a backup for your new theme. Because at this step, you will choose your new theme and click Save & Continue. That will inject all the Analyzify codes into your updated theme. Our codes are compatible with all major themes and it doesn't cause harm. It is always better to test because there is always a slight possibility that some codes will conflict with each other.
Step 5: Test your new theme
We love testing and validating. Leave this browser window as it is and open a new tab. Visit Shopify Admin > Online Store > Themes and find your newly updated theme. Preview the theme and test all the major functions such as add to cart, remove from cart, checkout, search filters, etc. Once you verify everything is working; close this tab.
Step 6: Complete the setup steps on Analyzify
Technically you are done. However, you still want to complete the setup steps on Analyzify. You DO NOT have to touch GTM or change your checkout codes. Just click Save & Continue and finish the process.
Step 7: (Optional) Contact our support team to verify your setup
We love double-checking :) Just contact us and we can validate your setup and process adjustments if needed.