I'm having trouble configuring my gtag script, I added the following script:
window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'UA-xxxxxxx-x'); gtag('event', 'purchase', {transaction_id: '<%=getCurrentAttribute('Confirmation','tranid','' )%>', value: <%=getCurrentAttribute('confirmation','total','')% >});This is the response I get when I'm on the confirmation page:[Error processing dynamic tag getCurrentAttribute('Confirmation','tranid','') : unknown record type null]', value: [Error processing dynamic tag getCurrentAttribute('confirmation','total','') : unknown record type null]I've also read the gtag events: https://developers.google.com/analyt...nced-ecommerceHow can I go about integrating this effectively?Currently using SiteBuilder.