@stacksjs/defaults 0.75.515 → 0.75.518
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ai/AGENTS.md +2 -2
- package/ai/skills/stacks-buddy/SKILL.md +1 -1
- package/ai/skills/stacks-build/SKILL.md +10 -0
- package/ai/skills/stacks-chief-of-staff/NOTICE.md +2 -2
- package/ai/skills/stacks-chief-of-staff/PLAYBOOK.md +32 -2
- package/ai/skills/stacks-codebase-design/DESIGN-IT-TWICE.md +1 -2
- package/ai/skills/stacks-codebase-design/NOTICE.md +2 -2
- package/ai/skills/stacks-docs/SKILL.md +78 -80
- package/ai/skills/stacks-domain-modeling/NOTICE.md +2 -2
- package/ai/skills/stacks-flow/ENGINEERING.md +3 -0
- package/ai/skills/stacks-flow/NOTICE.md +2 -2
- package/ai/skills/stacks-flow/upstream-skills.json +121 -90
- package/ai/skills/stacks-git/NOTICE.md +2 -2
- package/ai/skills/stacks-grill-with-docs/NOTICE.md +2 -2
- package/ai/skills/stacks-grilling/NOTICE.md +4 -4
- package/ai/skills/stacks-guard/NOTICE.md +2 -2
- package/ai/skills/stacks-handoff/NOTICE.md +4 -4
- package/ai/skills/stacks-implement/NOTICE.md +2 -2
- package/ai/skills/stacks-implement-spec/NOTICE.md +2 -2
- package/ai/skills/stacks-implement-spec/PLAYBOOK.md +4 -2
- package/ai/skills/stacks-improve-codebase-architecture/NOTICE.md +2 -2
- package/ai/skills/stacks-improve-codebase-architecture/PLAYBOOK.md +1 -1
- package/ai/skills/stacks-investigate/NOTICE.md +2 -2
- package/ai/skills/stacks-loop/NOTICE.md +2 -2
- package/ai/skills/stacks-marketing/CATALOG.md +5 -2
- package/ai/skills/stacks-marketing/NOTICE.md +2 -2
- package/ai/skills/stacks-marketing/SKILL.md +1 -1
- package/ai/skills/stacks-marketing-ab-testing/NOTICE.md +2 -2
- package/ai/skills/stacks-marketing-ab-testing/PLAYBOOK.md +9 -4
- package/ai/skills/stacks-marketing-ab-testing/SKILL.md +1 -1
- package/ai/skills/stacks-marketing-ab-testing/references/sample-size-guide.md +42 -27
- package/ai/skills/stacks-marketing-ad-creative/NOTICE.md +2 -2
- package/ai/skills/stacks-marketing-ad-creative/PLAYBOOK.md +41 -11
- package/ai/skills/stacks-marketing-ad-creative/SKILL.md +1 -1
- package/ai/skills/stacks-marketing-ad-creative/evals/evals.json +1 -1
- package/ai/skills/stacks-marketing-ad-creative/references/generative-tools.md +47 -51
- package/ai/skills/stacks-marketing-ad-creative/references/hook-system.md +7 -0
- package/ai/skills/stacks-marketing-ad-creative/references/imessage-video-ads.md +2 -2
- package/ai/skills/stacks-marketing-ads/NOTICE.md +2 -2
- package/ai/skills/stacks-marketing-ads/PLAYBOOK.md +37 -28
- package/ai/skills/stacks-marketing-ads/SKILL.md +1 -1
- package/ai/skills/stacks-marketing-ads/evals/evals.json +53 -0
- package/ai/skills/stacks-marketing-ads/references/abm-playbook.md +1 -1
- package/ai/skills/stacks-marketing-ads/references/audit-guardrails.md +11 -1
- package/ai/skills/stacks-marketing-ads/references/creative-research-automation.md +19 -0
- package/ai/skills/stacks-marketing-ads/references/google-ads-audit-checklist.md +35 -2
- package/ai/skills/stacks-marketing-ads/references/google-search-playbook.md +4 -0
- package/ai/skills/stacks-marketing-ads/references/linkedin-b2b-playbook.md +2 -0
- package/ai/skills/stacks-marketing-ads/references/meta-andromeda-playbook.md +33 -0
- package/ai/skills/stacks-marketing-ads/references/operating-check.md +75 -0
- package/ai/skills/stacks-marketing-ads/references/reading-google-ads-data.md +1 -1
- package/ai/skills/stacks-marketing-ai-seo/NOTICE.md +2 -2
- package/ai/skills/stacks-marketing-ai-seo/PLAYBOOK.md +32 -30
- package/ai/skills/stacks-marketing-ai-seo/SKILL.md +1 -1
- package/ai/skills/stacks-marketing-ai-seo/evals/evals.json +27 -0
- package/ai/skills/stacks-marketing-ai-seo/references/agent-defaults.md +79 -0
- package/ai/skills/stacks-marketing-ai-seo/references/agent-readiness.md +61 -11
- package/ai/skills/stacks-marketing-ai-seo/references/ai-attribution.md +54 -0
- package/ai/skills/stacks-marketing-ai-seo/references/answer-accuracy.md +84 -0
- package/ai/skills/stacks-marketing-ai-seo/references/citations-vs-recommendations.md +32 -1
- package/ai/skills/stacks-marketing-ai-seo/references/content-patterns.md +24 -0
- package/ai/skills/stacks-marketing-ai-seo/references/multilingual-and-commerce.md +55 -0
- package/ai/skills/stacks-marketing-ai-seo/references/platform-ranking-factors.md +31 -11
- package/ai/skills/stacks-marketing-ai-seo/references/prompt-portfolio.md +97 -0
- package/ai/skills/stacks-marketing-analytics/NOTICE.md +2 -2
- package/ai/skills/stacks-marketing-analytics/PLAYBOOK.md +74 -15
- package/ai/skills/stacks-marketing-analytics/SKILL.md +1 -1
- package/ai/skills/stacks-marketing-analytics/references/event-library.md +2 -2
- package/ai/skills/stacks-marketing-analytics/references/ga4-implementation.md +3 -3
- package/ai/skills/stacks-marketing-aso/NOTICE.md +2 -2
- package/ai/skills/stacks-marketing-aso/SKILL.md +1 -1
- package/ai/skills/stacks-marketing-aso/references/apple-specs.md +1 -1
- package/ai/skills/stacks-marketing-aso/references/scoring-criteria.md +3 -3
- package/ai/skills/stacks-marketing-attribution/NOTICE.md +2 -2
- package/ai/skills/stacks-marketing-attribution/PLAYBOOK.md +11 -11
- package/ai/skills/stacks-marketing-attribution/SKILL.md +1 -1
- package/ai/skills/stacks-marketing-attribution/references/by-business-type.md +1 -1
- package/ai/skills/stacks-marketing-attribution/references/measurement-paradigms.md +4 -3
- package/ai/skills/stacks-marketing-churn-prevention/NOTICE.md +2 -2
- package/ai/skills/stacks-marketing-churn-prevention/PLAYBOOK.md +14 -4
- package/ai/skills/stacks-marketing-churn-prevention/SKILL.md +1 -1
- package/ai/skills/stacks-marketing-churn-prevention/references/dunning-playbook.md +10 -7
- package/ai/skills/stacks-marketing-co-marketing/NOTICE.md +2 -2
- package/ai/skills/stacks-marketing-co-marketing/PLAYBOOK.md +4 -4
- package/ai/skills/stacks-marketing-co-marketing/SKILL.md +1 -1
- package/ai/skills/stacks-marketing-co-marketing/references/partnership-types.md +2 -2
- package/ai/skills/stacks-marketing-cold-email/NOTICE.md +2 -2
- package/ai/skills/stacks-marketing-cold-email/PLAYBOOK.md +6 -6
- package/ai/skills/stacks-marketing-cold-email/SKILL.md +1 -1
- package/ai/skills/stacks-marketing-cold-email/references/deliverability.md +1 -1
- package/ai/skills/stacks-marketing-cold-email/references/follow-up-sequences.md +1 -1
- package/ai/skills/stacks-marketing-cold-email/references/multichannel-cadence.md +1 -1
- package/ai/skills/stacks-marketing-cold-email/references/outbound-plays.md +1 -1
- package/ai/skills/stacks-marketing-cold-email/references/personalization.md +1 -1
- package/ai/skills/stacks-marketing-community-marketing/NOTICE.md +2 -2
- package/ai/skills/stacks-marketing-community-marketing/PLAYBOOK.md +1 -1
- package/ai/skills/stacks-marketing-community-marketing/SKILL.md +1 -1
- package/ai/skills/stacks-marketing-community-marketing/references/community-models.md +2 -2
- package/ai/skills/stacks-marketing-competitor-profiling/NOTICE.md +2 -2
- package/ai/skills/stacks-marketing-competitor-profiling/PLAYBOOK.md +2 -0
- package/ai/skills/stacks-marketing-competitor-profiling/SKILL.md +1 -1
- package/ai/skills/stacks-marketing-competitors/NOTICE.md +1 -1
- package/ai/skills/stacks-marketing-competitors/SKILL.md +1 -1
- package/ai/skills/stacks-marketing-content-strategy/NOTICE.md +2 -2
- package/ai/skills/stacks-marketing-content-strategy/PLAYBOOK.md +4 -1
- package/ai/skills/stacks-marketing-content-strategy/SKILL.md +1 -1
- package/ai/skills/stacks-marketing-content-strategy/references/headless-cms.md +3 -3
- package/ai/skills/stacks-marketing-conversion-tracking/LICENSE +21 -0
- package/ai/skills/stacks-marketing-conversion-tracking/NOTICE.md +12 -0
- package/ai/skills/stacks-marketing-conversion-tracking/PLAYBOOK.md +164 -0
- package/ai/skills/stacks-marketing-conversion-tracking/SKILL.md +16 -0
- package/ai/skills/stacks-marketing-conversion-tracking/assets/gtm-recipes/README.md +61 -0
- package/ai/skills/stacks-marketing-conversion-tracking/assets/gtm-recipes/detect/detect-acuity-scheduling.json +160 -0
- package/ai/skills/stacks-marketing-conversion-tracking/assets/gtm-recipes/detect/detect-cal-com.json +141 -0
- package/ai/skills/stacks-marketing-conversion-tracking/assets/gtm-recipes/detect/detect-calendly.json +122 -0
- package/ai/skills/stacks-marketing-conversion-tracking/assets/gtm-recipes/detect/detect-contact-form-7.json +103 -0
- package/ai/skills/stacks-marketing-conversion-tracking/assets/gtm-recipes/detect/detect-divi-forms.json +103 -0
- package/ai/skills/stacks-marketing-conversion-tracking/assets/gtm-recipes/detect/detect-elementor-forms.json +103 -0
- package/ai/skills/stacks-marketing-conversion-tracking/assets/gtm-recipes/detect/detect-file-download.json +81 -0
- package/ai/skills/stacks-marketing-conversion-tracking/assets/gtm-recipes/detect/detect-fluent-forms.json +104 -0
- package/ai/skills/stacks-marketing-conversion-tracking/assets/gtm-recipes/detect/detect-formidable-forms.json +103 -0
- package/ai/skills/stacks-marketing-conversion-tracking/assets/gtm-recipes/detect/detect-forminator.json +103 -0
- package/ai/skills/stacks-marketing-conversion-tracking/assets/gtm-recipes/detect/detect-framer-forms.json +103 -0
- package/ai/skills/stacks-marketing-conversion-tracking/assets/gtm-recipes/detect/detect-generic-ajax-form.json +81 -0
- package/ai/skills/stacks-marketing-conversion-tracking/assets/gtm-recipes/detect/detect-gravity-forms.json +103 -0
- package/ai/skills/stacks-marketing-conversion-tracking/assets/gtm-recipes/detect/detect-hubspot-forms.json +103 -0
- package/ai/skills/stacks-marketing-conversion-tracking/assets/gtm-recipes/detect/detect-jotform.json +103 -0
- package/ai/skills/stacks-marketing-conversion-tracking/assets/gtm-recipes/detect/detect-ninja-forms.json +103 -0
- package/ai/skills/stacks-marketing-conversion-tracking/assets/gtm-recipes/detect/detect-phone-click.json +81 -0
- package/ai/skills/stacks-marketing-conversion-tracking/assets/gtm-recipes/detect/detect-squarespace-forms.json +122 -0
- package/ai/skills/stacks-marketing-conversion-tracking/assets/gtm-recipes/detect/detect-tally.json +122 -0
- package/ai/skills/stacks-marketing-conversion-tracking/assets/gtm-recipes/detect/detect-thank-you-page.json +81 -0
- package/ai/skills/stacks-marketing-conversion-tracking/assets/gtm-recipes/detect/detect-typeform.json +122 -0
- package/ai/skills/stacks-marketing-conversion-tracking/assets/gtm-recipes/detect/detect-webflow-forms.json +103 -0
- package/ai/skills/stacks-marketing-conversion-tracking/assets/gtm-recipes/detect/detect-wix-forms.json +103 -0
- package/ai/skills/stacks-marketing-conversion-tracking/assets/gtm-recipes/detect/detect-wix-scheduling.json +103 -0
- package/ai/skills/stacks-marketing-conversion-tracking/assets/gtm-recipes/detect/detect-wpforms.json +103 -0
- package/ai/skills/stacks-marketing-conversion-tracking/assets/gtm-recipes/detect/detect-ws-form.json +103 -0
- package/ai/skills/stacks-marketing-conversion-tracking/assets/gtm-recipes/event-map.json +132 -0
- package/ai/skills/stacks-marketing-conversion-tracking/assets/gtm-recipes/send/ga4.json +58 -0
- package/ai/skills/stacks-marketing-conversion-tracking/assets/gtm-recipes/send/google-ads.json +76 -0
- package/ai/skills/stacks-marketing-conversion-tracking/assets/gtm-recipes/send/linkedin.json +128 -0
- package/ai/skills/stacks-marketing-conversion-tracking/assets/gtm-recipes/send/meta.json +128 -0
- package/ai/skills/stacks-marketing-conversion-tracking/assets/gtm-recipes/send/microsoft.json +128 -0
- package/ai/skills/stacks-marketing-conversion-tracking/assets/gtm-recipes/send/tiktok.json +128 -0
- package/ai/skills/stacks-marketing-conversion-tracking/assets/snippets/README.md +112 -0
- package/ai/skills/stacks-marketing-conversion-tracking/assets/snippets/acuity-scheduling-field.html +28 -0
- package/ai/skills/stacks-marketing-conversion-tracking/assets/snippets/acuity-scheduling.js +75 -0
- package/ai/skills/stacks-marketing-conversion-tracking/assets/snippets/cal-com.js +134 -0
- package/ai/skills/stacks-marketing-conversion-tracking/assets/snippets/calendly.js +113 -0
- package/ai/skills/stacks-marketing-conversion-tracking/assets/snippets/contact-form-7.js +101 -0
- package/ai/skills/stacks-marketing-conversion-tracking/assets/snippets/divi-forms.js +54 -0
- package/ai/skills/stacks-marketing-conversion-tracking/assets/snippets/elementor-forms.js +54 -0
- package/ai/skills/stacks-marketing-conversion-tracking/assets/snippets/file-download.js +96 -0
- package/ai/skills/stacks-marketing-conversion-tracking/assets/snippets/fluent-forms.js +103 -0
- package/ai/skills/stacks-marketing-conversion-tracking/assets/snippets/formidable-forms.js +203 -0
- package/ai/skills/stacks-marketing-conversion-tracking/assets/snippets/forminator.js +65 -0
- package/ai/skills/stacks-marketing-conversion-tracking/assets/snippets/framer-forms.js +96 -0
- package/ai/skills/stacks-marketing-conversion-tracking/assets/snippets/generic-ajax-form.js +165 -0
- package/ai/skills/stacks-marketing-conversion-tracking/assets/snippets/gravity-forms.js +234 -0
- package/ai/skills/stacks-marketing-conversion-tracking/assets/snippets/hubspot-forms.js +162 -0
- package/ai/skills/stacks-marketing-conversion-tracking/assets/snippets/jotform.js +32 -0
- package/ai/skills/stacks-marketing-conversion-tracking/assets/snippets/ninja-forms.js +154 -0
- package/ai/skills/stacks-marketing-conversion-tracking/assets/snippets/phone-click.js +71 -0
- package/ai/skills/stacks-marketing-conversion-tracking/assets/snippets/squarespace-forms.js +428 -0
- package/ai/skills/stacks-marketing-conversion-tracking/assets/snippets/tally.js +167 -0
- package/ai/skills/stacks-marketing-conversion-tracking/assets/snippets/thank-you-page.js +87 -0
- package/ai/skills/stacks-marketing-conversion-tracking/assets/snippets/typeform.js +147 -0
- package/ai/skills/stacks-marketing-conversion-tracking/assets/snippets/webflow-forms.js +57 -0
- package/ai/skills/stacks-marketing-conversion-tracking/assets/snippets/wix-forms.js +232 -0
- package/ai/skills/stacks-marketing-conversion-tracking/assets/snippets/wix-scheduling.js +80 -0
- package/ai/skills/stacks-marketing-conversion-tracking/assets/snippets/wpforms.js +198 -0
- package/ai/skills/stacks-marketing-conversion-tracking/assets/snippets/ws-form.js +57 -0
- package/ai/skills/stacks-marketing-conversion-tracking/evals/evals.json +264 -0
- package/ai/skills/stacks-marketing-conversion-tracking/references/audit-playbook.md +106 -0
- package/ai/skills/stacks-marketing-conversion-tracking/references/browser-side.md +424 -0
- package/ai/skills/stacks-marketing-conversion-tracking/references/conversion-moments.md +318 -0
- package/ai/skills/stacks-marketing-conversion-tracking/references/discrepancies.md +136 -0
- package/ai/skills/stacks-marketing-conversion-tracking/references/ecommerce-platforms.md +71 -0
- package/ai/skills/stacks-marketing-conversion-tracking/references/google-ads.md +316 -0
- package/ai/skills/stacks-marketing-conversion-tracking/references/meta.md +202 -0
- package/ai/skills/stacks-marketing-conversion-tracking/references/other-platforms.md +201 -0
- package/ai/skills/stacks-marketing-conversion-tracking/references/server-side.md +167 -0
- package/ai/skills/stacks-marketing-conversion-tracking/scripts/build-recipe.ts +140 -0
- package/ai/skills/stacks-marketing-copy-editing/NOTICE.md +2 -2
- package/ai/skills/stacks-marketing-copy-editing/PLAYBOOK.md +3 -1
- package/ai/skills/stacks-marketing-copy-editing/SKILL.md +1 -1
- package/ai/skills/stacks-marketing-copy-editing/evals/evals.json +13 -0
- package/ai/skills/stacks-marketing-copy-editing/references/checklist.md +24 -0
- package/ai/skills/stacks-marketing-copywriting/NOTICE.md +2 -2
- package/ai/skills/stacks-marketing-copywriting/PLAYBOOK.md +55 -2
- package/ai/skills/stacks-marketing-copywriting/SKILL.md +1 -1
- package/ai/skills/stacks-marketing-copywriting/evals/evals.json +14 -0
- package/ai/skills/stacks-marketing-copywriting/references/ai-tells.md +48 -0
- package/ai/skills/stacks-marketing-copywriting/references/copy-frameworks.md +1 -1
- package/ai/skills/stacks-marketing-council/NOTICE.md +1 -1
- package/ai/skills/stacks-marketing-council/SKILL.md +1 -1
- package/ai/skills/stacks-marketing-cro/NOTICE.md +1 -1
- package/ai/skills/stacks-marketing-cro/PLAYBOOK.md +1 -1
- package/ai/skills/stacks-marketing-cro/SKILL.md +1 -1
- package/ai/skills/stacks-marketing-customer-research/NOTICE.md +2 -2
- package/ai/skills/stacks-marketing-customer-research/PLAYBOOK.md +1 -1
- package/ai/skills/stacks-marketing-customer-research/SKILL.md +1 -1
- package/ai/skills/stacks-marketing-customer-research/references/source-guides.md +1 -1
- package/ai/skills/stacks-marketing-directory-submissions/NOTICE.md +2 -2
- package/ai/skills/stacks-marketing-directory-submissions/PLAYBOOK.md +6 -5
- package/ai/skills/stacks-marketing-directory-submissions/SKILL.md +1 -1
- package/ai/skills/stacks-marketing-directory-submissions/evals/evals.json +14 -2
- package/ai/skills/stacks-marketing-directory-submissions/references/directory-list.md +4 -4
- package/ai/skills/stacks-marketing-directory-submissions/references/positioning-variations.md +1 -1
- package/ai/skills/stacks-marketing-directory-submissions/references/submission-tracker-template.csv +1 -1
- package/ai/skills/stacks-marketing-emails/NOTICE.md +2 -2
- package/ai/skills/stacks-marketing-emails/PLAYBOOK.md +9 -7
- package/ai/skills/stacks-marketing-emails/SKILL.md +1 -1
- package/ai/skills/stacks-marketing-events/NOTICE.md +1 -1
- package/ai/skills/stacks-marketing-events/SKILL.md +1 -1
- package/ai/skills/stacks-marketing-free-tools/NOTICE.md +2 -2
- package/ai/skills/stacks-marketing-free-tools/PLAYBOOK.md +6 -5
- package/ai/skills/stacks-marketing-free-tools/SKILL.md +1 -1
- package/ai/skills/stacks-marketing-free-tools/evals/evals.json +3 -2
- package/ai/skills/stacks-marketing-free-tools/references/tool-benchmarks.md +24 -23
- package/ai/skills/stacks-marketing-ideas/NOTICE.md +2 -2
- package/ai/skills/stacks-marketing-ideas/PLAYBOOK.md +1 -0
- package/ai/skills/stacks-marketing-ideas/SKILL.md +1 -1
- package/ai/skills/stacks-marketing-image/NOTICE.md +2 -2
- package/ai/skills/stacks-marketing-image/PLAYBOOK.md +6 -6
- package/ai/skills/stacks-marketing-image/SKILL.md +1 -1
- package/ai/skills/stacks-marketing-image/references/ai-image-prompting.md +5 -5
- package/ai/skills/stacks-marketing-influencer-marketing/NOTICE.md +2 -2
- package/ai/skills/stacks-marketing-influencer-marketing/PLAYBOOK.md +11 -4
- package/ai/skills/stacks-marketing-influencer-marketing/SKILL.md +1 -1
- package/ai/skills/stacks-marketing-influencer-marketing/evals/evals.json +14 -0
- package/ai/skills/stacks-marketing-influencer-marketing/references/newsletter-sponsorships.md +76 -0
- package/ai/skills/stacks-marketing-influencer-marketing/references/paid-ads-creator-program.md +79 -0
- package/ai/skills/stacks-marketing-influencer-marketing/references/telegram-channels.md +111 -0
- package/ai/skills/stacks-marketing-launch/NOTICE.md +1 -1
- package/ai/skills/stacks-marketing-launch/PLAYBOOK.md +1 -1
- package/ai/skills/stacks-marketing-launch/SKILL.md +1 -1
- package/ai/skills/stacks-marketing-launch/references/site-launch-qa.md +2 -2
- package/ai/skills/stacks-marketing-lead-magnets/NOTICE.md +2 -2
- package/ai/skills/stacks-marketing-lead-magnets/PLAYBOOK.md +1 -2
- package/ai/skills/stacks-marketing-lead-magnets/SKILL.md +1 -1
- package/ai/skills/stacks-marketing-link-building/LICENSE +21 -0
- package/ai/skills/stacks-marketing-link-building/NOTICE.md +8 -0
- package/ai/skills/stacks-marketing-link-building/PLAYBOOK.md +167 -0
- package/ai/skills/stacks-marketing-link-building/SKILL.md +16 -0
- package/ai/skills/stacks-marketing-link-building/evals/evals.json +71 -0
- package/ai/skills/stacks-marketing-link-building/references/prospecting-and-outreach.md +114 -0
- package/ai/skills/stacks-marketing-link-building/references/risk-policy.md +56 -0
- package/ai/skills/stacks-marketing-link-building/references/tactics.md +106 -0
- package/ai/skills/stacks-marketing-loops/NOTICE.md +2 -2
- package/ai/skills/stacks-marketing-loops/PLAYBOOK.md +3 -2
- package/ai/skills/stacks-marketing-loops/SKILL.md +2 -2
- package/ai/skills/stacks-marketing-loops/references/loop-catalog.md +131 -14
- package/ai/skills/stacks-marketing-loops/references/loop-orchestration.md +2 -2
- package/ai/skills/stacks-marketing-loops/references/loop-state.md +21 -0
- package/ai/skills/stacks-marketing-loops/references/seo-operator.md +1 -1
- package/ai/skills/stacks-marketing-offers/NOTICE.md +2 -2
- package/ai/skills/stacks-marketing-offers/PLAYBOOK.md +1 -1
- package/ai/skills/stacks-marketing-offers/SKILL.md +1 -1
- package/ai/skills/stacks-marketing-offers/evals/evals.json +13 -0
- package/ai/skills/stacks-marketing-offers/references/offer-formats.md +1 -1
- package/ai/skills/stacks-marketing-onboarding/NOTICE.md +2 -2
- package/ai/skills/stacks-marketing-onboarding/PLAYBOOK.md +10 -4
- package/ai/skills/stacks-marketing-onboarding/SKILL.md +1 -1
- package/ai/skills/stacks-marketing-onboarding/evals/evals.json +2 -2
- package/ai/skills/stacks-marketing-onboarding/references/activation-models.md +4 -1
- package/ai/skills/stacks-marketing-paywalls/NOTICE.md +2 -2
- package/ai/skills/stacks-marketing-paywalls/PLAYBOOK.md +3 -0
- package/ai/skills/stacks-marketing-paywalls/SKILL.md +1 -1
- package/ai/skills/stacks-marketing-paywalls/evals/evals.json +15 -0
- package/ai/skills/stacks-marketing-paywalls/references/experiments.md +7 -3
- package/ai/skills/stacks-marketing-paywalls/references/mobile-subscription-paywalls.md +69 -0
- package/ai/skills/stacks-marketing-plan/NOTICE.md +2 -2
- package/ai/skills/stacks-marketing-plan/PLAYBOOK.md +5 -0
- package/ai/skills/stacks-marketing-plan/SKILL.md +1 -1
- package/ai/skills/stacks-marketing-popups/NOTICE.md +2 -2
- package/ai/skills/stacks-marketing-popups/PLAYBOOK.md +1 -2
- package/ai/skills/stacks-marketing-popups/SKILL.md +1 -1
- package/ai/skills/stacks-marketing-pricing/NOTICE.md +2 -2
- package/ai/skills/stacks-marketing-pricing/SKILL.md +1 -1
- package/ai/skills/stacks-marketing-pricing/references/research-methods.md +12 -2
- package/ai/skills/stacks-marketing-product-marketing/NOTICE.md +2 -2
- package/ai/skills/stacks-marketing-product-marketing/PLAYBOOK.md +72 -7
- package/ai/skills/stacks-marketing-product-marketing/SKILL.md +1 -1
- package/ai/skills/stacks-marketing-product-marketing/references/brand-voice.md +103 -0
- package/ai/skills/stacks-marketing-programmatic-seo/NOTICE.md +2 -2
- package/ai/skills/stacks-marketing-programmatic-seo/PLAYBOOK.md +1 -1
- package/ai/skills/stacks-marketing-programmatic-seo/SKILL.md +1 -1
- package/ai/skills/stacks-marketing-programmatic-seo/references/implementation-platforms.md +2 -2
- package/ai/skills/stacks-marketing-programmatic-seo/references/playbooks.md +1 -1
- package/ai/skills/stacks-marketing-prospecting/NOTICE.md +2 -2
- package/ai/skills/stacks-marketing-prospecting/PLAYBOOK.md +18 -18
- package/ai/skills/stacks-marketing-prospecting/SKILL.md +1 -1
- package/ai/skills/stacks-marketing-prospecting/evals/evals.json +28 -0
- package/ai/skills/stacks-marketing-prospecting/references/data-sources.md +12 -12
- package/ai/skills/stacks-marketing-prospecting/references/enrichment-playbook.md +1 -1
- package/ai/skills/stacks-marketing-prospecting/references/signal-plays.md +44 -2
- package/ai/skills/stacks-marketing-psychology/NOTICE.md +1 -1
- package/ai/skills/stacks-marketing-psychology/SKILL.md +1 -1
- package/ai/skills/stacks-marketing-public-relations/NOTICE.md +2 -2
- package/ai/skills/stacks-marketing-public-relations/PLAYBOOK.md +3 -0
- package/ai/skills/stacks-marketing-public-relations/SKILL.md +1 -1
- package/ai/skills/stacks-marketing-referrals/NOTICE.md +2 -2
- package/ai/skills/stacks-marketing-referrals/PLAYBOOK.md +8 -8
- package/ai/skills/stacks-marketing-referrals/SKILL.md +1 -1
- package/ai/skills/stacks-marketing-referrals/references/affiliate-programs.md +1 -1
- package/ai/skills/stacks-marketing-referrals/references/program-examples.md +9 -2
- package/ai/skills/stacks-marketing-referrals/references/review-programs.md +1 -1
- package/ai/skills/stacks-marketing-reverse-engineer-marketing/LICENSE +21 -0
- package/ai/skills/stacks-marketing-reverse-engineer-marketing/NOTICE.md +8 -0
- package/ai/skills/stacks-marketing-reverse-engineer-marketing/PLAYBOOK.md +312 -0
- package/ai/skills/stacks-marketing-reverse-engineer-marketing/SKILL.md +21 -0
- package/ai/skills/stacks-marketing-reverse-engineer-marketing/evals/evals.json +242 -0
- package/ai/skills/stacks-marketing-reverse-engineer-marketing/references/content-teardown.md +97 -0
- package/ai/skills/stacks-marketing-reverse-engineer-marketing/references/data-sources.md +147 -0
- package/ai/skills/stacks-marketing-reverse-engineer-marketing/references/funnel-hack.md +96 -0
- package/ai/skills/stacks-marketing-reverse-engineer-marketing/references/go-inside.md +107 -0
- package/ai/skills/stacks-marketing-reverse-engineer-marketing/references/hidden-signals.md +78 -0
- package/ai/skills/stacks-marketing-reverse-engineer-marketing/references/industries/agencies-b2b-services.md +84 -0
- package/ai/skills/stacks-marketing-reverse-engineer-marketing/references/industries/automotive.md +86 -0
- package/ai/skills/stacks-marketing-reverse-engineer-marketing/references/industries/care-services.md +83 -0
- package/ai/skills/stacks-marketing-reverse-engineer-marketing/references/industries/consumer-hardware.md +87 -0
- package/ai/skills/stacks-marketing-reverse-engineer-marketing/references/industries/cpg-food-beverage.md +85 -0
- package/ai/skills/stacks-marketing-reverse-engineer-marketing/references/industries/crypto-web3.md +86 -0
- package/ai/skills/stacks-marketing-reverse-engineer-marketing/references/industries/ecommerce-dtc.md +93 -0
- package/ai/skills/stacks-marketing-reverse-engineer-marketing/references/industries/education.md +86 -0
- package/ai/skills/stacks-marketing-reverse-engineer-marketing/references/industries/events-entertainment.md +88 -0
- package/ai/skills/stacks-marketing-reverse-engineer-marketing/references/industries/finance.md +92 -0
- package/ai/skills/stacks-marketing-reverse-engineer-marketing/references/industries/fitness-wellness.md +86 -0
- package/ai/skills/stacks-marketing-reverse-engineer-marketing/references/industries/franchising.md +84 -0
- package/ai/skills/stacks-marketing-reverse-engineer-marketing/references/industries/gambling-betting.md +85 -0
- package/ai/skills/stacks-marketing-reverse-engineer-marketing/references/industries/games-pc-console.md +84 -0
- package/ai/skills/stacks-marketing-reverse-engineer-marketing/references/industries/govtech-public-sector.md +86 -0
- package/ai/skills/stacks-marketing-reverse-engineer-marketing/references/industries/healthcare.md +88 -0
- package/ai/skills/stacks-marketing-reverse-engineer-marketing/references/industries/hospitality-travel.md +86 -0
- package/ai/skills/stacks-marketing-reverse-engineer-marketing/references/industries/insurance.md +87 -0
- package/ai/skills/stacks-marketing-reverse-engineer-marketing/references/industries/legal-professional-services.md +86 -0
- package/ai/skills/stacks-marketing-reverse-engineer-marketing/references/industries/local-services.md +88 -0
- package/ai/skills/stacks-marketing-reverse-engineer-marketing/references/industries/logistics-transportation.md +87 -0
- package/ai/skills/stacks-marketing-reverse-engineer-marketing/references/industries/manufacturing-industrial.md +84 -0
- package/ai/skills/stacks-marketing-reverse-engineer-marketing/references/industries/marketplaces.md +85 -0
- package/ai/skills/stacks-marketing-reverse-engineer-marketing/references/industries/media-creators.md +85 -0
- package/ai/skills/stacks-marketing-reverse-engineer-marketing/references/industries/mobile-apps-games.md +96 -0
- package/ai/skills/stacks-marketing-reverse-engineer-marketing/references/industries/nonprofit.md +84 -0
- package/ai/skills/stacks-marketing-reverse-engineer-marketing/references/industries/real-estate.md +87 -0
- package/ai/skills/stacks-marketing-reverse-engineer-marketing/references/industries/regulated-goods.md +88 -0
- package/ai/skills/stacks-marketing-reverse-engineer-marketing/references/industries/retail.md +88 -0
- package/ai/skills/stacks-marketing-reverse-engineer-marketing/references/industries/saas.md +91 -0
- package/ai/skills/stacks-marketing-reverse-engineer-marketing/references/industries/solar-home-energy.md +84 -0
- package/ai/skills/stacks-marketing-reverse-engineer-marketing/references/landscape.md +85 -0
- package/ai/skills/stacks-marketing-reverse-engineer-marketing/references/play-routing.md +73 -0
- package/ai/skills/stacks-marketing-reverse-engineer-marketing/references/playbook-template.md +133 -0
- package/ai/skills/stacks-marketing-reverse-engineer-marketing/references/team-voices.md +71 -0
- package/ai/skills/stacks-marketing-reverse-engineer-marketing/references/timeline-analysis.md +62 -0
- package/ai/skills/stacks-marketing-reverse-engineer-marketing/references/weak-spots.md +70 -0
- package/ai/skills/stacks-marketing-revops/NOTICE.md +2 -2
- package/ai/skills/stacks-marketing-revops/PLAYBOOK.md +14 -14
- package/ai/skills/stacks-marketing-revops/SKILL.md +1 -1
- package/ai/skills/stacks-marketing-revops/references/automation-playbooks.md +3 -3
- package/ai/skills/stacks-marketing-revops/references/inbound-routing.md +1 -1
- package/ai/skills/stacks-marketing-revops/references/lifecycle-definitions.md +2 -0
- package/ai/skills/stacks-marketing-revops/references/scoring-models.md +14 -13
- package/ai/skills/stacks-marketing-sales-enablement/NOTICE.md +1 -1
- package/ai/skills/stacks-marketing-sales-enablement/PLAYBOOK.md +2 -2
- package/ai/skills/stacks-marketing-sales-enablement/SKILL.md +1 -1
- package/ai/skills/stacks-marketing-sales-enablement/references/cold-call-scripts.md +1 -1
- package/ai/skills/stacks-marketing-schema/NOTICE.md +1 -1
- package/ai/skills/stacks-marketing-schema/SKILL.md +1 -1
- package/ai/skills/stacks-marketing-seo-audit/NOTICE.md +2 -2
- package/ai/skills/stacks-marketing-seo-audit/PLAYBOOK.md +5 -4
- package/ai/skills/stacks-marketing-seo-audit/SKILL.md +1 -1
- package/ai/skills/stacks-marketing-seo-audit/references/international-seo.md +3 -1
- package/ai/skills/stacks-marketing-seo-audit/references/rankings-push.md +1 -1
- package/ai/skills/stacks-marketing-signup/NOTICE.md +1 -1
- package/ai/skills/stacks-marketing-signup/PLAYBOOK.md +1 -1
- package/ai/skills/stacks-marketing-signup/SKILL.md +1 -1
- package/ai/skills/stacks-marketing-site-architecture/NOTICE.md +1 -1
- package/ai/skills/stacks-marketing-site-architecture/SKILL.md +1 -1
- package/ai/skills/stacks-marketing-site-architecture/references/platforms-and-migration.md +1 -1
- package/ai/skills/stacks-marketing-sms/NOTICE.md +1 -1
- package/ai/skills/stacks-marketing-sms/PLAYBOOK.md +9 -9
- package/ai/skills/stacks-marketing-sms/SKILL.md +1 -1
- package/ai/skills/stacks-marketing-social/NOTICE.md +2 -2
- package/ai/skills/stacks-marketing-social/PLAYBOOK.md +5 -4
- package/ai/skills/stacks-marketing-social/SKILL.md +1 -1
- package/ai/skills/stacks-marketing-social/references/listening.md +13 -0
- package/ai/skills/stacks-marketing-social/references/platforms.md +37 -1
- package/ai/skills/stacks-marketing-social/references/short-form-video.md +51 -6
- package/ai/skills/stacks-marketing-video/NOTICE.md +2 -2
- package/ai/skills/stacks-marketing-video/PLAYBOOK.md +35 -18
- package/ai/skills/stacks-marketing-video/SKILL.md +1 -1
- package/ai/skills/stacks-marketing-video/evals/evals.json +27 -0
- package/ai/skills/stacks-marketing-video/references/code-rendered-product-films.md +119 -0
- package/ai/skills/stacks-native/CATALOG.md +4 -4
- package/ai/skills/stacks-pr/NOTICE.md +2 -2
- package/ai/skills/stacks-prototype/NOTICE.md +2 -2
- package/ai/skills/stacks-research/NOTICE.md +2 -2
- package/ai/skills/stacks-research/PLAYBOOK.md +1 -1
- package/ai/skills/stacks-retro/NOTICE.md +2 -2
- package/ai/skills/stacks-review/NOTICE.md +2 -2
- package/ai/skills/stacks-scaffold-exercises/NOTICE.md +2 -2
- package/ai/skills/stacks-setup-deep-modules/NOTICE.md +2 -2
- package/ai/skills/stacks-setup-engineering/NOTICE.md +2 -2
- package/ai/skills/stacks-setup-engineering/PLAYBOOK.md +3 -1
- package/ai/skills/stacks-setup-engineering/issue-tracker-github.md +8 -4
- package/ai/skills/stacks-setup-engineering/issue-tracker-gitlab.md +3 -3
- package/ai/skills/stacks-software-factory/EXAMPLE-TASKS.md +80 -0
- package/ai/skills/stacks-software-factory/GIT-HOSTS.md +84 -0
- package/ai/skills/stacks-software-factory/LICENSE +21 -0
- package/ai/skills/stacks-software-factory/NOTICE.md +8 -0
- package/ai/skills/stacks-software-factory/OBSERVABILITY-PLATFORMS.md +75 -0
- package/ai/skills/stacks-software-factory/PLAYBOOK.md +95 -0
- package/ai/skills/stacks-software-factory/RUNNERS.md +94 -0
- package/ai/skills/stacks-software-factory/SKILL.md +21 -0
- package/ai/skills/stacks-software-factory/TICKET-TRACKERS.md +85 -0
- package/ai/skills/stacks-tdd/NOTICE.md +2 -2
- package/ai/skills/stacks-teach/NOTICE.md +2 -2
- package/ai/skills/stacks-test-fixtures/NOTICE.md +2 -2
- package/ai/skills/stacks-to-questionnaire/NOTICE.md +2 -2
- package/ai/skills/stacks-to-spec/NOTICE.md +2 -2
- package/ai/skills/stacks-to-tickets/NOTICE.md +2 -2
- package/ai/skills/stacks-triage/NOTICE.md +2 -2
- package/ai/skills/stacks-wait-what/NOTICE.md +2 -2
- package/ai/skills/stacks-wayfinder/NOTICE.md +2 -2
- package/ai/skills/stacks-wayfinder/PLAYBOOK.md +1 -1
- package/ai/skills/stacks-wizard/NOTICE.md +2 -2
- package/ai/skills/stacks-writing-beats/NOTICE.md +2 -2
- package/ai/skills/stacks-writing-for-agents/NOTICE.md +2 -2
- package/ai/skills/stacks-writing-for-agents/SKILL.md +1 -1
- package/ai/skills/stacks-writing-fragments/NOTICE.md +2 -2
- package/ai/skills/stacks-writing-shape/NOTICE.md +2 -2
- package/app/Actions/UnsubscribeAction.ts +1 -0
- package/ide/vscode/package.json +1 -1
- package/package.json +3 -3
|
@@ -0,0 +1,318 @@
|
|
|
1
|
+
# Conversion moments: how each tool signals success
|
|
2
|
+
|
|
3
|
+
Load this to establish or diagnose the conversion moment. Section 1 is the lead-gen problem (success must be inferred from a browser signal, and every tool signals differently); it carries literal, grep-able strings for working from (A) form mechanics, (B) static page source, (C) a headless browser, and (D) a codebase. Section 2 covers the moments this repo ships tested detectors for. Section 3 is the long tail. Section 4 is ecommerce, where the problem mostly does not exist.
|
|
4
|
+
|
|
5
|
+
**Fix assets.** When a finding here names a missing or wrong detection hook, the fix usually already exists in this skill. Tested listeners for 22 form and booking tools and 4 universal patterns (26 in all) live in `../assets/snippets/` (paste-in JS) and `../assets/gtm-recipes/detect/` (importable GTM containers), both pushing the canonical dataLayer event names listed in `../assets/gtm-recipes/event-map.json` (for example `gravity_form_submitted`, `typeform_form_submitted`, `calendly_event_scheduled`). Diagnose against those exact names, fix by installing those exact assets.
|
|
6
|
+
|
|
7
|
+
## 1. Lead gen
|
|
8
|
+
|
|
9
|
+
### A. Form submission mechanics
|
|
10
|
+
|
|
11
|
+
#### A.1 The four fundamental patterns
|
|
12
|
+
|
|
13
|
+
| Pattern | What happens | Why tracking breaks | Correct hook |
|
|
14
|
+
|---|---|---|---|
|
|
15
|
+
| Classic POST + redirect | server 302s to /thank-you | Works IF tags exist on thank-you page; risks: direct-reachable thank-you (false conversions), missing tags there, redirect losing params | Pageview trigger on thank-you URL |
|
|
16
|
+
| AJAX/fetch + inline success | JS intercepts, URL never changes | No pageview → destination-page tracking counts ZERO silently. #1 failure mode | dataLayer push in success callback; Element Visibility on success message; platform events |
|
|
17
|
+
| Third-party iframe embed | form on vendor's domain in iframe | Parent GTM blind to iframe internals; iframe can't read parent cookies; tracking inside attributes to vendor domain | postMessage listener for vendor events; vendor redirect to first-party thank-you; vendor webhook → server-side |
|
|
18
|
+
| Redirect to external processor | Stripe Checkout, Calendly full-page, formspree.io, formsubmit.co, Netlify Forms | Conversion completes on uncontrolled domain | Processor's redirect-after-success back to first-party /thank-you; else webhook → server-side APIs |
|
|
19
|
+
|
|
20
|
+
Stacking complications: multi-step forms (only final step converts; step events mistaken for submits; attribution scripts running only on step 1); popup/modal forms (not in DOM at load - delegated listeners or Element Visibility with "observe DOM changes"); full-page-reload confirmations with no URL change (default WPForms/Gravity non-AJAX - only hook is the confirmation div).
|
|
21
|
+
|
|
22
|
+
#### A.2 Per-platform catalog (literal strings)
|
|
23
|
+
|
|
24
|
+
**Typeform** - iframe. Embed: `embed.typeform.com/next/embed.js`; attrs `data-tf-live=`, `data-tf-widget=`; iframe src `form.typeform.com/to/<id>`. Parent receives message events from origin `https://form.typeform.com` with `event.data.type === "form-submit"` (also "form-started", "form-screen-changed"), payload has `formId`. Embed SDK: `onSubmit` callback with {formId, responseId}. Alternative: Ending screen redirect to first-party thank-you.
|
|
25
|
+
|
|
26
|
+
**Calendly** - iframe. Script `assets.calendly.com/assets/external/widget.js`; `<div class="calendly-inline-widget" data-url=...>`. Parent messages where `e.data.event` starts with `"calendly."`: profile_page_viewed, event_type_viewed, date_and_time_selected, **event_scheduled** (the conversion). Payload has event.uri + invitee.uri only - NO email (enhanced conversions need invitee API or prefill capture). Beware: date_and_time_selected ≠ booked.
|
|
27
|
+
|
|
28
|
+
**Cal.com** - iframe. Cal.com's embed code (inline, popup, floating button) renders from `https://app.cal.com`, and a booking page pasted in as a plain iframe loads from `https://cal.com`. A new booking posts `{originator: 'CAL', type: 'bookingSuccessfulV2', data: {uid, eventTypeId, status, ...}}` to the parent from the frame's own origin. `cal-com.js` fires once per booking on `bookingSuccessfulV2`, accepted only from a Cal.com iframe on the page, and trusts each frame only for the origin its address starts with, so both setups work. Reschedules never count, and the deprecated `bookingSuccessful` (which carries the attendee's name and email) is never used. Bookings the host must confirm fire straight away with `booking_status` `PENDING`; add a trigger condition on `ACCEPTED` to count only confirmed ones. It doesn't cover self-hosted Cal.com. It was live-checked 15 Oct 2026 with real bookings through all four setups (inline, popup, floating button and plain iframe).
|
|
29
|
+
|
|
30
|
+
**Acuity Scheduling** - iframe, and Acuity tells the page nothing (its embed script only posts resize messages). Its Custom Conversion Tracking field (Integrations, then Custom Conversion Tracking) runs HTML after each booking in a sandbox frame on `conversion-tracking-sandbox.acuityinnovation.com`, two frames below the page, with `%id%`, `%type%`, `%appointmentType%` and `%price%` filled in. This is the shipped example of Shape 3 below, where half the code goes inside the vendor's tool. `acuity-scheduling-field.html` goes in that field and posts those four values to the site's own address (put that address in `SITES`, or nothing counts), and `acuity-scheduling.js` on the site accepts only HTTPS `acuityinnovation.com` frames inside the page, once per appointment ID. Acuity keeps about 2 KB in the field, and the snippet is about 1 KB. Reschedules never count. Package and gift certificate purchases fire too, so filter on `acuity_type` equals `appointment`. Public snippets that read `%email%` and post to `"*"` send the visitor's email to the top window whatever site it is showing. This one never reads the name, email or phone. It was live-checked 15 Oct 2026 with two real bookings made by hand, because of reCAPTCHA, and a refused email counted nothing.
|
|
31
|
+
|
|
32
|
+
**HubSpot Forms** - TWO variants, check BOTH:
|
|
33
|
+
- Legacy v2: `js.hsforms.net/forms/embed/v2.js` + `hbspt.forms.create({portalId, formId})`; renders INLINE mostly. Window message events: `event.data.type === 'hsFormCallback'`, `event.data.eventName` ∈ onFormReady | onFormSubmit | **onFormSubmitted** (use this, post-success) | onFormFailedValidation; `event.data.id` = form GUID.
|
|
34
|
+
- New v4: `js.hsforms.net/forms/embed/<portalId>.js` + `<div class="hs-form-frame" data-form-id=...>`; renders in IFRAME. Real DOM events on window: `hs-form-event:on-ready`, `hs-form-event:on-submission:success`, `:failed`, `:on-interaction:navigate`; `event.detail.formId`; helper `window.HubSpotFormsV4` (has getConversionId()).
|
|
35
|
+
- Note: `js.hs-scripts.com/<portalId>.js` is the general HubSpot tracking script - presence ≠ ad conversion tracking.
|
|
36
|
+
- `hubspot-forms.js` covers both and pushes `hubspot_form_submitted` with `form_id` only, never the lead's details. On a current-editor form with the current embed code it counts `hs-form-event:on-submission:success` only when `HubSpotFormsV4.getFormFromEvent` confirms the form and instance, once per conversion ID. On a legacy-editor form with the v2.js embed it counts only an `onFormSubmitted` message posted from the page's own window, never `onFormSubmit`, which also fires for submissions that then fail. Legacy forms in a cross-origin iframe aren't counted, because their message can't be tied to a form. A current-editor form placed with the older `hbspt.forms.create()` code sent the same success event in an earlier probe but wasn't in the 15 Oct checks, and multi-step forms, several forms on one page, redirect after submit and pop-up forms weren't tested. Submissions HubSpot's bot filter files under Spam still count, because HubSpot fires its success event for them too. It was live-checked 15 Oct 2026 on a current-editor form and a legacy-editor form, and again on 16 Oct after a retry fix, and HubSpot's Submissions matched the events one for one.
|
|
37
|
+
|
|
38
|
+
**Jotform** - iframe (`form.jotform.com/<id>` or script `form.jotform.com/jsform/<id>`). After a successful submission, Jotform's iframe and script embeds send the parent page a `{action: 'submission-completed', formID}` message (live-checked on both, Oct 2026; Jotform support describes it but doesn't formally document it), which `jotform.js` listens for. The full source-code embed sends none. The Thank You → redirect setting breaks out of the iframe, navigates TOP window to your URL, and can append field values + unique {id} param - redirect is the most robust method. Tags pasted inside the Jotform builder fire on jotform.com's domain (wrong context).
|
|
39
|
+
|
|
40
|
+
**Contact Form 7 (WP)** - always AJAX. Bubbling DOM events on document (plain addEventListener works):`wpcf7mailsent` (success - use this), wpcf7submit, wpcf7invalid, wpcf7spam, wpcf7mailfailed. `event.detail` includes contactFormId, inputs (name/value array - usable for enhanced conversions).
|
|
41
|
+
|
|
42
|
+
**Gravity Forms (WP)** - Confirmation types: Text (default), Page, Redirect. WITH AJAX embed: jQuery event`gform_confirmation_loaded` on document (formId arg) - jQuery-triggered, NOT catchable via addEventListener. Multi-page: gform_page_loaded. WITHOUT AJAX + Text confirmation: full reload to same URL - no event, no new pageview; only hook is `.gform_confirmation_message` / `#gform_confirmation_wrapper_<id>` via Element Visibility. Redirect confirmation → classic pattern.
|
|
43
|
+
|
|
44
|
+
**WPForms (WP)** - default non-AJAX POST + reload, same-URL confirmation `.wpforms-confirmation-container-full`; optional AJAX fires jQuery `wpformsAjaxSubmitSuccess`. Confirmation types: Message / Show Page / Go to URL.
|
|
45
|
+
|
|
46
|
+
**Elementor Pro Forms (WP)** - AJAX; jQuery-triggered`submit_success` on document - `jQuery(document).on('submit_success', fn)`; vanilla addEventListener will NOT catch it (common audit finding). evt.target.id identifies form. Popup forms injected on open - document-level delegation still catches. Optional Redirect action → classic.
|
|
47
|
+
|
|
48
|
+
**Webflow** - native forms `<form data-name=...>` in `.w-form`; AJAX submit; success hides form, reveals sibling `div.w-form-done`; failure `.w-form-fail`. NO dataLayer event, NO URL change by default. Hooks: Element Visibility on .w-form-done, custom listener, or redirect setting.
|
|
49
|
+
|
|
50
|
+
**Framer** - React forms, inline success swap, no navigation, no built-in GTM event. Track via custom listener/element observation or redirect. Framer can auto-capture UTM/GCLID into form fields (built-in feature).
|
|
51
|
+
|
|
52
|
+
**Squarespace** - AJAX + inline message default. A 7.1 Form block renders in the page (no iframe) and saves through `/api/form/SaveFormSubmission`, and Squarespace's server decides (204 saved, 400 field error, 401 failed reCAPTCHA), so a submit alone is never a conversion. `squarespace-forms.js` fires only once Squarespace confirms the entry was saved, once per form per page view, and also works for forms set to redirect. It doesn't cover lightbox forms, 7.0 forms, or commerce or member forms. It was live-checked 15 Oct 2026 on inline, redirect and shared-page forms in Chromium, WebKit and Firefox. The other options are a redirect URL, or the "Post-Submit HTML" field that injects and executes code only after successful submit (a de facto conversion hook; Squarespace gates JavaScript and code injection to Core plans and above, and its form docs state no separate gate for this field).
|
|
53
|
+
|
|
54
|
+
**Wix** - AJAX + inline success; tracking via Wix's own dashboard integrations (auto-fires form-submit conversion) or Velo `wixWindow.trackEvent`; raw GTM DOM listeners unreliable in Wix's framework. "Wix + manually pasted pixel" = high risk of no submit event.
|
|
55
|
+
|
|
56
|
+
### B. Static detection signatures (grep fetched HTML + inline JS)
|
|
57
|
+
|
|
58
|
+
| Technology | Grep for | Notes |
|
|
59
|
+
|---|---|---|
|
|
60
|
+
| gtag.js | `googletagmanager.com/gtag/js?id=` ; `gtag('config'` ; `window.dataLayer` | `G-` GA4 only, `AW-` Google Ads. Cookies: _ga, _gcl_au, _gcl_aw |
|
|
61
|
+
| Google Ads conversion | `AW-` ; `gtag('event', 'conversion'` ; `'send_to': 'AW-` | AW- config with NO send_to event anywhere = remarketing only; conversion may exist only in GTM |
|
|
62
|
+
| GTM | `GTM-` ; `googletagmanager.com/gtm.js?id=` ; noscript `ns.html?id=` | GTM present ≠ conversion tag present (see B.2) |
|
|
63
|
+
| Meta Pixel | `connect.facebook.net/en_US/fbevents.js` ; `fbq('init'` ; `fbq('track'` ; `facebook.com/tr?id=` | Only Lead/custom events = conversions; bare PageView isn't. Cookies _fbp, _fbc |
|
|
64
|
+
| TikTok | `analytics.tiktok.com/i18n/pixel/events.js` ; `ttq.load(` ; `ttq.track(` | Cookie _ttp |
|
|
65
|
+
| LinkedIn | `_linkedin_partner_id` ; `snap.licdn.com/li.lms-analytics/insight.min.js` ; `px.ads.linkedin.com/collect?pid=` | Cookie li_fat_id |
|
|
66
|
+
| Microsoft UET | `bat.bing.com/bat.js` ; `window.uetq` ; `UET({ti:` | Cookies _uetsid, _uetvid |
|
|
67
|
+
| Cookiebot | `consent.cookiebot.com/uc.js` ; `data-cbid=` | CMPs may block tags pre-consent |
|
|
68
|
+
| OneTrust | `cdn.cookielaw.org` ; `otSDKStub.js` ; `OptanonWrapper` | Cookie OptanonConsent |
|
|
69
|
+
| CookieYes | `cdn-cookieyes.com/client_data/` | |
|
|
70
|
+
| Other CMPs | `app.usercentrics.eu` ; `cmp.osano.com` ; `app.termly.io/embed` ; `complianz` ; `klaro` | |
|
|
71
|
+
| Consent Mode | `gtag('consent', 'default'` ; `'ad_storage'` | denied default + no CMP wiring = silent loss |
|
|
72
|
+
| sGTM / Stape | `gtm.js`/`/gtag/js` loaded from NON-Google domain (subdomains like load., sgtm., ss., data., track., metrics.); `server_container_url` ; `transport_url` ; custom loader = own-domain script with randomized path | Runtime cookie FPID = strong sGTM signal; GA hits to `<subdomain>/g/collect` |
|
|
73
|
+
| Form embeds | `embed.typeform.com` ; `form.typeform.com/to/` ; `assets.calendly.com` ; `calendly-inline-widget` ; `js.hsforms.net/forms/embed/` ; `hbspt.forms.create` ; `hs-form-frame` ; `form.jotform.com` | Embed present + only pageview tags = likely broken |
|
|
74
|
+
| WP form plugins | `wp-content/plugins/contact-form-7/` ; `wpcf7` ; `gform_wrapper` ; `wpforms-` ; `elementor-form` | Tells you which §A event to expect |
|
|
75
|
+
| Other analytics | `cdn.segment.com` ; `plausible.io/js` ; `posthog` ; `static.hotjar.com` ; `clarity.ms/tag` | Context |
|
|
76
|
+
| Attribution capture | hidden inputs named `utm_source`/`gclid` in forms; third-party attribution-capture scripts | Attribution-capture attempt |
|
|
77
|
+
|
|
78
|
+
#### B.1 What static fetch CANNOT tell you
|
|
79
|
+
1. Whether events actually fire on submit (wiring, races, JS errors)
|
|
80
|
+
2. Whether consent banner blocks tags for unconsented users
|
|
81
|
+
3. What's inside GTM - until you fetch the container (B.2)
|
|
82
|
+
4. Tags injected server-side per page (fetch /thank-you variants too)
|
|
83
|
+
5. Server-side conversions (CAPI, offline uploads) - invisible; look for sGTM signals or ask for codebase
|
|
84
|
+
|
|
85
|
+
#### B.2 Reading the GTM container WITHOUT account access
|
|
86
|
+
The container is a public JS file: fetch `https://www.googletagmanager.com/gtm.js?id=GTM-XXXXXXX`. It embeds `{"resource":{"macros":[...], "tags":[...], "predicates":[...], "rules":[...]}}` - the full config. Greps:
|
|
87
|
+
- `"function":"__awct"` → Google Ads conversion tag EXISTS; nearby `vtp_conversionId`/`vtp_conversionLabel` = exact AW-id/label
|
|
88
|
+
- `__gaawe` GA4 event tag; `__gaawc`/`__googtag` config; `__sp` Ads remarketing; `__flc` Floodlight; `__html` Custom HTML (pixel/CAPI glue); `__cvt_` custom templates (Facebook/TikTok/Stape)
|
|
89
|
+
- Triggers: `__fsl` form submit listener; `__cl`/`__lcl` clicks; `__evl` element visibility; `__hl` history change (SPA)
|
|
90
|
+
- Predicates: `"arg1":"gtm.formSubmit"`, custom event names like `"arg1":"typeform_submit"` - exactly which dataLayer event the conversion tag waits for; then verify the page actually pushes it
|
|
91
|
+
- **GTM expresses configuration errors as ABSENCE, and this is the single most important
|
|
92
|
+
thing to understand about reading a published container.** A tag that is misconfigured is
|
|
93
|
+
not published as a broken tag. It is not published at all. Verified causes of a tag
|
|
94
|
+
vanishing from `gtm.js` while the rest of the container compiles normally:
|
|
95
|
+
- the tag is **paused**
|
|
96
|
+
- a **required field is empty** (an Ads tag with a blank conversion label)
|
|
97
|
+
- a **field holds an invalid value** (a conversion ID pasted as `AW-123123123` rather than
|
|
98
|
+
the digits alone)
|
|
99
|
+
- the tag has **no firing trigger** attached
|
|
100
|
+
|
|
101
|
+
Verified further by trying and failing to build the opposite: GTM will not publish a
|
|
102
|
+
conversion tag with an empty currency field, nor a GA4 event tag with an empty measurement
|
|
103
|
+
ID. These are not faults you will ever find in a published container, because the container
|
|
104
|
+
cannot contain them. If a user describes a symptom that would require one, the tag is either
|
|
105
|
+
unpublished, paused, or was never saved.
|
|
106
|
+
|
|
107
|
+
So `__awct` absent means **no conversion tag is live**. It does not mean no tag exists, and
|
|
108
|
+
it never justifies telling a user who built one that they have none. Every one of these is
|
|
109
|
+
invisible from outside and only the API separates them (see the container access note in `audit-playbook.md`). This is also why a
|
|
110
|
+
user insisting "the tag is right there, I'm looking at it" is usually telling the truth.
|
|
111
|
+
|
|
112
|
+
- **Paused tags are invisible here, and `__paused` is a trap.** GTM omits a paused tag from the published container entirely rather than flagging it. Verified on two otherwise identical containers: the live one carries `__awct`, its conversion ID and its label; the paused one carries none of the three.
|
|
113
|
+
**Do not read `__paused:1` as evidence.** It appears in every container as part of GTM's internal tag-type registry, next to `__tl`, `__tg` and `__ytl`. It says a tag type exists in GTM, not that this container has a paused tag. An agent under test reached the right answer by misreading exactly this, which is luck rather than diagnosis and will produce a confident wrong answer on the next container.
|
|
114
|
+
When a user believes a tag exists and you cannot find one, say no tag is **live**, name paused as a likely cause, and confirm through the API (see `audit-playbook.md`). Never present it as something you observed in `gtm.js`.
|
|
115
|
+
- Grep whole file for `AW-`, `conversionLabel`, pixel IDs. Nothing matching = container has NO conversion tags regardless of what the page promises.
|
|
116
|
+
|
|
117
|
+
#### B.3 How existing detectors work
|
|
118
|
+
Wappalyzer/BuiltWith: regex DB over script srcs, HTML, JS globals, cookies. Tag Assistant: instruments live page, shows fired tags + hit params. Meta Ads Data Advisor (formerly Pixel Helper): checks fbq state + observed /tr requests. Headless equivalent: watch network + evaluate `fbq.getState()`.
|
|
119
|
+
|
|
120
|
+
### C. Dynamic checks (headless browser / Playwright)
|
|
121
|
+
|
|
122
|
+
Page-load pass - record requests, match:
|
|
123
|
+
|
|
124
|
+
| Vendor | Hit signature |
|
|
125
|
+
|---|---|
|
|
126
|
+
| GA4 | `google-analytics.com/g/collect`, `analytics.google.com/g/collect`, `region1.google-analytics.com/g/collect` (v=2&tid=G-...&en=<event>) - or /g/collect on first-party sGTM domain |
|
|
127
|
+
| Google Ads | `googleads.g.doubleclick.net/pagead/viewthroughconversion/<id>/`, `googleadservices.com/pagead/conversion/<id>/`, `google.com/pagead/1p-conversion/` |
|
|
128
|
+
| Meta | `facebook.com/tr` (id=<pixel>&ev=<event>; ev=Lead on submit) |
|
|
129
|
+
| TikTok | `analytics.tiktok.com/api/v2/pixel` |
|
|
130
|
+
| LinkedIn | `px.ads.linkedin.com/collect?pid=` |
|
|
131
|
+
| Microsoft | `bat.bing.com/action/0?ti=` |
|
|
132
|
+
|
|
133
|
+
Checks:
|
|
134
|
+
1. **Consent gating**: load with no interaction - which hits fire pre-consent? Inspect gcs=/gcd=. Re-run after accepting CMP.
|
|
135
|
+
2. **Runtime state**: `window.dataLayer` dump, `typeof google_tag_manager`, `fbq.getState()`, `typeof ttq`, `window.uetq`, `window.HubSpotFormsV4`.
|
|
136
|
+
3. **Submit simulation** (staging/test data, flagged as test): attach §A listeners first (message events, wpcf7mailsent, jQuery hooks for submit_success/gform_confirmation_loaded), fill + submit, assert: (a) dataLayer event pushed, (b) conversion-class network request fired, (c) success UX classified (URL change vs inline swap). Diff window.dataLayer before/after.
|
|
137
|
+
4. **Thank-you direct visit**: load /thank-you directly - do conversion tags fire on bare load? (false-conversion risk)
|
|
138
|
+
5. **postMessage sniff**: inject `window.addEventListener('message', m => log(m.origin, m.data))` before interacting with embeds.
|
|
139
|
+
|
|
140
|
+
### D. Codebase grep list
|
|
141
|
+
|
|
142
|
+
Presence:
|
|
143
|
+
```
|
|
144
|
+
grep -rn "gtag(" "GTM-" "googletagmanager" "dataLayer" "fbq(" "ttq\." "_linkedin_partner_id\|licdn" "uetq\|bat.bing"
|
|
145
|
+
grep -rn "@next/third-parties\|GoogleTagManager\|GoogleAnalytics\|sendGTMEvent\|sendGAEvent"
|
|
146
|
+
grep -rn "react-gtm-module\|react-ga4\|nextjs-google-analytics"
|
|
147
|
+
grep -rn "analytics.track\|segment\|posthog.capture\|plausible("
|
|
148
|
+
```
|
|
149
|
+
Conversion wiring (the usually-missing part):
|
|
150
|
+
```
|
|
151
|
+
grep -rn "send_to"
|
|
152
|
+
grep -rn "'event', 'conversion'\|\"event\", \"conversion\""
|
|
153
|
+
grep -rn "generate_lead\|form_submit\|formSubmit"
|
|
154
|
+
grep -rn "onSubmit\|handleSubmit" # then READ each handler:
|
|
155
|
+
# does the success branch (after await fetch) contain gtag/fbq/dataLayer.push?
|
|
156
|
+
# red flag: fetch('/api/contact') → setSubmitted(true) with no tracking call
|
|
157
|
+
grep -rn "router.push\|redirect(" -- **/contact* **/form*
|
|
158
|
+
```
|
|
159
|
+
SPA failure modes: GA4/GTM loaded once, no history-change tracking; next/script wrong strategy; tags in one layout only; thank-you client-side-navigated so initial-load Page View trigger never fires.
|
|
160
|
+
|
|
161
|
+
Server-side:
|
|
162
|
+
```
|
|
163
|
+
grep -rn "graph.facebook.com" # Meta CAPI
|
|
164
|
+
grep -rn "google-analytics.com/mp/collect\|api_secret" # GA4 Measurement Protocol
|
|
165
|
+
grep -rn "googleads\|ConversionUploadService\|ClickConversion" # Ads offline conversions
|
|
166
|
+
grep -rn "gclid\|wbraid\|gbraid\|fbclid\|msclkid\|li_fat_id" # click-id capture
|
|
167
|
+
grep -rn "utm_source" -- **/*form* # hidden-field capture
|
|
168
|
+
```
|
|
169
|
+
Cross-check: dataLayer event names pushed in code must EXACTLY match predicate strings in the fetched gtm.js container - mismatch (`formSubmitted` in code vs `form_submit` in GTM) = complete silent failure.
|
|
170
|
+
|
|
171
|
+
## 2. Shipped detectors: tested snippet plus importable GTM recipe
|
|
172
|
+
|
|
173
|
+
Build a merged container for any of these against any destination:
|
|
174
|
+
|
|
175
|
+
```
|
|
176
|
+
bun ../scripts/build-recipe.ts --tool <slug> --send <google-ads|ga4|meta|linkedin|tiktok|microsoft> [ids] -o import-me.json
|
|
177
|
+
```
|
|
178
|
+
|
|
179
|
+
| Slug | Tool | Moment | dataLayer event |
|
|
180
|
+
|---|---|---|---|
|
|
181
|
+
| `acuity-scheduling` | Acuity Scheduling | meeting booked | `acuity_appointment_scheduled` |
|
|
182
|
+
| `cal-com` | Cal.com | meeting booked | `calcom_booking_successful` |
|
|
183
|
+
| `calendly` | Calendly | meeting booked | `calendly_event_scheduled` |
|
|
184
|
+
| `contact-form-7` | Contact Form 7 | form submission | `contact_form_7_submitted` |
|
|
185
|
+
| `divi-forms` | Divi Forms | form submission | `divi_form_submitted` |
|
|
186
|
+
| `elementor-forms` | Elementor Forms | form submission | `elementor_form_submitted` |
|
|
187
|
+
| `fluent-forms` | Fluent Forms | form submission | `fluent_forms_submitted` |
|
|
188
|
+
| `formidable-forms` | Formidable Forms | form submission | `formidable_forms_submitted` |
|
|
189
|
+
| `forminator` | Forminator | form submission | `forminator_form_submitted` |
|
|
190
|
+
| `framer-forms` | Framer Forms | form submission | `framer_form_submitted` |
|
|
191
|
+
| `gravity-forms` | Gravity Forms | form submission | `gravity_form_submitted` |
|
|
192
|
+
| `hubspot-forms` | HubSpot Forms | form submission | `hubspot_form_submitted` |
|
|
193
|
+
| `jotform` | Jotform | form submission | `jotform_form_submitted` |
|
|
194
|
+
| `ninja-forms` | Ninja Forms | form submission | `ninja_forms_submitted` |
|
|
195
|
+
| `squarespace-forms` | Squarespace Forms | form submission | `squarespace_form_submitted` |
|
|
196
|
+
| `tally` | Tally | form submission | `tally_form_submitted` |
|
|
197
|
+
| `typeform` | Typeform | form submission | `typeform_form_submitted` |
|
|
198
|
+
| `webflow-forms` | Webflow Forms | form submission | `webflow_form_submitted` |
|
|
199
|
+
| `wix-forms` | Wix Forms | form submission | `wix_form_submitted` |
|
|
200
|
+
| `wix-scheduling` | Wix Bookings | booking made | `wix_appointment_scheduled` |
|
|
201
|
+
| `wpforms` | WPForms | form submission | `wpforms_form_submitted` |
|
|
202
|
+
| `ws-form` | WS Form | form submission | `ws_form_submitted` |
|
|
203
|
+
|
|
204
|
+
**Detection confidence.** Most of these fire on the tool's own success event or on a
|
|
205
|
+
confirmed success state, which is exact. `acuity-scheduling` fires only when the snippet
|
|
206
|
+
Acuity runs after a booking reports it, so it needs that snippet in Acuity too, and it
|
|
207
|
+
counts package and gift certificate purchases unless the trigger filters `acuity_type` to
|
|
208
|
+
`appointment`. `cal-com` also counts bookings still waiting for
|
|
209
|
+
the host to confirm, marked `booking_status` `PENDING`. `hubspot-forms` also counts
|
|
210
|
+
submissions HubSpot's bot filter files under Spam. `framer-forms` fires when Framer's own form
|
|
211
|
+
endpoint answers its request with success. `squarespace-forms` fires only once Squarespace
|
|
212
|
+
confirms the save, through its own success markers or its save request, never on the
|
|
213
|
+
submit alone. `wix-forms` fires when Wix's own thank-you
|
|
214
|
+
message appears inside the form, which Wix shows only after the entry is saved. It covers
|
|
215
|
+
Wix's current forms with an inline thank-you message, not older Wix contact forms or forms
|
|
216
|
+
set to go to another page after submitting.
|
|
217
|
+
|
|
218
|
+
## Universal patterns
|
|
219
|
+
|
|
220
|
+
These are not fallbacks of last resort. Two of them are the correct primary answer for
|
|
221
|
+
whole categories of business.
|
|
222
|
+
|
|
223
|
+
| Slug | Covers | Notes |
|
|
224
|
+
|---|---|---|
|
|
225
|
+
| `phone-click` | Click on a `tel:` link | **The most under-tracked conversion there is.** For a plumber, a dentist, a roofer or a lawyer, the conversion *is* the phone call and no form exists. Counts intent, not answered calls; use a call tracking number if you need answered-call accuracy |
|
|
226
|
+
| `thank-you-page` | Arrival on a confirmation page | Edit the path list at the top. Handles single-page apps by watching history changes, which matters because a React or Next site changes URL without a pageview and a thank-you page trigger silently counts zero |
|
|
227
|
+
| `generic-ajax-form` | Inline success after an AJAX submit | The long tail of unknown form tools. Refuses to fire on submit alone: it waits for a success signal and bails if a visible validation error appears. Weaker than a named detector, so always prefer one when it exists |
|
|
228
|
+
| `file-download` | Click on a document or media link | Price lists, brochures, spec sheets. GA4 already collects this natively; use it when you need the signal in Google Ads or Meta, which do not |
|
|
229
|
+
|
|
230
|
+
## 3. The long tail
|
|
231
|
+
|
|
232
|
+
**Never tell someone their tool is unsupported.** Every conversion moment falls into one of
|
|
233
|
+
the install shapes below, and the universal patterns cover tools with no named detector.
|
|
234
|
+
Some of these tools also have native server-side integrations from their own platform, and
|
|
235
|
+
managed tools listed there may cover them as built-in triggers; both live in `server-side.md`. What
|
|
236
|
+
"no snippet" means is only that this skill's free browser-side detector does not exist yet.
|
|
237
|
+
|
|
238
|
+
**Shape 1, page listener** (28): ActiveCampaign, Kit, AWeber, Mailchimp, Klaviyo,
|
|
239
|
+
Marketo, Pipedrive, Duda, Avada, Beaver Builder, GoHighLevel, Unbounce,
|
|
240
|
+
Instapage, Leadpages, Paperform, Fillout, Formstack, Zoho Forms, HelloBar, OptinMonster,
|
|
241
|
+
ConvertBox, Thrive Leads, HubSpot Meetings, Chili Piper, Intercom, Crisp,
|
|
242
|
+
Tawk.to, Drift.
|
|
243
|
+
|
|
244
|
+
**Shape 2, WordPress but not a form submit** (6): LearnDash, LearnPress, Tutor LMS, Paid
|
|
245
|
+
Memberships Pro, Ultimate Member, Easy Digital Downloads.
|
|
246
|
+
|
|
247
|
+
**Shape 3, two-part install** (2): Pardot, Salesforce Web-to-Lead.
|
|
248
|
+
|
|
249
|
+
**Shape 4, conversion on someone else's domain** (5): Kajabi, Teachable, Thinkific,
|
|
250
|
+
ThriveCart, ClickFunnels checkout.
|
|
251
|
+
|
|
252
|
+
|
|
253
|
+
## The install shapes
|
|
254
|
+
|
|
255
|
+
Work out which one applies, then act.
|
|
256
|
+
|
|
257
|
+
**Shape 1. A page listener works.** The tool renders in the page and emits something
|
|
258
|
+
observable: its own JS event, a success callback, or a success element appearing. Use
|
|
259
|
+
`generic-ajax-form`, or write a named detector following any shipped snippet.
|
|
260
|
+
|
|
261
|
+
**Shape 2. Same domain, but the moment is not a form submit.** An enrolment, a membership
|
|
262
|
+
signup, a course completion. There is usually no submit event to hook. Use
|
|
263
|
+
`thank-you-page` against the post-enrolment URL, or a platform hook if one exists.
|
|
264
|
+
|
|
265
|
+
**Shape 3. Half the code has to go inside the vendor's own tool.** Classic Pardot forms
|
|
266
|
+
are iframes served from a Salesforce domain, so nothing on the parent page can see inside
|
|
267
|
+
them. The fix is code pasted into the vendor's own thank-you or completion field that
|
|
268
|
+
messages out to the parent page, plus a listener that catches it. `acuity-scheduling` is
|
|
269
|
+
the shipped example (`acuity-scheduling-field.html` goes in Acuity's Custom Conversion
|
|
270
|
+
Tracking field, `acuity-scheduling.js` catches its message). Walk the user through
|
|
271
|
+
the vendor screen; there is no snippet-only answer.
|
|
272
|
+
|
|
273
|
+
**Shape 3b. The moment only the backend knows.** A SaaS signup, an account created, a
|
|
274
|
+
lead an API received. No browser event exists at all, so no snippet applies and
|
|
275
|
+
no GTM recipe can help. The backend has to report it (direct platform APIs or a managed
|
|
276
|
+
tool that pairs a backend event with the browser's click IDs, see `server-side.md`), and
|
|
277
|
+
the click ID has to be carried across from the browser session separately. Ecommerce
|
|
278
|
+
purchases are not this shape; they route through `ecommerce-platforms.md`.
|
|
279
|
+
|
|
280
|
+
**Shape 4. The conversion happens on a domain the user does not own.** Kajabi, Teachable,
|
|
281
|
+
Thinkific, ThriveCart, hosted checkouts. Several provide a checkout tracking code field,
|
|
282
|
+
so a pixel can fire. **What cannot cross is the click ID**, because it lives in a cookie
|
|
283
|
+
on the user's own domain and is unreadable from the vendor's. The sale records with no
|
|
284
|
+
click attached, so the ad platform cannot attribute it.
|
|
285
|
+
|
|
286
|
+
Be straight about this. It is not a configuration mistake and no snippet fixes it. The
|
|
287
|
+
options are cross-domain linking where the vendor supports it, or server-side capture that
|
|
288
|
+
carries the identifier server to server (`server-side.md`). This is the strongest
|
|
289
|
+
genuine case for server-side tracking in this skill, so it is also the one where any
|
|
290
|
+
recommendation must be most carefully earned rather than assumed.
|
|
291
|
+
|
|
292
|
+
## When nothing here fits
|
|
293
|
+
|
|
294
|
+
1. **Ask what happens after submit.** Redirect to a new URL, inline message, or nothing
|
|
295
|
+
visible? That answer alone picks the shape.
|
|
296
|
+
2. **Look at the page.** section A above covers the four
|
|
297
|
+
submit patterns and how to tell them apart.
|
|
298
|
+
3. **Check whether the platform already does it.** Native integrations are free and
|
|
299
|
+
maintained by the platform where they cover the moment and destination (`server-side.md`).
|
|
300
|
+
Lead with the native path, then present the other options alongside it.
|
|
301
|
+
4. **Only then** reach for `generic-ajax-form` or `thank-you-page`.
|
|
302
|
+
|
|
303
|
+
If you build a working detector for a tool not listed here, it is worth contributing back.
|
|
304
|
+
|
|
305
|
+
|
|
306
|
+
## 4. Ecommerce moments
|
|
307
|
+
|
|
308
|
+
The inference problem above mostly does not exist for purchases, because an order record
|
|
309
|
+
does. Use the platform's own confirmed-order surface and never rebuild the inference:
|
|
310
|
+
|
|
311
|
+
- **Shopify:** `checkout_completed` via a web pixel, or a native channel doing it for you. The fire-on-confirmed-success rule is satisfied by construction.
|
|
312
|
+
- **WooCommerce:** the server-side order hooks (`woocommerce_payment_complete`, `woocommerce_thankyou`), with a tracked flag in order meta so refreshes never double count.
|
|
313
|
+
- **Easy Digital Downloads:** `edd_update_payment_status` for the order lifecycle.
|
|
314
|
+
- **Hosted checkouts on a vendor's domain** (Kajabi, Teachable, ThriveCart and similar) are Shape 4 above: a pixel may fire, but the click ID cannot cross domains, which is a structural limit, not a configuration mistake.
|
|
315
|
+
- **Custom stores:** the order-confirmation webhook or handler is the moment. Nothing needs inferring.
|
|
316
|
+
|
|
317
|
+
Full platform detail, the deprecation calendar, and the shared ecommerce mechanics (dedup, value correctness, feeds, refunds) are in `ecommerce-platforms.md`.
|
|
318
|
+
Key sources: contactform7.com/dom-events; docs.gravityforms.com gform_confirmation_loaded; developer.calendly.com parent-window notifications; typeform.com/developers/embed/callbacks; developers.hubspot.com global form events (v4) + legacydocs (v2); developers.google.com/tag-platform/devguides/existing; simoahava.com container snippet internals; conversiontracking.io Jotform/Typeform/iframe guides; analyticsmania.com per-platform GTM guides; trackingchef.com bulletproof form tracking series; dumbdata.co listeners; freak.marketing Squarespace; framer.com UTM/Ads IDs help; stape.io custom loader docs; wappalyzer source.
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
# Why the numbers never match
|
|
2
|
+
|
|
3
|
+
Load this for any discrepancy question ("GA4 and Google Ads don't match", "Meta says more than Google") and for expectation-setting at the end of a setup. Compiled August 2026, refund material September 2026. Vendor claims flagged [VENDOR].
|
|
4
|
+
|
|
5
|
+
**Recovering the losses.** Server-side delivery from a first-party loader domain recovers part of the ad-blocker share, because many blocklists target known third-party tracker domains and a subdomain of the site itself is not one (default loaders are still list-blocked; see 2.3). Sending the lead's identity (hashed email and phone) with each conversion, from the browser (Enhanced Conversions for web, Meta advanced matching) or from a server, recovers much of the ITP and cross-device share, because the platform can then match the conversion to the signed-in person who clicked even when the click ID is gone. Consent denial is the exception. No method recovers it, and none should. The honest option comparison lives in `server-side.md`.
|
|
6
|
+
|
|
7
|
+
## 0. Core framing: GA4 and Google Ads NEVER match - that's normal
|
|
8
|
+
|
|
9
|
+
Set expectations before diagnosing. Reasons a perfect setup still diverges:
|
|
10
|
+
1. **Date attribution**: Ads books conversions to click date; GA4 to conversion date. Conversions post to Ads up to 90 days after click; recent Ads ranges retroactively grow.
|
|
11
|
+
2. **Attribution model**: Ads credits its own clicks; GA4 DDA splits across ALL channels. GA4 always assigns paid search fewer conversions.
|
|
12
|
+
3. **View-through / engage-through / cross-device**: Ads counts view-through and cross-device that GA4 can't see. Meta counts 1-day view and (2026) engage-through.
|
|
13
|
+
4. **Counting rules**: Every vs One (Ads), All vs First (Meta), per-event vs per-session (GA4).
|
|
14
|
+
5. **Modeling**: with Consent Mode, Ads and GA4 each run their OWN modeling engine.
|
|
15
|
+
6. **Processing lag**: GA4 24-48h; GA4→Ads imports +1-3 days. Never compare windows ending <3 days ago.
|
|
16
|
+
7. **Timezone/currency mismatches** shift day boundaries.
|
|
17
|
+
|
|
18
|
+
**Normal vs broken**: 10-30% Ads-vs-GA4 gap is normal. Investigate when: gap >40%, direction flips, gap changes suddenly, or one platform reads zero.
|
|
19
|
+
|
|
20
|
+
## 1. Inherent cross-platform causes (expectation-setting)
|
|
21
|
+
- Click-date vs conversion-date bookkeeping - whole recent-window gap for long cycles
|
|
22
|
+
- Attribution model scope - part of normal 10-30%
|
|
23
|
+
- View/engage-through + cross-device - varies with Display/Video/PMax spend
|
|
24
|
+
- Attribution windows: Google Ads 1-90d click (default 30); Meta max 7d click / 1d view (post-2026: link clicks only); a day-10 lead exists for Google, invisible to Meta
|
|
25
|
+
- Counting method mismatches
|
|
26
|
+
- **GA4-import + native tag both Primary = up to 2x double counting** (fix: demote one to Secondary; prefer native tag as Primary - faster, supports EC and view-through; imports arrive 1-3 days stale)
|
|
27
|
+
- Modeled conversions: consent mode modeling needs ~700 ad clicks per 7 days per country-domain grouping; below threshold, no modeled backfill - most SMB sites never qualify. Consented users convert 2-5x more than average so extrapolation over-corrects.
|
|
28
|
+
- GA4 thresholding/cardinality hides rows: (other), (not set); ~5-10% reporting loss [VENDOR]
|
|
29
|
+
|
|
30
|
+
## 2. Environmental undercount (tracking installed correctly, still loses data)
|
|
31
|
+
|
|
32
|
+
### 2.1 Consent banner hard-blocking GTM/gtag
|
|
33
|
+
- Symptom: sharp drop in ALL metrics dated to CMP launch; EU-skewed.
|
|
34
|
+
- Mechanism: CMP blocks gtm.js/gtag.js until opt-in (script blocking, not Consent Mode). Everyone ignoring or rejecting the banner is invisible.
|
|
35
|
+
- Confirm: incognito, don't touch banner, check Network for gtm.js/collect; overlay CMP install date on traffic graph.
|
|
36
|
+
- Fix: Consent Mode v2 (tags load, cookieless pings when denied → modeling possible).
|
|
37
|
+
- Magnitude: Germany/France <25% acceptance in some studies vs 80%+ US; up to ~55% loss in strict EU markets.
|
|
38
|
+
|
|
39
|
+
### 2.2 Consent Mode v2 misimplementation (silent Google Ads killer)
|
|
40
|
+
- Symptom: Ads conversions collapse (documented 90% overnight drop) while clicks/spend continue.
|
|
41
|
+
- Mechanism: banner looks functional but never transmits ad_user_data/ad_personalization → Google discards conversions. Stricter enforcement from July 2025 is widely reported (not a formal Google announcement).
|
|
42
|
+
- Confirm: GTM Preview Consent tab; gcs/gcd params; Google diagnostics lag 48-72h.
|
|
43
|
+
- Magnitude: post-fix only ~40% of lost attribution recoverable via modeling.
|
|
44
|
+
|
|
45
|
+
### 2.3 Ad blockers / privacy extensions / Brave
|
|
46
|
+
- ~29.5% of global users run ad blockers (Q2 2025 GWI); US ~32.5%. Developer/SaaS audiences 40-60%, B2B software 30-50%, finance 25-35%, consumer ecom 15-25% [VENDOR estimates].
|
|
47
|
+
- Blocking the GTM container silences EVERY tag inside it at once.
|
|
48
|
+
- Confirm: compare form-plugin/CRM lead count to platform conversions.
|
|
49
|
+
- sGTM with default loaders is STILL list-blocked - custom loaders needed. Never fully fixable.
|
|
50
|
+
|
|
51
|
+
### 2.4 Safari ITP
|
|
52
|
+
- JS-set first-party cookies (_ga, _gcl_aw, _fbp, _fbc) capped at 7 days; capped at 24 HOURS when the landing URL carries known tracking params (gclid/fbclid); CNAME cloaking detected and capped.
|
|
53
|
+
- Symptom: rising "direct" conversions; returning Safari users counted new; >7-day consideration cycles lose attribution. Hits B2B/financial/home services lead gen hard.
|
|
54
|
+
- Fix: HTTP Set-Cookie from own server is exempt (up to 400 days) = the server-side argument. Client-side mitigation: capture attribution to CRM at first touch via hidden fields.
|
|
55
|
+
- Magnitude: Safari ≈ 20-30% of US/AU lead-gen traffic.
|
|
56
|
+
|
|
57
|
+
### 2.5 Firefox ETP / Edge Tracking Prevention
|
|
58
|
+
- Firefox blocks Meta pixel by default standard mode, GA in strict/private; Edge Balanced blocks unvisited-site trackers. 5-10% of traffic; concentrated on third-party pixels.
|
|
59
|
+
|
|
60
|
+
### 2.6 iOS ecosystem (lead gen specifics)
|
|
61
|
+
- ATT limits in-app identifiers (Meta/TikTok in-app browser clicks); iCloud Private Relay masks IP (degrades matching); iOS 17+ Link Tracking Protection strips click IDs in Mail/Messages/private browsing; Meta in-app browser + ITP shortens _fbp/_fbc life.
|
|
62
|
+
- Net: iOS leads disproportionately "direct/unassigned"; Meta iOS relies on modeling. Partial fix: CAPI/enhanced conversions with hashed email from the form.
|
|
63
|
+
|
|
64
|
+
### 2.7 Cross-device journeys
|
|
65
|
+
- Ad clicked on one device (usually a phone), conversion completed on another (usually a desktop). The click ID cookie lives on the first device, so the converting browser has nothing to report and the conversion lands unattributed.
|
|
66
|
+
- Hits considered purchases and B2B lead gen hardest, where research happens on mobile and forms get filled at a desk.
|
|
67
|
+
- Fix: send identity with the conversion (hashed email and phone via browser Enhanced Conversions or Meta advanced matching, or server-side via CAPI) so the platform matches it to the signed-in user who clicked. Google and Meta also run their own logged-in cross-device graphs, which is part of why their totals exceed GA4's.
|
|
68
|
+
- Not fixable by the click ID alone; browser identity options help when the tag fires, server-side sends help when it doesn't. Invisible from the page.
|
|
69
|
+
|
|
70
|
+
## 3. Site-level causes
|
|
71
|
+
### 3.1 Redirects stripping gclid/fbclid
|
|
72
|
+
- http→https, non-www→www, trailing slash, migrations, vanity URLs, geo redirects, cross-domain hops. Ads may show "Website redirects are losing click data".
|
|
73
|
+
- Confirm: `curl -I "https://final-url?gclid=TEST123"` follow chain; check _gcl_aw after landing; Ads clicks vs GA4 google/cpc sessions shortfall.
|
|
74
|
+
- Fix: preserve query strings (Apache QSA, Nginx $is_args$args) or point ads at final URL. 100% loss on affected paths.
|
|
75
|
+
|
|
76
|
+
### 3.2 Auto-tagging disabled or URL rewritten client-side
|
|
77
|
+
- GA4 shows google/organic for paid traffic; frameworks/routers stripping query params on first load (e.g. Angular).
|
|
78
|
+
|
|
79
|
+
### 3.3 SPA / thank-you never actually "loads"
|
|
80
|
+
- Virtual route = no page load = pageview-URL triggers never fire. Also: AJAX forms with inline success never navigate at all. Secondary: rogue referral resets attribution; stale dataLayer values.
|
|
81
|
+
- Fix: History Change triggers or developer-pushed dataLayer event on submit success. Binary: 100% missing for affected form.
|
|
82
|
+
|
|
83
|
+
### 3.4 Third-party/iframe forms (Typeform, Calendly, HubSpot...)
|
|
84
|
+
- Parent GTM can't see inside cross-origin iframe; events inside belong to vendor's domain; cross-domain redirect flows reset attribution (self-referral).
|
|
85
|
+
- Fix: vendor postMessage callbacks → dataLayer; referral exclusions; or vendor webhook → server-side conversion.
|
|
86
|
+
|
|
87
|
+
### 3.5 Duplicate conversions (overcount)
|
|
88
|
+
- Tag twice (GTM + hardcoded, plugin + manual, two containers); thank-you refresh/bookmark/back-button; Count=Every; GA4 import + native both Primary; no event_id dedup across browser + server.
|
|
89
|
+
- Confirm: GTM Preview double-fire; refresh thank-you page; sibling conversion actions; Meta dedup diagnostics.
|
|
90
|
+
|
|
91
|
+
## 4. "Conversions but no leads in inbox" - and the reverse
|
|
92
|
+
### 4.1 Conversions but no (real) leads
|
|
93
|
+
- Bot form submissions (tag fires honestly): gibberish names, empty messages, identical search terms at ~100% CVR, 20-30% conversion rates with zero callbacks
|
|
94
|
+
- Search Partners network fraud (one audit: half of suspicious conversions from ~5% of impressions); PMax junk placements
|
|
95
|
+
- Test submissions not excluded; duplicate counting; email delivery failure (check the form tool's OWN entries list before blaming tracking); view-through vs click-expectation mental model
|
|
96
|
+
- Fixes: disable Search Partners, reCAPTCHA/honeypot, IP exclusions, offline import so only CRM-qualified leads train bidding
|
|
97
|
+
### 4.2 Leads in inbox but no conversions
|
|
98
|
+
- Ad blocker / consent / ITP; thank-you never loads / iframe; gclid stripped (conversion lands as organic); lead via untracked path (phone, email reply, chat); attribution window expired; recorded as Secondary or different action; reporting lag
|
|
99
|
+
|
|
100
|
+
## 5. Server-side: what it recovers, why DIY is hard
|
|
101
|
+
- Vendor claims [ALL VENDOR]: Meta's own oft-quoted CAPI figure: 19% additional attributed purchases, 13% lower cost per result. Stape cases: 46% more reported Google Ads conversions (Square), 38% attribution recovery. Treat as upper bounds.
|
|
102
|
+
- Mechanisms of real recovery: HTTP first-party cookies with full TTL (vs 7d/24h ITP); first-party subdomain serving evades SOME blocklists (default sGTM loaders still blocked); server-to-server delivery immune to browser blocking.
|
|
103
|
+
- Practitioner figure, not a benchmark: client-side-only undercount around 30% vs form DB/CRM has been reported for non-EU lead gen, worse for EU and technical audiences. Measure the account's own gap (CRM vs platform) instead of quoting this.
|
|
104
|
+
- Why DIY sGTM is hard: GCP production ≈ $90+/mo or hosted from $17/mo billed yearly (Stape Pro), $83/mo billed yearly for Business; custom subdomain + DNS; rebuilding every tag server-side; 50-120 dev hours setup [VENDOR, high-end]; silent breakage ("conversions go dark 72h before anyone notices"); consent still applies server-side (firing for opted-out users = violation).
|
|
105
|
+
|
|
106
|
+
## 6. Magnitude table
|
|
107
|
+
|
|
108
|
+
| Cause | Direction | Magnitude | Fix class |
|
|
109
|
+
|---|---|---|---|
|
|
110
|
+
| Click-date vs conv-date | Ads earlier | whole recent-window gap | Inherent |
|
|
111
|
+
| Attribution model scope | GA4 lower | part of 10-30% | Inherent |
|
|
112
|
+
| View/engage-through | Ads/Meta higher | varies w/ display | Inherent |
|
|
113
|
+
| GA4 import + tag both Primary | Ads inflated | up to 2x | Settings |
|
|
114
|
+
| Duplicate tags / refresh | Inflated | case-by-case | Client-side |
|
|
115
|
+
| Consent hard-block | All down | up to 55% (EU) | Client-side (CMv2) |
|
|
116
|
+
| Consent Mode v2 broken | Ads collapse | up to 90%; ~40% recoverable | Client-side |
|
|
117
|
+
| Ad blockers | All down | ~30% global; 40-60% B2B/dev | Server-side (partial) |
|
|
118
|
+
| Safari ITP | → direct | Safari share × >7d converters | Server-side |
|
|
119
|
+
| Cross-device journeys | → unattributed | varies with mobile ad share | Identity data (browser identity options or server-side) |
|
|
120
|
+
| Firefox/Edge | Pixels down | 5-10% traffic | Server-side (partial) |
|
|
121
|
+
| Redirects stripping gclid | Ads → 0 | 100% of affected path | Client-side |
|
|
122
|
+
| SPA/iframe thank-you | → 0 | binary | Client-side |
|
|
123
|
+
| Bot/spam fills | Conversions > leads | can be ~half | Client-side |
|
|
124
|
+
| Window mismatch | Meta < Google | slow-cycle leads | Inherent |
|
|
125
|
+
|
|
126
|
+
## 7. The refund asymmetry (ecommerce)
|
|
127
|
+
|
|
128
|
+
Platforms disagree about whether a refunded purchase ever stops being a conversion:
|
|
129
|
+
|
|
130
|
+
- **Google Ads** supports conversion adjustments. Restate changes the value (partial refund), retract removes the conversion entirely. Adjustments work with gclid and gbraid, not wbraid, generally need an order_id, must happen within 54 days (within 7 days for bidding to use them), and are one-shot: a retracted conversion can never be adjusted again.
|
|
131
|
+
- **GA4** has a standard `refund` event keyed on transaction_id.
|
|
132
|
+
- **Meta** documents no refund mechanism, so a sent Purchase stays counted.
|
|
133
|
+
|
|
134
|
+
Two practical consequences. First, a store that dutifully adjusts Google and sends GA4 refunds will show structurally higher Meta ROAS than Google ROAS, and that is a platform asymmetry, not a tracking bug. Second, almost nobody wires up adjustments at all, so on any high-return store, every platform's ROAS is overstated by roughly the refund rate, and "are refunds adjusted anywhere?" is an audit question whose usual answer is no.
|
|
135
|
+
|
|
136
|
+
Key sources: support.google.com/google-ads/answer/7457111 (discrepancy factors), /10548233 (consent modeling), /15629968 (redirects); nicelookingdata.com; seresa.io; ppcpanos.com; ppc.land CMv2 enforcement; cookieyes.com consent trends; introtrace.com ad blocker stats; simoahava.com ad-blocker measurement; dataunlocker.com sGTM vs blockers; stape.io (ITP, benefits, discrepancies) [VENDOR]; convert.com ETP/ITP; cardinalpath.com iOS17 LTP; adnanagic.com gclid; analyticsmania.com SPA; webeminence.com spam conversions; jonloomer.com Meta attribution 2026; clickport.io data loss [VENDOR]; hallam.agency custom loaders.
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
# Ecommerce platforms: Shopify, WooCommerce, and the rest
|
|
2
|
+
|
|
3
|
+
Load this when the conversion is a purchase and the store runs on a platform. It covers what actually works on each platform right now, what recently stopped working (with dates, because "my tracking died" increasingly has a calendar explanation), and the mechanics that apply to every store regardless of platform.
|
|
4
|
+
|
|
5
|
+
## The mechanics every store shares
|
|
6
|
+
|
|
7
|
+
The order record is the source of truth. Everything below follows from using it properly.
|
|
8
|
+
|
|
9
|
+
- **Deduplication is mandatory, not optional.** Nearly every ecommerce setup ends up with two senders for the same purchase (a browser pixel and a server event, or a platform's native channel and an app someone installed). Both fire, both count, revenue doubles. Every pair of senders must share an event ID per purchase (Meta deduplicates on `event_id` + event name; GA4 on `transaction_id`), or one of the senders must be removed. When auditing overcounting, inventory the senders before touching any tag.
|
|
10
|
+
- **Value correctness is where trust dies quietly.** Decide once whether reported value includes tax and shipping, apply it identically on every sender, and check the currency. Multi-currency stores can report the shopper's presentment currency to one platform and the store currency to another, which makes ROAS wrong in both directions at once.
|
|
11
|
+
- **Item IDs must match the merchant feed.** Dynamic remarketing and Shopping campaigns join purchase item data against the product feed. IDs that do not match (variant ID sent where the feed carries the parent product ID, or vice versa) break the join silently; campaigns keep running on less data and nothing errors.
|
|
12
|
+
- **Platforms optimise on the funnel, not just the purchase.** View item, add to cart, and begin checkout feed bidding and retargeting. A purchase-only setup works but underfeeds the algorithms.
|
|
13
|
+
- **Refunds are an asymmetry, not a setting.** Google Ads supports conversion adjustments (restate for partial refunds, retract for full ones; gclid and gbraid only, within 54 days of the conversion and within 7 days for bidding to use them, and a retracted conversion can never be adjusted again). GA4 has a standard `refund` event. Meta documents no refund mechanism. Almost nobody wires any of this up, so "are refunds adjusted anywhere?" is a legitimate audit question whose usual answer is no. Consequences in `discrepancies.md`.
|
|
14
|
+
|
|
15
|
+
## Shopify
|
|
16
|
+
|
|
17
|
+
### The deprecation calendar (check this first in any audit)
|
|
18
|
+
|
|
19
|
+
Shopify removed the places people pasted tracking code for a decade, on these dates, verified against Shopify's own developer documentation:
|
|
20
|
+
|
|
21
|
+
| Date | What stopped |
|
|
22
|
+
|---|---|
|
|
23
|
+
| 1 Feb 2025 | Apps can no longer create script tags scoped to the order status page |
|
|
24
|
+
| 28 Aug 2025 | Script tags and Additional Scripts stop on Thank you and Order status pages, **Plus stores** |
|
|
25
|
+
| **26 Aug 2026** | The same stop for **all remaining stores**, applied by auto-upgrade whether or not the merchant migrated |
|
|
26
|
+
| 1 Oct 2026 | Apps can no longer create or update storefront script tags (existing ones keep running until 1 Mar 2027) |
|
|
27
|
+
| 1 Mar 2027 | Storefront script tags stop on the storefront proper (the next wave) |
|
|
28
|
+
|
|
29
|
+
The failure is silent. Checkout works, the thank-you page renders, only the tags are gone. **Any Shopify store whose conversion tracking "just stopped" in late August 2026 should be checked for this before anything else.** The one-minute check is whether the missing tag lived in checkout's Additional Scripts or came from an app that customised the order pages. Most tracking guides on the internet still teach the dead method, so a user following a recent-looking tutorial can build an already-broken setup today.
|
|
30
|
+
|
|
31
|
+
### What works now
|
|
32
|
+
|
|
33
|
+
- **The native channels, first.** The Google & YouTube channel installs the Google tag, configures purchase conversion tracking, and sends Enhanced Conversions with hashed checkout data. Purchases ("Checkout completed" only) are also imported server to server through Google's Data Manager, deduplicated against the tag, and the import switches on automatically with the app. The Facebook & Instagram channel at the "Enhanced" or "Maximum" data-sharing setting sends purchases server-side via CAPI. For a store whose destinations are Google Ads and Meta, this is complete, free, and maintained by Shopify, and the honest recommendation is to lead with it. See `server-side.md` for the other options and when a third-party tool earns its fee (other destinations, funnel depth, parameter control, agency multi-store needs).
|
|
34
|
+
- **Web pixels, for everything else.** Custom pixels are added in the admin under Settings, then Customer events, and subscribe to standard events (`page_viewed`, `product_viewed`, `product_added_to_cart`, `checkout_started`, `checkout_completed`). Apps ship app pixels through the same API. This is the only supported way to run your own tracking code through checkout and the order pages.
|
|
35
|
+
- **Know the sandbox before debugging it.** Pixels run sandboxed (custom pixels in a lax sandbox, app pixels strict), with controlled access to browser APIs. Scripts that assume full page access can behave differently inside a pixel than they did in a theme. When a tag misbehaves in a pixel, check the platform's pixel-specific install docs before assuming the tag is wrong.
|
|
36
|
+
- **Checkout events are trustworthy.** `checkout_completed` fires on the platform's own order flow, so the fire-on-confirmed-success rule is satisfied by construction. The lead-gen problem of inferring success does not exist here.
|
|
37
|
+
|
|
38
|
+
### Auditing a Shopify store
|
|
39
|
+
|
|
40
|
+
1. Date the breakage against the calendar above.
|
|
41
|
+
2. Inventory the senders: native channels connected, app pixels installed, custom pixels defined, any legacy theme code. Overcounting on Shopify is almost always two of these firing for the same purchase without dedup.
|
|
42
|
+
3. Check value settings per sender (tax and shipping in or out, presentment versus store currency).
|
|
43
|
+
4. Verify with a real low-value test order if policy allows, or the platform's test surfaces, and refund it afterwards (noting the refund will not reach Meta).
|
|
44
|
+
|
|
45
|
+
## WooCommerce
|
|
46
|
+
|
|
47
|
+
### Two checkouts, two behaviours
|
|
48
|
+
|
|
49
|
+
WooCommerce currently ships two checkout architectures, and tracking advice must fork on which one the store runs. The classic shortcode checkout renders through PHP templates and fires the hooks and jQuery events a decade of plugins depend on. The Blocks checkout (default for new installs since WooCommerce 8.3) renders through React and does not fire many of them, which quietly breaks older tracking plugins and homemade jQuery listeners. A store that redesigned its checkout and lost tracking usually crossed this line.
|
|
50
|
+
|
|
51
|
+
Version changes matter here too. WooCommerce 10.9 (23 June 2026) moved Store API draft order creation closer to place-order time. WooCommerce's notes don't say it broke anything, but an integration that expected an order to exist early in checkout could miss it (inferred). When a WooCommerce site's tracking stopped, ask what updated that week; the answer is often in the changelog.
|
|
52
|
+
|
|
53
|
+
### What works now
|
|
54
|
+
|
|
55
|
+
- **Hook the order, not the page.** The server-side order hooks (`woocommerce_payment_complete`, and `woocommerce_thankyou` as the page-side companion) fire regardless of which checkout renders. Anything keyed on them survives both architectures and every front-end redesign. This is the purest form of reading the order record.
|
|
56
|
+
- **Guard the thank-you page.** The thank-you URL gets refreshed, bookmarked, and revisited. The production-grade pattern is to record a tracked flag in order meta the first time tracking fires for an order and check it before firing again, so every order counts exactly once. Any thank-you-page-based tag without such a guard overcounts.
|
|
57
|
+
- **The plugin route.** Official platform plugins exist for Google and Meta, and independent plugins (Conversion Bridge is a current multi-integration example spanning WooCommerce, Easy Digital Downloads, and dozens of form and membership plugins) handle detection and sending across the WordPress ecosystem. Server-side coverage differs per plugin and shifts between versions, so verify what a given plugin actually sends server-side in its current documentation rather than assuming. The same order-hook and dedup rules apply to whatever the plugin ships.
|
|
58
|
+
- **Caching is a real failure mode.** Aggressive page caching can serve stale checkout and thank-you markup that breaks dynamic tracking. When tracking works logged in and fails logged out, suspect the cache.
|
|
59
|
+
- **Easy Digital Downloads** follows the same shape with its own hooks (`edd_update_payment_status` for the order lifecycle, `edd_refund_order` for refunds).
|
|
60
|
+
|
|
61
|
+
### Auditing a WooCommerce store
|
|
62
|
+
|
|
63
|
+
1. Which checkout, classic or Blocks? Everything downstream depends on it.
|
|
64
|
+
2. What updated recently (WooCommerce core, the tracking plugin, the theme)?
|
|
65
|
+
3. Where does the purchase event originate, a page template, a plugin, or an order hook? Page-origin tracking gets the double-fire and cache checks; hook-origin tracking mostly needs the dedup and value checks.
|
|
66
|
+
4. Same sender inventory and value checks as Shopify.
|
|
67
|
+
|
|
68
|
+
## Other platforms, briefly
|
|
69
|
+
|
|
70
|
+
- **BigCommerce, Squarespace Commerce, Wix Stores** and similar hosted carts vary in how much script access and which native integrations they offer, and their details shift often enough that this file does not attempt to freeze them. Apply the shared mechanics above (identify the order-confirmed moment the platform exposes, inventory senders, dedup, value correctness), check the platform's current documentation for its supported tracking surface, and treat any paste-a-pixel-ID field as browser-side with all the usual losses.
|
|
71
|
+
- **Custom-built stores** are the cleanest case, not the hardest. The backend already knows the order; send conversions from the order-confirmation webhook or handler via the platform APIs or a server-side container (`server-side.md`), attach the click IDs captured at landing, and dedup against any browser pixel that also fires. The fire-on-confirmed-success rule is trivially satisfiable and there is no platform in the way.
|