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"; />