From f366f37f4f80348bb4abb682571b7832a45c26f0 Mon Sep 17 00:00:00 2001 From: user Date: Fri, 16 Jan 2026 21:30:10 +0200 Subject: [PATCH] added tag conversion --- src/components/CallNowDialog.tsx | 14 +++++++++++--- src/components/HeroSection.astro | 5 ++++- src/components/Partners.tsx | 9 +++++++++ src/components/molecules/CallButton.tsx | 9 ++++++++- src/components/molecules/footer.astro | 1 + src/components/molecules/navbar.tsx | 12 +++++++++++- src/pages/index.astro | 17 +++++++++++++++++ 7 files changed, 61 insertions(+), 6 deletions(-) diff --git a/src/components/CallNowDialog.tsx b/src/components/CallNowDialog.tsx index 63ed5ff..4b4b382 100644 --- a/src/components/CallNowDialog.tsx +++ b/src/components/CallNowDialog.tsx @@ -1,11 +1,11 @@ -import React from "react"; -import { cn } from "@/lib/utils"; import { - getPhoneNumber, getContactLink, + getPhoneNumber, TRANSITION_ALL, } from "@/lib/constants"; +import { cn } from "@/lib/utils"; import { PhoneCall } from "lucide-react"; +import React from "react"; import Title from "./atoms/title"; interface CallNowDialogProps { @@ -21,6 +21,13 @@ function CallNowDialog({ page }: CallNowDialogProps) { setOpen(true); }, []); + const handleClick = () => { + // @ts-ignore + if (typeof gtag_report_conversion === "function") { + gtag_report_conversion(); + } + }; + return open ? (

{phoneNumber}

diff --git a/src/components/HeroSection.astro b/src/components/HeroSection.astro index d7b9a00..def1809 100644 --- a/src/components/HeroSection.astro +++ b/src/components/HeroSection.astro @@ -43,7 +43,10 @@ import MaxWidthWrapper from "./other/max.width.wrapper"; />
- +