How can we detect the opening of a single Blog item?
I see there is URL parameters set on opening the blog item.
But how can we “measure” this iin Analytics or Tag manager?
Is there a way using “customer specific JS?”
Our devs came up with the Google Analytics code for you! Please add this part of the code to your website <head>:
<script async src="https://www.googletagmanager.com/gtag/js?id=G-ID"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-ID');
</script>
In the code above, you need to replace G-ID with your actual website ID for Google Analytics. This article will help you find your ID - Find your Google tag ID.
And then just add the rest of the script to the Custom JS field on the Settings tab of your widget’s settings: