Skip to content

Commit 02b8077

Browse files
committed
matomo: update enterprise mailto events
1 parent 60a05c3 commit 02b8077

File tree

2 files changed

+17
-6
lines changed

2 files changed

+17
-6
lines changed

app/[locale]/enterprise/page.tsx

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -269,9 +269,9 @@ const Page = async ({ params }: { params: Promise<{ locale: Lang }> }) => {
269269
content: t("page-enterprise-hero-cta"),
270270
href: ENTERPRISE_MAILTO,
271271
matomo: {
272-
eventCategory: "enterprise hero buttons",
273-
eventAction: "click",
274-
eventName: "get in touch",
272+
eventCategory: "enterprise",
273+
eventAction: "CTA",
274+
eventName: "header_cta",
275275
},
276276
},
277277
]}
@@ -439,7 +439,14 @@ const Page = async ({ params }: { params: Promise<{ locale: Lang }> }) => {
439439
<p className="max-w-prose px-6 text-center md:px-8">
440440
{t("page-enterprise-team-description")}
441441
</p>
442-
<ButtonLink href={ENTERPRISE_MAILTO}>
442+
<ButtonLink
443+
href={ENTERPRISE_MAILTO}
444+
customEventOptions={{
445+
eventCategory: "enterprise",
446+
eventAction: "CTA",
447+
eventName: "bottom_mail",
448+
}}
449+
>
443450
{t("page-enterprise-hero-cta")}
444451
</ButtonLink>
445452
</section>

public/content/enterprise/use-cases/index.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ Ethereum can help many kinds of businesses, including large companies:
1313
- Build new business models and value creation opportunities
1414
- Competitively future-proof their organization
1515

16-
<ButtonLink href="mailto:[email protected]?subject=Enterprise%20inquiry">Get in touch</ButtonLink>
16+
<ButtonLink href="mailto:[email protected]?subject=Enterprise%20inquiry" customEventOptions={{ eventCategory: "enterprise", eventAction: "CTA", eventName: "usecases" }}>
17+
Get in touch
18+
</ButtonLink>
1719

1820
## Enterprise applications built on Ethereum {#enterprise-applications-on-ethereum}
1921

@@ -160,6 +162,8 @@ Some collaborative efforts to make Ethereum enterprise friendly have been made b
160162

161163
<Callout titleKey="enterprise-team" descriptionKey="enterprise-team-description">
162164
<div>
163-
<ButtonLink href="mailto:[email protected]?subject=Enterprise%20inquiry">Get in touch</ButtonLink>
165+
<ButtonLink href="mailto:[email protected]?subject=Enterprise%20inquiry" customEventOptions={{ eventCategory: "enterprise", eventAction: "CTA", eventName: "usecases" }}>
166+
Get in touch
167+
</ButtonLink>
164168
</div>
165169
</Callout>

0 commit comments

Comments
 (0)