logo-qgiv
Table of Contents

To make these pages work you must put GTM code 2 places and place a snippet below in the ‘Bottom Content’ on the confirmation page.

  1. Place it in the ‘Top Content’ Area of Donation Page
  2. Place it in the ‘Top Content’ Area of Conformation page.

Javascript needed on confirmation page

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});

GTM Event to Trigger on

'purchase'

Location of value

'donationAmount'

API Reference Links

https://www.qgiv.com/api/reporting-transactions.php

Share on facebook
Facebook
Share on twitter
Twitter
Share on linkedin
LinkedIn
Share on pinterest
Pinterest
Share on email
Email
Share on print
Print