• Resolved philmarcopaul

    (@philmarcopaul)


    I have the Complianz Premium plugin installed and configured as recommended, but we are still not receiving EU user tracking in GA4. Please can you help to resolve this issue? I have checked Google Tag Manger, after clicking Accept on the consent popup, and then taking a number of actions including adding to basket and checkout, I noticed consent permissions are still denied and have provided a screenshot of the above. https://ibb.co/yBtnr5Q

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi @philmarcopaul,

    Thank you for reaching out and providing a detailed description of the issue. It seems like the consent permissions are not being properly set even after accepting the consent popup. This can indeed prevent GA4 from tracking user interactions as expected.

    Could you please confirm if you have followed all the steps in the Complianz documentation for setting up consent management with GA4? This includes configuring the Complianz plugin to work with Google Tag Manager and ensuring that the correct triggers and tags are set up for consent-based events.

    If you’ve already done this, we may need to look into the configuration of your Google Tag Manager. Sometimes, the issue might be with the triggers or the tags not firing as they should. Here are a few things you can check:

    • Ensure that the triggers for consent are correctly configured to listen for the ‘Accept’ event from the consent popup.
    • Verify that the tags for tracking events like ‘Add to Basket’ and ‘Checkout’ are set to fire only after consent has been given.

    It would also be helpful if you could provide more information about the setup of your tags and triggers in Google Tag Manager. This will help us understand where the issue might be occurring.

    Looking forward to your response.

    Thread Starter philmarcopaul

    (@philmarcopaul)

    Hi @afzalpansuvi

    Thanks your your reply.

    I have followed the Complianz documentation. I have selected the UK GDPR option. Notice from the screenshot how it recognises your plugin and that I have selected the correct option (you can only select one): https://ibb.co/tzM7kp0

    We also use your Google Listings and Ads plugin.

    Here are some additional screenshots including from tag manager incase this helps.
    https://ibb.co/Y3dVqT8
    https://ibb.co/vLXqDvc
    https://ibb.co/MszBgj8
    https://ibb.co/rbChTxK
    https://ibb.co/r3xFBxW
    https://ibb.co/9WcbxjZ
    https://ibb.co/tzM7kp0

    Thanks again,

    Plugin Support ckadenge (woo-hc)

    (@ckadenge)

    Hi there @philmarcopaul,

    Thanks for sharing further details on this. Looking at the screenshot, it seems all your settings are correctly setup, and you should be able to track any conversions in your store.

    Could it be possible that you are having another tracking plugin in your store?

    phil96

    (@phil96)

    Hi, no that is not possible. The only two tracking plugins we have are both Automattic built plugins: GA for Woocommerce and Google Listings and Ads. I bought Complianz because your article recommended it.

    Only by adding this code snippet to functions.php could I change the consent status, but this defeats the whole purpose of Complianz.

    add_filter( ‘woocommerce_ga_gtag_consent_modes’, function ( $consent_modes ) {
    $consent_modes[] = array(
    ‘analytics_storage’ => ‘granted’,
    ‘region’ => array( ‘GB’ ), // United Kingdom
    );
    return $consent_modes;
    } );

    Complianz support have said in relation to your plugin:
    “The issue is that when you introduce Google Consent Mode v2 to the mix, then it becomes incompatible. As I said, to add Consent Mode v2 parameters to your Google Tags, we would need to insert those Tags into your source code, not WooCommerce. So, in order to set up Consent Mode v2, you’d have to disable Google Tag insertions from other plugins like WooCommerce and instead do it solely through?Complianz. If you’d leave both insertions active, Google would still flag your domain for non Consent Mode compliance and not allow Google Analytics to work as it should, as you’d still have that WooCommerce GA script that isn’t using Consent Mode v2.??Perhaps you’d like to watch a video of one of our users about the entire Consent Mode v2 &?Complianz?situation to clarify any doubts you may have:?https://www.youtube.com/watch?si=iEcCHEHRMFN2B4X6&v=vhansLv2iC8&feature=youtu.be But I’m afraid that at this moment in time it is not guaranteed that you can insert Google Tags with other plugins and still comply with Consent Mode v2.”

    I could privately provide access to our wp-admin if this helps?

    turtletrail

    (@turtletrail)

    thanks for bringing that up @phil96

    I have purchases Complianz plugin for the very same reasons. However no matter what i did, i could not make it work with WooCommerce Google Analytics plugin.

    I did have some success using Complianz plugin solo and letting it insert the GTM for me, however that setup does not track the special event like adding to the cart and making purchase. Those events were being tracked by WooCommerce Google Analytics in the good old days.

    I would like WooCommerce Google Analytics team to create a step-by-step guide about how the plugin must be configured to work against recommended cookie banners plugin – e.g. Complianz.

    Plugin Support omarfpg a11n

    (@omarfpg)

    Hi there everyone ?? ,

    Leaving this bit here from our pinned post on the topic, just in case it helps:

    We recommend using Google Tag Assistant to verify your tags for Google Analytics and Google Ads are functioning properly. Remember, for visitors in EEA, UK, and Switzerland regions, tracking will only commence after they grant consent.

    To verify analytics tracking for your website:

    1. Start a new Tag Assistant session by visiting?https://tagassistant.google.com/?and entering your website’s URL. Click Connect after entering the URL.
    2. On your website, grant consent on the cookies banner.
    3. Return to the Tag Assistant tab and click “Continue”.
    4. Click on your tag ID (GA-xxx?for Google Analytics for WooCommerce and?AW-xxxx?for Google Listings & Ads) and select the “Hits Sent” tab.
    5. On your site tab, simulate user actions like adding products to cart, initiating checkout, etc. If Consent Mode is configured correctly, you should see these events being captured in the Tag Assistant ‘Hits Sent’ tab.

    If tracking doesn’t trigger after granting consent, it might indicate incompatibility with your consent plugin. In this case, reach out to the plugin developers for assistance in?implementing compatibility?with Google Analytics for WooCommerce and Google Listings & Ads.

    @phil96, thank you so much for the additional information from Complianz. I’m sending this to our team for further review.

    Thanks!
    -OP

    Plugin Support omarfpg a11n

    (@omarfpg)

    Hi there everyone ?? ,

    If you’re using the free Complianz plugin,?this code snippet?can be used to ensure compatibility. I assume this will also work for the Premium version, but if anyone can confirm, that’d be great! ??

    Cheers!
    -OP

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Still no tracking for GA4 with Complianz Premium Configured’ is closed to new replies.