YES!! Finaly I got it up and running

YES!! Finaly I got it up and running.... Enhanced conversions. Thanks to the community on discord I have to admit it was still a puzzle... but I pulled it off 🏆
No description
6 Replies
BadgeMan
BadgeManOP4w ago
Step 1: Hard code folowing scripts on page that fires purchase event (thank you page): <script> var user_data_info = { sha256_email_address: 'hashed value', sha256_phone_number: 'hashed value', address: { sha256_first_name: 'hashed value', sha256_last_name: 'hashed value', sha256_street: 'hashed value', postal_code: 'xxxxxx', city: 'xxxxxx', country: 'xx', new_customer: false } }; zaraz.track("conversion", { transaction_id: "xxxxxx", value: 1.00,currency: 'EUR', user_data: JSON.stringify(user_data_info) } ); </script>
BadgeMan
BadgeManOP4w ago
Step 2: Enable "Allow user-provided data capabilities" in the data stream -> configure tag settings.
No description
BadgeMan
BadgeManOP4w ago
Step 3: Enable 'Use enhanced conversions for this conversion action' in your primary purchase goal.
No description
BadgeMan
BadgeManOP4w ago
Step 4: Add a custom purchase event in the (Zaraz) Google Ads tool which fires on "conversion" event. Enable include event properties. (this will add the user_data which is sent by zaraz.track("conversion") to Google Ads.
No description
BadgeMan
BadgeManOP4w ago
Step 5: Be patient! Google Ads will show a green flag in approx 24-48 hours. It worked in my case! Hope this helps... Good luck!
BadgeMan
BadgeManOP4w ago
Special thanks to @MVUG for pointing me in the right direction: https://gist.github.com/it-can/188acc89637160d21ab9a37e1bbf0b2c
Gist
Cloudflare Zaraz Google Ads conversion tracking with "enhanced conv...
Cloudflare Zaraz Google Ads conversion tracking with "enhanced conversions" - checkout-succes.blade.php

Did you find this page helpful?