Several domains pointing to the same page?

We have a solution if this is your case.

There are times when a page or website has several domains at the same time, so it becomes difficult to insert the WidgetWhats script, since each widget must have a domain associated with it.

Instead of using the code that appears in your widget, copy this one below and customize it with your domains and the IDs of each widget.

<script>
 window.wwwaID = {
 'domain01.com': 12345,
 'domain02.com': 54321,
 'domain03.com': 34567,
 }[location.host];
</script>
<script async src="https://s.widgetwhats.com/wwwa.js"></script>

Turn your visitors into customers.

Create a free account.

Categories