This is what I see at the Diagnostics

This is what I see at the Diagnostics page.
No description
52 Replies
Thanos
Thanosβ€’14mo ago
That’s perfect you are consented! If I may ask, for managing user consent, are you currently using the Zaraz consent banner (either the default or a custom version), or have you integrated a third-party CMP?
BadgeMan
BadgeManOPβ€’14mo ago
We are using the ZARAZ consent functionality... works flawlessly. www.adams-music.com Next on my list to add 'enhanced conversions' to Zaraz... Hope this will be available soon, that would really help our campaigns in Google Ads...
ItsTobias
ItsTobiasβ€’14mo ago
I am interested in this because we have never got the "Consent mode is active" banner to appear in Google Ads with Zaraz like it does in our Google Analytics account. Do you have the IAB TCF compliant modal enabled? Also, did you previously have any third party CMP services enabled prior to using Zaraz?
Thanos
Thanosβ€’14mo ago
We need everything in order the ads to work at the best (attached images) those are from account that i do not use Zaraz at all only tag manager and custom cookie bar. For now on websites that I use Zaraz i dont have the consent mode at all. It is easy for you to share the configuration of your google ads tool or any custom tool that helps to create and update the v2 signals? Thank you
No description
No description
BadgeMan
BadgeManOPβ€’14mo ago
IAB TCF disabled... We never had a CMP before but we used tag manager for consent instead. Setting the default consent state is a manual script on our website. So we don't make use of the automatic set Google Consent Mode v2 state in Zaraz... All the rest is handled by Zaraz... It took some effort to figure everything out but with the great help of @yo'av we finally got it working... πŸ™‚
Thanos
Thanosβ€’14mo ago
Hi there, @yo'av Would you be able to assist me in resolving the issue where I am not showing as consented in Google Ads? If you need extra info as domain, ID's etc can I DM? Thank you!!
BadgeMan
BadgeManOPβ€’14mo ago
I had to figure out a way to convert the cookie value 'true' and 'false' to 'granted' and 'denied' before pushing it to google_consent_update. This script worked for us: <script> document.addEventListener("zarazConsentChoicesUpdated", ()=> { strAnalytics = zaraz.consent.get('tFYh') ? 'granted' : 'denied'; strMarketing = zaraz.consent.get('WMnQ') ? 'granted' : 'denied'; zaraz.set("google_consent_update", { 'ad_storage' : strMarketing, 'ad_user_data' : strMarketing, 'ad_personalization' : strMarketing, 'analytics_storage' : strAnalytics }); }); </script>
Thanos
Thanosβ€’14mo ago
I utilize a script that initially denies and then updates based on the user's preference. <script> zaraz.set("google_consent_default", { 'ad_storage' : 'denied', 'ad_user_data' : 'denied', 'ad_personalization' : 'denied', 'analytics_storage' : 'denied' }); document.addEventListener("zarazConsentChoicesUpdated", () => { var strAnalytics = zaraz.consent.get('wizf') ? 'granted' : 'denied'; var strMarketing = zaraz.consent.get('kRCU') ? 'granted' : 'denied'; zaraz.set("google_consent_update", { 'ad_storage' : strMarketing, 'ad_user_data' : strMarketing, 'ad_personalization' : strMarketing, 'analytics_storage' : strAnalytics }); }); </script>
BadgeMan
BadgeManOPβ€’14mo ago
Ah.. yeah correct! Keep in mind that the script is not working as a Custom HTML action in Zaraz... the code needs to be in the code of the website (in the body container)
Thanos
Thanosβ€’14mo ago
I attempted both methods and received the same outcome. Both approaches included the gcd parameter in the request to Google via the URL. Is there a particular explanation for why the website's body yields better results?
BadgeMan
BadgeManOPβ€’14mo ago
@yo'av told me that if you use a custom HTML action the code may fire too late... (or too early?). Since we put the code in the HTML body container it took a while for Google Ads and Google Analytics to pick it up.... but finally got it working.
Thanos
Thanosβ€’14mo ago
The configuration look like that?
No description
No description
No description
BadgeMan
BadgeManOPβ€’14mo ago
We were happy to see this after a couple of days...
No description
Thanos
Thanosβ€’14mo ago
In Analytics almost the same day converting to zaraz was consented only in Google Ads lies the problem. That's the strange issue in my occasion.
BadgeMan
BadgeManOPβ€’14mo ago
No description
BadgeMan
BadgeManOPβ€’14mo ago
I only use one remarketing action... But I had to figure it all out myself... Don't know what's the best...
BadgeMan
BadgeManOPβ€’14mo ago
Purchase event looks like this...
No description
Unknown User
Unknown Userβ€’14mo ago
Message Not Public
Sign In & Join Server To View
BadgeMan
BadgeManOPβ€’14mo ago
Wait.... this is a thread right? Darn... Discord is so confusing to me sometimes... Sorry! How / where to continue?
Thanos
Thanosβ€’14mo ago
@yo'av I apologize for not creating the thread earlier, it may have been my mistake. Would you like to continue the conversation here? There is a lot of information available.
Unknown User
Unknown Userβ€’14mo ago
Message Not Public
Sign In & Join Server To View
ItsTobias
ItsTobiasβ€’14mo ago
I think the main issue is that when we send data using Zaraz to Google Ads. Google doesn't show that consent mode is active in the conversion goal diagnostics like it does in Analytics for the data stream. BadgeMan is a bit of a weird situation because he is getting the consent mode enabled banner in Google Ads. Although im not quite sure if BadgeMan is running GTM and Zaraz together based on his previous messages. I'm not really even sure if we should expect the consent mode banner to show in Google ads or not tbh. Google are so cryptic with how the Google Ads data is handled and what triggers the consent mode active message to show. What I refer to as the Google Ads consent mode banner is in the images attached. I have never seen these consent mode active messages in any of our ads accounts which have only ever had consent mode enabled through Zaraz. We last received a warning email from Google saying we didn't have consent mode enabled on the 26th of July, previous to that it was 13th of June and prior to that 30th of May. I am not sure if the lack of further emails stating that consent mode is not active indicates that Google is happy with the consent data we are sending now or they have just given up sending us further emails. All of this specifically relates to conversion event data sent directly to Google Ads via the Google Ads Zaraz module.
No description
No description
Thanos
Thanosβ€’14mo ago
As mentioned by @ItsTobias, the previous screenshots are from one of my Google Ads accounts that are consented by google. On the websites I use Zaraz for the consent/events, none of them has been characterized as consented (like the images), even though they were previously consented before being migrated to Zaraz. This issue only applies to Google Ads, as the accounts in Google Analytics are shown as consented. However, in debug mode, even though I am accepting all in the banner, the non_personalized_ads are always set to 1 (when accepting must be 0). This may be relevant, but I am unsure. Long story short: When I check the network for Google Ads request from the page, I see two requests to Google (https://www.google.gr/pagead/ and /googleads.g.doubleclick.net/pagead/viewthroughconversion/) that have the gcd parameter (e.g. gcd=11v1v1v1v5). However, in Google Ads -> Goals -> Summary -> Diagnostics, it shows that I am unconsented. After speaking with a Google agent, they suggested that there may be an issue with the Zaraz configuration or something else about the Zaraz consent, but they were unable to provide further advice as they could not test it due to a lack of gtag and tag manager. Sorry for the long story, I hope to find something to solve that.
BadgeMan
BadgeManOPβ€’14mo ago
I am not using GTM anymore since we completely migrated to Zaras. It took some time to figure out how to setup the consent in Zaraz, but we finally got it working (in GA4 and ADS). Maybe @yo'av can compare our configuration with yours?
BadgeMan
BadgeManOPβ€’14mo ago
Tool settings.... (not much going on there...) & remarketing action (not much going on there either).
No description
No description
BadgeMan
BadgeManOPβ€’14mo ago
I am not sure that if the 'include event properties' is enabled... do we still have to add the properties on the bottom? (currency, discount, items, transaction_id and value) or will those be sent automatically?
No description
OracleOfTheRekt
OracleOfTheRektβ€’13mo ago
Do i still have to create a purpose in zaraz for tools with auto detect to be able to get the ids here var strAnalytics = zaraz.consent.get('wizf') ? 'granted' : 'denied'; var strMarketing = zaraz.consent.get('kRCU') ? 'granted' : 'denied'; Or there is a better way?
Unknown User
Unknown Userβ€’13mo ago
Message Not Public
Sign In & Join Server To View
BadgeMan
BadgeManOPβ€’2mo ago
Hi Tobias, I wonder if you know why Google Ads doesn't pick up any conversions anymore after switching the consent to TCF compliant? I am grasping at straws here...
ItsTobias
ItsTobiasβ€’2mo ago
Sorry no, I've never used the TCF compliant consent modal, however, looking at your screenshots I would be looking into that weird character appearing in front of the currency info:
No description
ItsTobias
ItsTobiasβ€’2mo ago
I would re-arrange the order of the properties in the zaraz action, and see if the new property you put first gets corrupted also.
BadgeMan
BadgeManOPβ€’2mo ago
Correct... that's why I made that part yellow πŸ˜‰ Seems like a bug in Zaraz? If I can't get it to work by tomorrow (already missing 10 days of conversions in Ads) then we have to roll back to the none compliant consent banner (which is working).
ItsTobias
ItsTobiasβ€’2mo ago
you could try putting a dummy property in first, let that get corrupted and seeing if it fixes the request however if the bad character is causing the entire request to get dumped at Googles end then there might not be anything you can do.
BadgeMan
BadgeManOPβ€’2mo ago
I already tested without the currency property for a couple of days... Still no conversions
ItsTobias
ItsTobiasβ€’2mo ago
do you still see corrupted GET param keys if you remove the currency property? I think the currency property is a required field so I am not sure removing it will help but if you can prevent it getting corrupted that may help.
BadgeMan
BadgeManOPβ€’2mo ago
Nope... without currency property it's fine (no corrupted query)
ItsTobias
ItsTobiasβ€’2mo ago
what about if instead of adding the property directly in the action, you send the currency as part of the Zaraz track request?
ItsTobias
ItsTobiasβ€’2mo ago
I am guessing that because the actual currency parameter is not present in either requests its getting rejected due to lack of currency parameter but I am not 100% sure on that I also have absolutely no idea why enabling the IAB TCF modal would affetc the currency parameter in this way, seems incredibly strange
BadgeMan
BadgeManOPβ€’2mo ago
Yeah right? Or maybe our config in Zaraz is corrupted? I really don't know πŸ™ Hope that Zaraz can fix it soon if it's a bug.... Marketing department is breathing in my neck πŸ˜‰ Thanks anyway Tobias!
ItsTobias
ItsTobiasβ€’2mo ago
ohhh I have had corrupted configs in zaraz before I have had situations where the only way to get Zaraz working again was to use an earlier backup via the import config function
BadgeMan
BadgeManOPβ€’2mo ago
How did you notice it was corrupted?
ItsTobias
ItsTobiasβ€’2mo ago
it hasnt happened to me for a while but I used to regularly export the configurations for my domains here and re-import known working ones whenever Zaraz was playing up
No description
ItsTobias
ItsTobiasβ€’2mo ago
The issues we were facing were a little different, we make use of the HTTP Events API, and we could have this enabled yet Zaraz would refuse to respond to requests, the only way to fix it was to wipe the config and re-import a working one.
No description
BadgeMan
BadgeManOPβ€’2mo ago
Yup, I know where to find that.... I can navigate through zaraz blindfolded.... LOL I see...
ItsTobias
ItsTobiasβ€’2mo ago
We have no idea what was causing the issue, but if you imported a known broken config it would break the HTTP Events API which was very confusing to us as the export is just a json object, we could never work out what was causing the issue to happen.
BadgeMan
BadgeManOPβ€’2mo ago
Darn... I was hoping to export the current config and importing it again would fix the config.... Don't have an old config available....
ItsTobias
ItsTobiasβ€’2mo ago
I went through each parameter in the json object trying to identify the one that was breaking it but never managed to, it seemed to be a combination of parameters that caused it for no clear reason. Annoyingly when I encountered this situation the best approach I had was simply to wipe the existing config, rebuild it and then export it However, we are ultimately taking a guess that its a corrupted zaraz config and that it would be resolved in the same way I resolved that situation previously which is quite a leap of faith without some evidence to back it up so you may be unwilling to invest that much time into it :S
BadgeMan
BadgeManOPβ€’2mo ago
Already spent a week searching for a solution.... at this moment it's all I can do... build the config from scratch and light a candle...
ItsTobias
ItsTobiasβ€’2mo ago
I would encourage you to do an export whenever you have a "working" configuration
BadgeMan
BadgeManOPβ€’2mo ago
The JSON file looks fine... the lower case 'currency' gets corrupted and the one with the capital C is fine. I don't know if Google accepts 'Currency' as property name though... pfff
No description
ItsTobias
ItsTobiasβ€’2mo ago
interestingly when we had the corrupted config issue, it wasnt anything to do with the config for the actual HTTP Events API, it was something else, or a combination of something elses.

Did you find this page helpful?