close this to read article
Magento 2 is an improved version of the previous Magento with new features, developer tools, and robust architecture. Integrating VWO with your Magento 2 website allows you to A/B test the website by adding VWO SmartCode through the Magento admin panel.
To check if you have correctly installed the SmartCode on your webpage, enter the URL in the SmartCode Checker in the Settings > SmartCode section of your VWO Account. See SmartCode Checker in VWO to know what different results mean.
To integrate VWO with Magento 2, follow this:
Procedure
- To add VWO SmartCode to your Magento 2 website, sign in to Magento 2 and from the left panel, go to Content > Design > Configuration.
- Choose the store view you want to configure and click Edit corresponding to it.
- Under Other Settings, expand the HTML Head section.
- In the Scripts and Style Sheets field, paste your VWO SmartCode.
NOTE: Click here to get your VWO SmartCode. - Once done, click Save Configuration.