This code should be pasted in your page layout, where you want to place the CoverRight widget:
<script id="cover-right-widget-script" src="https://widget1.partners.coverright.com/js/iframe.js"></script>
The widget will take a full container width. We suggest you to don't use a container smaller than 360px in width.
We set UTM tags automatically, but sometimes you might want to set the subid2
or some other parameters in the resulting url. There is way to do that:
window.CoverRightWidgetParams = {subid2: '1234567'};
The var1=1234567
would be added to url and tracked by affiniation link rule.
<!DOCTYPE html>
<html lang="en">
<head></head>
<body>
<div style="width: 360px">
<script>
window.CoverRightWidgetParams = {subid2: '1234567'};
</script>
<script id="cover-right-widget-script" src="https://widget1.partners.coverright.com/js/iframe.js"></script>
</div>
</body>
</html>