Magento 1.9.1
Porto theme
We are running an Adwords campaing and we were given the following code to place into the Magento shopping cart in order to track how successful the campaign is:
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-118694738-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-113694994-1');
</script>
I've tried putting this in the CMS home page,
In the "
Porto - Settings Panel
" under CustomizationSettings --> Custom Style
Under
GENERAL --) DESIGN --) HTML HEAD --) Miscellaneous Scripts
but it does not seem to work.
Where is the best place to place this code within Magento?