Skip to content

Instantly share code, notes, and snippets.

View imranshuvo's full-sized avatar
🏠
Working from home

Md Imran Khan imranshuvo

🏠
Working from home
  • Dhaka, Bangladesh
View GitHub Profile
@imranshuvo
imranshuvo / checkout-succes.blade.php
Created September 29, 2025 06:58 — forked from it-can/checkout-succes.blade.php
Cloudflare Zaraz Google Ads conversion tracking with "enhanced conversions"
<script>
var user_data_info = {
sha256_email_address: '{{ normalizeAndHashEmailAddress($invoice->email) }}',
sha256_phone_number: '{{ normalizeAndHash(formatPhoneE164($invoice->billing_telephone)) }}',
address: {
sha256_first_name: '{{ normalizeAndHash($firstname ?? '') }}',
sha256_last_name: '{{ normalizeAndHash($lastname ?? '') }}',
sha256_street: '{{ normalizeAndHash($invoice->billing_address . ' ' . $invoice->billing_address_nr) }}',
postal_code: '{{ $invoice->billing_zipcode }}',
city: '{{ $invoice->billing_city }}',