|
This article covers the following: |
Overview
This article guides you on how to add the VWO SmartCode to your website built on the Microsoft Dynamics 365 Commerce platform. This integration enables you to utilize VWO's powerful A/B testing, personalization, and conversion optimization features on your e-commerce platform.
Prerequisites:
- You must have an active VWO account.
- You must have Administrator-level access to your Microsoft Dynamics 365 Commerce site builder.
Generate your VWO SmartCode
Once you register your website, VWO generates a SmartCode for it. When you add this SmartCode to your website, it establishes a connection with VWO, allowing you to run experiments, track goals, and collect insights.
To add the SmartCode to your website manually:
- Log in to your VWO account.
- From the left navigation menu, navigate to Configurations > Websites and Apps.
- Select your domain under the Websites and Apps section.
- Go to Code > HTML tab.
- Click Copy to copy the SmartCode.
Now, you need to add this SmartCode to your website built on the Microsoft Dynamics 365 Commerce platform. The following section explains how you can do that.
Add VWO SmartCode to your Microsoft Dynamics 365 Commerce Website
- Log in to your Dynamics 365 Commerce environment and select the website you wish to modify.
- Navigate to Site Builder.
- Go to Templates and open the template you use for your website pages.
- Expand the template hierarchy.
- Click the ellipsis (...) adjacent to the template component (for example, HTML Head, Body Begin, or Body End) where you want the script to load and select Add module.
- Select Inline script and click OK.
- Paste your VWO SmartCode into the Inline script property and click Finish editing.
Verify the SmartCode Installation
After adding the smartcode, verify that the VWO SmartCode is loading correctly on your website.
To verify:
- Open your website in a web browser.
- Right-click on the page and select Inspect to open the browser's developer tools.
- Go to the Network tab.
- Refresh the page and search for dev. in the filter box.
If you see successful network requests (indicated by Status Code 200 OK) to VWO's servers, the installation is working correctly.
Alternatively, you can use the VWO SmartCode Checker available within the VWO platform to automatically validate your setup.
Need more help?
For further assistance or more information, contact VWO Support.