close this to read article
Umbraco is an open-source content management system (CMS) platform for publishing content on the World Wide Web and intranets. Integrating VWO with Umbraco allows you to A/B test your website by adding the VWO SmartCode snippet to the Umbraco site.
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 Umbraco, follow this:
Procedure
- Sign in to your Umbraco admin dashboard, and go to Settings > Scripts.
- Click on the ellipsis icon (…) corresponding to Scripts and select the New JavaScript file.
- Enter a name for your JavaScript file, say VWO.js.
- In the text area, paste your VWO SmartCode and click Save. To get your VWO SmartCode, click here.
NOTE: Ensure to remove the <script> tag from your VWO SmartCode. - Copy the file path of the JavaScript file you just created.
- Go to Templates, select a template you want to work with and paste the copied file path: <script src=”/scripts/VWO.js”></script> right before the </head> tag.
NOTE: If you do not have any template yet, create one using this. - To finalize your changes, click Save. You can now run VWO tests on your Umbraco website.