Configure Bludit for Google Analytics?

Post Reply
timomalum
Ssr. Bludit
Posts: 29
Joined: Sat Aug 08, 2020 7:16 am

I created a Google Analytics account and they say I need to put some code on every page just below the <head> element. How do I do that? I can't find any information on this. I tried putting the code in my theme's index.php file but Google isn't finding it. Is it possible to use Google Analytics with Bludit?

The code is: (id code partially x'd out for privacy)

<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/j ... "></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'G-0TZN98xxxx');
</script>
User avatar
Edi
Site Admin
Posts: 3086
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Has thanked: 73 times
Been thanked: 105 times
Contact:

You can add the code using the plugin HTML Code.

Enable the plugin or open it with "Settings" and insert the code in the field "Header" or "Footer".
aufbruch1900.ch, Plattform zu Kunst und Kultur um 1900
Post Reply