Note: Please reach out to your Technical Onboarding Lead for your site-specific code snippets.
The Web Personalization code is simple to implement, and it's the only tech work you'll have to do.
Each website has their own unique code. You can find it in the Settings tab in the Dashboard.
The following is a sample of the Web Personalization code:
Note: Each website will have its own {CLIENT_ID}
<!-- Web Personalization Plugin -->
<script type="text/javascript">
(function() {
var Web Personalization_client_id="{Web Personalization_CLIENT_ID}";
window._rctfl = window._rctfl || {c: []}; window._rctfl.c.push(Web Personalization_client_id);
var el = document.createElement('script'); el.async = 1;
el.src = "//visitor.Web Personalization.com/dist/main.rtfl.js";
document.getElementsByTagName('head')[0].appendChild(el);
})();
</script>
<!-- End Web Personalization Plugin -->
Once the code is on the site, it will start collecting data, and allow you to launch reactions within a few minutes!
-
The code should be added to all pages of the site via Tag Manager, just like adding any other script. The script should load on page visit/load.
-
If you are "hard coding" the script in your website, it's recommended to add the code at the end of the head section of the page - just before the </head> tag.
-
The Web Personalization code is domain specific and should be implemented only on pages of the domain you setup (i.e. website.com). If there are any subdomains (i.e. shop.website.com), please create an additional website and get a different code for the subdomain.
-
You will not see any changes to the site once the code is implemented - the system will only run in the background.
-
Not sure the code is implemented correctly? See how to check here.
Comments
0 comments
Article is closed for comments.