Skip to main content
Test TrustedSite
Nick Hemenway avatar
Written by Nick Hemenway
Updated over a week ago

Testing TrustedSite on your site is a great way to see the full value of the service. Many sites have seen significant conversion rate increases by implementing TrustedSite trustmarks.

When implementing via your preferred A/B testing software, the following can be used to load the TrustedSite main code for the selected audience:

var t = document.createElement('script');
t.setAttribute("type", "text/javascript");
t.setAttribute("id", "trustedsite-code"); //optional
t.setAttribute("src", "https://cdn.ywxi.net/js/1.js");
document.getElementsByTagName("head")[0].appendChild(t);

Tips for specific tools

Optimizely

If you’ve decided to test TrustedSite in-house with Optimizely, here are a few tips.

  • Ensure that Optimizely is correctly implemented

  • Optimizely recommends adding installing the JavaScript directly rather than via a Tag Manager

Google Optimize

If you’ve decided to test TrustedSite in-house with Google Optimize, here’s how to get started.

VWO

If you’ve decided to test TrustedSite with VWO, start by following the VWO installation guide.

Did this answer your question?