support home

Back to website
Welcome
Login  Sign up
Solved

Google analytics page views are not tracking when privacy controls / cookie solution is embedded

Google Analytics page views are not tracking when privacy controls/cookie solution is embedded.

When i removed the cookie solution code, google Analytics page views track correctly.

this is the code I have embedded:

 

<script type="text/javascript">
var _iub = _iub || [];
_iub.csConfiguration = {"applyGdprForCH":false,"askConsentAtCookiePolicyUpdate":true,"countryDetection":true,"enableFadp":true,"enableLgpd":true,"enableTcf":true,"floatingPreferencesButtonDisplay":"bottom-right","gdprAppliesGlobally":false,"googleAdditionalConsentMode":true,"lang":"en","lgpdAppliesGlobally":false,"perPurposeConsent":true,"reloadOnConsent":true,"siteId":543404,"tcfPurposes":{"2":"consent_only","7":"consent_only","8":"consent_only","9":"consent_only","10":"consent_only","11":"consent_only"},"cookiePolicyId":7843777, "banner":{ "acceptButtonCaptionColor":"#FFFFFF","acceptButtonColor":"#0073CE","acceptButtonDisplay":true,"backgroundColor":"#FFFFFF","closeButtonRejects":true,"customizeButtonCaptionColor":"#4D4D4D","customizeButtonColor":"#DADADA","customizeButtonDisplay":true,"explicitWithdrawal":true,"listPurposes":true,"prependOnBody":true,"rejectButtonCaptionColor":"#FFFFFF","rejectButtonColor":"#0073CE","rejectButtonDisplay":true,"showPurposesToggles":true,"textColor":"#000000" }};
</script>
<script type="text/javascript" src="//cs.iubenda.com/sync/543404.js"></script>
<script type="text/javascript" src="//cdn.iubenda.com/cs/tcf/stub-v2.js"></script>
<script type="text/javascript" src="//cdn.iubenda.com/cs/tcf/safe-tcf-v2.js"></script>
<script type="text/javascript" src="//cdn.iubenda.com/cs/iubenda_cs.js" charset="UTF-8" async></script>

 

  • Hi Dan, 


    thank you for reaching out to us on the forum. To provide you with the most accurate and personalized support, we kindly request that you contact us via email at [email protected] or via our chat. By communicating with one of our support agents, we will have a private and dedicated channel for addressing your specific concerns, allowing us to gather all necessary information and provide a more detailed response. 


    Kind regards

    Sahar

    iubenda