Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

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});
Source by www.digitalwerksinnovations.com #
 
PREVIOUS NEXT
Tagged: #GTM #Qgiv
ADD COMMENT
Topic
Name
6+3 =