Styling1 Posted September 22, 2017 Share Posted September 22, 2017 Hi! In my conversion module I need to put in the correct variables to make my tracking code to work. Anyone know what variables to use and where to put them:)? Thank you for all possible help! <script> var _adv = _adv || []; _adv['reference'] = '%REFERENCE%'; _adv['amount'] = dataLayer.google_tag_params.ecomm_totalvalue; _adv['currency'] = '%CURRENCY%'; _adv['voucher'] = '%VOUCHER_CODE%'; (function() { var a7 = document.createElement('iframe'); a7.frameBorder = 0; a7.style.height = 0; a7.style.width = 0; a7.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'tracking.adviralmedia.com/pixel/118/?r='+_adv['reference']+'&a='+_adv['amount']+'&c='+_adv['currency']+'&v='+_adv['voucher']; var s6 = document.getElementsByTagName('script')[0]; s6.parentNode.insertBefore(a7, s6); })(); </script> Andreas Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now