Theme Change: App Adjustment Needed?
After changing your theme you should not make any adjustments to the app itself, however, if you have added any of the below scripts in your theme.liquid file, you will have to apply them to your new theme's theme.liquid file as well.
These are the scripts that you should be aware of:
Translation -
Metafields - If you have added our app’s metafields code to the theme.liquid file of your old theme, in order to translate it, you will have to re-apply them again in the new theme. For more information on the metafields code and how it works, you can check this section of our FAQ page.
Note: Our app has a specific metafields code for the translation done by GTranslate’s premium plan users that should be applied to the new theme’s theme.liquid file as well. More information on this case can be viewed in this section.
Privacy Policy Links - The script for having different Privacy Policy links for every language on your store should be added to the theme.liquid file of the new theme as well. More information on that script can be found in this section.
Blocking scripts - If any of our app’s blocking scripts have been added to the theme.liquid file of your old theme, then you will have to add them to the new theme’s theme.liquid file as well. You can find more information about our app’s blocking scripts in point 6 of our Guide on How to be GDPR compliant.
Integrations - If your store is using any of our app’s scripts for integration with other services, they should also be added to the theme.liquid file of your new theme. Our app has integration scripts for Google Consent Mode, Rakuten, and Klaviyo.
More information on the Google Consent Mode integration can be found in this section, The integration for Rakuten in this section, and the integration for Klaviyo in this section.
Features - If you have applied the Cookie Bar Widget script to your old theme's code or the Cookie Preferences link to the footer of the old theme, make sure to also add them to the new theme. For more information on these scripts, you can check this section for the Cookie Bar Widget script and this section for the Cookie Preferences link.
Custom JavaScript Trigger - Our app has a Trigger script that is used for triggering custom JavaScript functionality when the Cookie bar is accepted. If you have used this script in any of your old theme files, you should make sure to apply it to the new one as well in order to trigger that functionality when the Cookie bar is accepted. More information on that script can be found in this section.
If any issues or concerns arise, you can always reach out to us in the live chat of the app, or via email: support@consentmo.com or from the Chat button at the bottom right corner of your browser.
These are the scripts that you should be aware of:
Translation -
Metafields - If you have added our app’s metafields code to the theme.liquid file of your old theme, in order to translate it, you will have to re-apply them again in the new theme. For more information on the metafields code and how it works, you can check this section of our FAQ page.
Note: Our app has a specific metafields code for the translation done by GTranslate’s premium plan users that should be applied to the new theme’s theme.liquid file as well. More information on this case can be viewed in this section.
Privacy Policy Links - The script for having different Privacy Policy links for every language on your store should be added to the theme.liquid file of the new theme as well. More information on that script can be found in this section.
Blocking scripts - If any of our app’s blocking scripts have been added to the theme.liquid file of your old theme, then you will have to add them to the new theme’s theme.liquid file as well. You can find more information about our app’s blocking scripts in point 6 of our Guide on How to be GDPR compliant.
Integrations - If your store is using any of our app’s scripts for integration with other services, they should also be added to the theme.liquid file of your new theme. Our app has integration scripts for Google Consent Mode, Rakuten, and Klaviyo.
More information on the Google Consent Mode integration can be found in this section, The integration for Rakuten in this section, and the integration for Klaviyo in this section.
Features - If you have applied the Cookie Bar Widget script to your old theme's code or the Cookie Preferences link to the footer of the old theme, make sure to also add them to the new theme. For more information on these scripts, you can check this section for the Cookie Bar Widget script and this section for the Cookie Preferences link.
Custom JavaScript Trigger - Our app has a Trigger script that is used for triggering custom JavaScript functionality when the Cookie bar is accepted. If you have used this script in any of your old theme files, you should make sure to apply it to the new one as well in order to trigger that functionality when the Cookie bar is accepted. More information on that script can be found in this section.
If any issues or concerns arise, you can always reach out to us in the live chat of the app, or via email: support@consentmo.com or from the Chat button at the bottom right corner of your browser.
Updated on: 26/11/2024
Thank you!