From 6907ff1098b50e6a14308851a1f519dbecef4d2f Mon Sep 17 00:00:00 2001
From: Kresna <13603341+slaveofcode@users.noreply.github.com>
Date: Tue, 11 Aug 2026 11:58:45 +0700
Subject: [PATCH] feat(analytics): add Google Ads conversion tag
(AW-18373579775)
Fires immediately on production hostnames only (same GA_ALLOWED_HOSTS
guard as the GA4 tag) so staging, forks, previews and localhost never
pollute the Ads account. Reuses the shared window.gtag/dataLayer queue.
---
src/layouts/Base.astro | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/src/layouts/Base.astro b/src/layouts/Base.astro
index 5eb5789..7e38389 100644
--- a/src/layouts/Base.astro
+++ b/src/layouts/Base.astro
@@ -157,6 +157,22 @@ const jsonLdBlocks = [siteJsonLd, ...(Array.isArray(jsonLd) ? jsonLd : jsonLd ?
document.addEventListener('astro:page-load', revealEmails);
+
+
+