The body has
<script> // Google Analytics document.addEventListener('DOMContentLoaded',function(){ GoogleAnalyticsPurchase(JSON.parse('{"products:[{"id":111,"name":"test", "price":100,"qty":1},id":222,"name":"test1", "price":200,"qty":1}, "code":"1234567","costDelivery":0}')); }); </script> How, using js, from here you can get (as text) id, name, price, qty all products (each time is different)?