From 73b8c6ffb33639fd5a59725fa1bb09a84a1e091f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20P=C3=B6rtner?= Date: Mon, 5 Jul 2021 16:20:27 +0200 Subject: [PATCH] decode & for facebook pixel --- assets/js/classes/SendinForm.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/js/classes/SendinForm.js b/assets/js/classes/SendinForm.js index 3cb2369..83a2729 100644 --- a/assets/js/classes/SendinForm.js +++ b/assets/js/classes/SendinForm.js @@ -68,7 +68,7 @@ export class SendinForm extends MultistepForm { // @ts-ignore if (window.dataLayer) { // @ts-ignore - dataLayer.push({ 'event': 'sendin-device-success', 'sendin_device': this.responses[this.responseNumber].data.device }); + dataLayer.push({ 'event': 'sendin-device-success', 'sendin_device': this.responses[this.responseNumber].data.device.replace('&', '&') }); } // Move to the next step in form