Skip to main content

My organization is working with a marketing agency which has asked me to add two chunks of Google Analytics/Tag Manager code, one in the header and one in the body. I enabled GA4 but I only see a single field for code. Can both header and body codes be placed here?

Docebo customer support suggested I try the Zendesk widget because the code is javascript, but nowhere in the community do I see this solution being discussed.

I found the other community posts on this topic somewhat confusing and am not sure how to proceed.

Thank you.

Unfortunately the options for GA in Docebo are limited. There is no header/body location to input the embed code, there is only the Google Analytics app container to place the script which I believe needs to be a GA4 embed code without Google Tag Manager as the addition of GTM adds javascript which is not supported.

I have used the Zendesk widget as an injection for Javascript in a few ways (Google Tag Manager testing, ContentSquare, MS Clarity, etc) however, it’s best if you go this route to have your Google Analytics experts test that the code input into the Zendesk container is actually complying with your privacy/cookie policies if needed. In my previous experience with this we were using an integrated OneTrust cookie policy which did NOT fire in compliance with the injected Google Analytics (Tag Manager) code and so we were unable to use either the GA4 app or the Zendesk app. 


Reply