Mautic Community Forums

Tracking code JS error

Hi!



I’ve copy and past the tracking code to my webpage but it’s showing error on inspect tab.



Site: http://www.netresiduos.com.br/



Open developer/Inspect tab and you can see the error below:

Code:
Uncaught (in promise) PushNotSupportedError {message: "'' is not a valid UUID", name: "PushNotSupportedError", stack: "PushNotSupportedError: '' is not a valid UUID↵ …neSignalSDK.js:1:155631)↵ at :1:210"}message: "'' is not a valid UUID"name: "PushNotSupportedError"stack: "PushNotSupportedError: '' is not a valid UUID↵ at new t (https://cdn.onesignal.com/sdks/OneSignalSDK.js:1:95679)↵ at https://cdn.onesignal.com/sdks/OneSignalSDK.js:1:141163↵ at i (https://cdn.onesignal.com/sdks/OneSignalSDK.js:1:2384)↵ at Object.next (https://cdn.onesignal.com/sdks/OneSignalSDK.js:1:1719)↵ at https://cdn.onesignal.com/sdks/OneSignalSDK.js:1:1653↵ at Promise ()↵ at Object.u [as __awaiter] (https://cdn.onesignal.com/sdks/OneSignalSDK.js:1:1430)↵ at e.init (https://cdn.onesignal.com/sdks/OneSignalSDK.js:1:139450)↵ at Function.e.push (https://cdn.onesignal.com/sdks/OneSignalSDK.js:1:155631)↵ at :1:210"__proto__: t u @ tslib.es6.js:61 e.init @ OneSignal.ts:141 e.push @ OneSignal.ts:785 (anonymous) @ VM374:1 MauticJS.documentReady @ mtc.js:3 (anonymous) @ VM374:1

As you can see in the html code, it's all there,

Hi!

I’ve copy and past the tracking code to my webpage but it’s showing error on inspect tab.

Site: http://www.netresiduos.com.br/

Open developer/Inspect tab and you can see the error below:

Uncaught (in promise) PushNotSupportedError {message: "'' is not a valid UUID", name: "PushNotSupportedError", stack: "PushNotSupportedError: '' is not a valid UUID↵ …neSignalSDK.js:1:155631)↵ at <anonymous>:1:210"}message: "'' is not a valid UUID"name: "PushNotSupportedError"stack: "PushNotSupportedError: '' is not a valid UUID↵ at new t (https://cdn.onesignal.com/sdks/OneSignalSDK.js:1:95679)↵ at https://cdn.onesignal.com/sdks/OneSignalSDK.js:1:141163↵ at i (https://cdn.onesignal.com/sdks/OneSignalSDK.js:1:2384)↵ at Object.next (https://cdn.onesignal.com/sdks/OneSignalSDK.js:1:1719)↵ at https://cdn.onesignal.com/sdks/OneSignalSDK.js:1:1653↵ at Promise (<anonymous>)↵ at Object.u [as __awaiter] (https://cdn.onesignal.com/sdks/OneSignalSDK.js:1:1430)↵ at e.init (https://cdn.onesignal.com/sdks/OneSignalSDK.js:1:139450)↵ at Function.e.push (https://cdn.onesignal.com/sdks/OneSignalSDK.js:1:155631)↵ at <anonymous>:1:210"__proto__: t u @ tslib.es6.js:61 e.init @ OneSignal.ts:141 e.push @ OneSignal.ts:785 (anonymous) @ VM374:1 MauticJS.documentReady @ mtc.js:3 (anonymous) @ VM374:1

As you can see in the html code, it’s all there,

Hello!
Could anyone help me with this please?