Hello Team, We re working on Single page application (SPA) based in
ReactJS framework, we have a requirement to implement gtag.js for
tracking purpose. in terms of SPA, we are going to be implemented gtag
in direct call rule where we have only 3 options are available
(Non-sequential JS /Non-sequential HTML / Sequential JS). we chose
Non-Sequential HTML and implemented in the following way and tags on every page of your site.-->
window.dataLayer = window.dataLayer || []; function
gtag(){dataLayer.push(arguments);} gtag('js', new Date());
gtag('config', 'DC-XXXXXXX'); gtag('event', 'purchase', {
'allow_custom_scripts': true, 'transaction_id':
_satellite.getVar("data-element-is-in-place"), 'send_to':
'DC-XXXXXXX/nudhomsa/aplus0+transactions' }); This result is below if we expand the
above error Any idea? How can we resolve this? Help appreciated. Than...