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 Wingify with Umbraco allows you to A/B test your website by adding the Wingify 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 of your Wingify Account. See SmartCode Checker in Wingify to know what different results mean.
To integrate Wingify 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 Wingify.js.
-
In the text area, paste your Wingify SmartCode and click Save. To get your Wingify SmartCode, click here.
NOTE: Ensure to remove the <script> tag from your Wingify 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/Wingify.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 Wingify tests on your Umbraco website.