GTM QGIV

var transId = QGIV.Transaction.id;
var amount = (QGIV.Transaction.total*1).toFixed(2);
var name = QGIV.Transaction.form;
var frequency = QGIV.Transaction.type;
dataLayer.push({'event':'purchase','donationAmount':amount,'frequency':frequency});
Cute Chicken