11ty: Add unified CTA partials with PostHog tracking matching Nuxt - #5626
Open
Yndira-E wants to merge 2 commits into
Open
11ty: Add unified CTA partials with PostHog tracking matching Nuxt#5626Yndira-E wants to merge 2 commits into
Yndira-E wants to merge 2 commits into
Conversation
✅ Deploy Preview for flowforge-website ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Yndira-E
force-pushed
the
11ty/cta-partial
branch
from
August 18, 2026 07:40
dfc0f47 to
ff228ae
Compare
Yndira-E
force-pushed
the
11ty/cta-partial
branch
from
August 18, 2026 08:43
ff228ae to
1459e32
Compare
Yndira-E
marked this pull request as ready for review
August 18, 2026 08:56
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Description
Follow-up to #5517. Adds five Nunjucks macros in
src/_includes/components/cta/(ctaSignUp,ctaSignIn,ctaContactUs,ctaBookDemo,ctaPricing) mirroring the NuxtCta*components — same fixed copy/href, same PostHog event, same{position, variant}payload. Migrated every hand-written CTA link acrosssrc/to use them, and unified ~10 fragmented event names (cta-join,cta-talk-us,try-it-out, etc.) into the ones Nuxt already uses, so PostHog can group clicks site-wide under one event name regardless of framework.Each destination's event/href/label now lives in
src/_data/ctaDestinations.json, imported by both Vue and Nunjucks — copy can't drift between frameworks silently. Also addedCtaPricingas a fifth destination (/pricing/) after finding 5 hand-written instances repeating the same pattern in both frameworks (BlogPostCta.vue,product/index.vue,product/[tier].vue,automotive.njk).Related Issue(s)
Checklist