You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allow additional attributes to be passed in and hashed for enhanced conversions. This will improve matching for ads by passing in known data about the user.
The Google documentation defines what fields can be passed in, and they could be pre-hashed with SHA256. The exact data format of the API request isn't clear from the docs, but in the validate your implementation section, it mentions the em parameter will be added:
Look for a parameter “em” with a hashed string as the value. The value should start with “tv.1~em” followed by a long string of characters. If you see the "em" parameter, this means that the enhanced conversions tag is picking up and hashing the enhanced_conversion_data object.
There are a few other error codes with other validations, but the main idea is there's some prefix, and base 64 URL safe SHA-256 of the lowercase email.
It also appears that another param was added ec_mode=m. Not sure what that means though. The version I had from GTM was also sending cv=11 and fmt=3, so I'm not sure if there will be any issues with cv=9.
Thanks @wuservices ! we're looking into this, actually trying to get some insights from Google on how exactly this should be implemented. hopefully will be implemented in next few weeks.
@bjesus That's great news, and I'm glad you can work with them so we're not just guessing. Supporting other fields besides email would be great too.
FWIW I was able to use this logic with a Worker Variable and reconfigured Google Ads Enhanced Conversations to gtag and the alert on our account went away.
I saw that there was also an API based option and I was wondering if that was a better match for Zaraz to send server side, or why not use the API for all Google Ads logic instead of the client?
Activity
wuservices commentedon Jul 25, 2024
I did some reverse engineering, and it looks like you can build the
emparameter like this:There are a few other error codes with other validations, but the main idea is there's some prefix, and base 64 URL safe SHA-256 of the lowercase email.
It also appears that another param was added
ec_mode=m. Not sure what that means though. The version I had from GTM was also sendingcv=11andfmt=3, so I'm not sure if there will be any issues withcv=9.bjesus commentedon Aug 6, 2024
Thanks @wuservices ! we're looking into this, actually trying to get some insights from Google on how exactly this should be implemented. hopefully will be implemented in next few weeks.
wuservices commentedon Aug 6, 2024
@bjesus That's great news, and I'm glad you can work with them so we're not just guessing. Supporting other fields besides email would be great too.
FWIW I was able to use this logic with a Worker Variable and reconfigured Google Ads Enhanced Conversations to gtag and the alert on our account went away.
I saw that there was also an API based option and I was wondering if that was a better match for Zaraz to send server side, or why not use the API for all Google Ads logic instead of the client?
lcrespilho commentedon Sep 12, 2024
@wuservices , I think it refer to the enhanced conversions implementation mode, with "m" = "manual". If I choose the "code" implementation, ec_mode=c.
it-can commentedon Mar 13, 2025
any news on this?