Posts by Adão Lima • 21 points
1 post
-
2
votes1
answer130
viewsA: How to read a dataLayer?
Is that what you thought? Returns an array of transactionProducts skus (put the name to better view). const skus = (transactionId) => window.dataLayer.forEach(obj => { if(obj.transactionId ===…
javascriptanswered Adão Lima 21