Não use UUID
como PK nas tabelas do seu banco de dados.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
window.addEventListener("message", (event) => { | |
let eventDataJson = null; | |
// We only care about TrustArc Events at this point. And TrustArc's even it encoded in JSON | |
try { | |
eventDataJson = JSON.parse(event.data); | |
} catch { | |
// Some other event that is not JSON. | |
// TrustArc encodes the data as JSON | |
// console.log(event.data); |