In order to get the information about the conversion rate with Botmind, the average cart etc, a simple script is to be integrated.
It is completely independent: there is no need to load the widget on the order confirmation page, just the new script. It is divided into 2 parts, which can be included together or separately. The order will only be sent to our servers when both parts have been included, in any order.
Finally, this script does not store any cookies, so it is RGPD-compliant.
There is the script itself:
<script type="text/javascript" src="https://widget.botmind.io/public/botmindOrderValidation.js"></script>
And adding the variables:
<script type="text/javascript">
window.bc_accountToken = 'your token';
window.bc_orderId = 'order_botmind_test_2';
window.bc_orderAmount = 42.73;
window.bc_orderCurrency = 'eur';
window.bc_callOrderValidation = true;
</script>
You will of course need to insert the bc_orderId and bc_orderAmount values which correspond to the unique order identifier (simply the order number) as well as the amount.
Your token is displayed in the snippet, to replace "your token" on the 2nd line of variables..
Commentaires
0 commentaire
Vous devez vous connecter pour laisser un commentaire.