@stacksjs/defaults 0.75.515 → 0.75.519
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 +6 -6
- 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,316 @@
|
|
|
1
|
+
# Google Ads
|
|
2
|
+
|
|
3
|
+
## Part A: setup from zero
|
|
4
|
+
|
|
5
|
+
Guided setup for wiring a form or booking tool to Google Ads. The agent usually cannot log into the user's ad account, so account steps say exactly where to click and what to report back. Website and GTM steps the agent may be able to do directly.
|
|
6
|
+
|
|
7
|
+
**Contents**
|
|
8
|
+
- Before you start (pick Path A or Path B)
|
|
9
|
+
- Path A, with Google Tag Manager (Steps 1 to 5, recommended)
|
|
10
|
+
- Path B, no Google Tag Manager (Steps 6 to 8)
|
|
11
|
+
- Step 9, auto-tagging check (both paths)
|
|
12
|
+
- Enhanced conversions note, then Verification and Common failures
|
|
13
|
+
|
|
14
|
+
### Before you start
|
|
15
|
+
|
|
16
|
+
You need three things:
|
|
17
|
+
|
|
18
|
+
- Access to the Google Ads account (the user has this, you guide them).
|
|
19
|
+
- The form or booking tool in play. This skill has detection recipes for 22 form and booking tools, plus 4 universal patterns (phone clicks, file downloads, thank-you pages, and generic AJAX forms). The full list with canonical dataLayer event names lives in `../assets/gtm-recipes/event-map.json` and `../assets/snippets/README.md`. Example, Gravity Forms pushes `gravity_form_submitted`. Supported tools are Acuity Scheduling, Cal.com, Calendly, Contact Form 7, Divi Forms, Elementor Forms, Fluent Forms, Formidable Forms, Forminator, Framer Forms, Gravity Forms, HubSpot Forms, Jotform, Ninja Forms, Squarespace Forms, Tally, Typeform, Webflow Forms, Wix Forms, Wix Bookings, WPForms, and WS Form.
|
|
20
|
+
- A decision on the install path. Check the site's page source for a `GTM-` container snippet, or ask the user. If GTM is installed, use Path A. If not, use Path B. Never do both, that double counts.
|
|
21
|
+
|
|
22
|
+
Also do a quick duplicate pre-check before installing anything. Fetch the page source and look for an existing `AW-` ID, a `gtag('event', 'conversion'` call, or an existing Google Ads conversion tag inside the GTM container. If the same real-world action is already being tracked, fix or replace that setup rather than adding a second one on top. Two tags for one form is the classic overcounting setup.
|
|
23
|
+
|
|
24
|
+
How the pieces fit, so you can explain it to the user:
|
|
25
|
+
|
|
26
|
+
1. The detection code watches the form and pushes a dataLayer event the moment someone actually submits.
|
|
27
|
+
2. The Google Ads conversion tag hears that event and reports a conversion using the Conversion ID and Label.
|
|
28
|
+
3. The Conversion Linker (Path A) or the Google tag (Path B) stores the gclid, the click ID Google appends to ad URLs when auto-tagging is on.
|
|
29
|
+
4. Google matches the conversion to the stored click ID, and the conversion shows up against the campaign that earned it.
|
|
30
|
+
|
|
31
|
+
Values to collect from the user along the way, so nothing stalls mid-flow:
|
|
32
|
+
|
|
33
|
+
- The Conversion ID and Conversion label (Step 2).
|
|
34
|
+
- Whether auto-tagging is on (Step 9).
|
|
35
|
+
- The conversion action's Status column reading, any time verification is in question.
|
|
36
|
+
|
|
37
|
+
### Path A, with Google Tag Manager (recommended)
|
|
38
|
+
|
|
39
|
+
End state, GTM does all the listening and firing, and nothing gets pasted into the site's code. The user does Steps 1 and 2 in their Google Ads account and reports 2 values back. The agent can usually do Steps 3 to 5 itself if it has GTM access, otherwise guide the user through them.
|
|
40
|
+
|
|
41
|
+
**Step 1 - Create the conversion action in Google Ads**
|
|
42
|
+
- **Goal.** Create a Website conversion action so Google Ads has something to record submissions against.
|
|
43
|
+
- **Do this.** Ask the user to sign in to Google Ads, click the Goals icon in the left menu, then Conversions, then Summary, then click + Create conversion action (older accounts show + New conversion action). Choose Website. If Google asks for the website address and scans the site, skip the "Automatically without code" suggestions and choose to add a conversion action manually. Set the category to Submit lead form (use Book appointment for Acuity Scheduling, Cal.com, Calendly or Wix Bookings), give it a clear name like "Lead form submitted", leave value off or use one value per conversion, set counting to One, then save.
|
|
44
|
+
- **Expect to see.** The new action appears under Goals, Conversions, Summary with status "Unverified". That status is normal at this point.
|
|
45
|
+
- **On error.** If the user only sees a simplified screen with no Goals menu, the account is in Smart Mode and needs switching to expert mode first. If the only option offered tracks page visits by URL, they went down the "Automatically without code" route, which counts page loads rather than real submissions. Go back and add the action manually.
|
|
46
|
+
|
|
47
|
+
**Step 2 - Grab the Conversion ID and Conversion Label**
|
|
48
|
+
- **Goal.** Get the 2 values the tag needs, the Conversion ID (the digits after AW-) and the Conversion Label.
|
|
49
|
+
- **Do this.** Ask the user to click the new conversion action's name in the Summary table, scroll to the "Tag setup" section, and click "Use Google Tag Manager". Have them read back the Conversion ID and Conversion label shown there. The "Install the tag yourself" option shows the same 2 values inside the code, after `AW-` and after the slash in `send_to`.
|
|
50
|
+
- **Expect to see.** A Conversion ID that is all digits (like 123456789) and a Conversion label that is a short mixed-case string (like AbCdEfGhIj).
|
|
51
|
+
- **On error.** No "Tag setup" section usually means the action was created as a URL-based or imported action, which has no label. Recreate it manually per Step 1. If the ID they read starts with AW-, just strip that prefix, the script also strips it for you.
|
|
52
|
+
|
|
53
|
+
**Step 3 - Build the import file**
|
|
54
|
+
- **Goal.** Produce 1 GTM container file that bundles the tool's detection tag, the Google Ads conversion tag, and a Conversion Linker tag.
|
|
55
|
+
- **Do this.** Run this, substituting the tool key from `../assets/gtm-recipes/event-map.json` and the 2 values from Step 2. `bun ../scripts/build-recipe.ts --tool {tool} --send google-ads --conversion-id {id} --conversion-label {label} -o import-me.json` The script uses only native Bun and Node APIs and can run from any folder, paths resolve relative to the script file.
|
|
56
|
+
- **Expect to see.** The script prints "wrote import-me.json" plus which dataLayer event it detects and where it sends.
|
|
57
|
+
- **On error.** "invalid choice" on --tool means the tool key is misspelled or unsupported, check the 26 keys in `../assets/gtm-recipes/event-map.json`. A complaint about missing --conversion-id or --conversion-label means Step 2 values were not passed.
|
|
58
|
+
- **Acuity only.** Acuity needs a second file. Paste `../assets/snippets/acuity-scheduling-field.html` into Acuity's Custom Conversion Tracking field (Integrations, then Custom Conversion Tracking) with the site's own address in `SITES`, or no booking ever reaches the page. Acuity runs that field for package and gift certificate purchases too, so count only events where `acuity_type` is `appointment`.
|
|
59
|
+
|
|
60
|
+
**Step 4 - Import the file into GTM**
|
|
61
|
+
- **Goal.** Load the 3 tags and their trigger into the site's existing GTM container without touching anything already there.
|
|
62
|
+
- **Do this.** In Google Tag Manager open the site's container, click Admin, then Import Container. Choose the import-me.json file, pick the Existing workspace (usually Default Workspace), choose Merge, then Rename conflicting tags, triggers, and variables. Review the preview dialog and click Confirm.
|
|
63
|
+
- **Expect to see.** The preview dialog lists roughly 3 added tags and 1 added trigger, no deletions. After confirming, the workspace shows the new tags.
|
|
64
|
+
- **On error.** If the container already had a Conversion Linker tag, the import creates a renamed duplicate. Keep 1 and delete the other. If the preview shows deletions, stop, Overwrite was selected instead of Merge.
|
|
65
|
+
|
|
66
|
+
**Step 5 - Preview, test, publish**
|
|
67
|
+
- **Goal.** Prove the tags fire on a real submission before making them live.
|
|
68
|
+
- **Do this.** In GTM click Preview, connect to the page carrying the form, and submit a test entry (ask the user first before submitting on a production site). In the Tag Assistant window, look for the tool's event (for example `gravity_form_submitted`) in the left timeline and confirm the "Google Ads Conversion" tag fired on it. Then go back to GTM and click Submit, then Publish.
|
|
69
|
+
- **Expect to see.** The detection event appears exactly once per submission, and the conversion tag shows as Fired.
|
|
70
|
+
- **On error.** If the detection event never appears, the form may sit inside an iframe from another domain, or the tool guess was wrong. Recheck against the table in `../assets/snippets/README.md`. If the event appears twice, the detection snippet is installed twice (pasted in the site head and imported into GTM), remove one.
|
|
71
|
+
|
|
72
|
+
### Path B, no Google Tag Manager
|
|
73
|
+
|
|
74
|
+
End state, 3 pieces of code sit in the site's `<head>` via the platform's custom code setting. The detection snippet, the Google tag, and a small listener that fires the conversion. No GTM account needed.
|
|
75
|
+
|
|
76
|
+
**Step 6 - Create the conversion action and grab the IDs**
|
|
77
|
+
- **Goal.** Same as Path A, get a conversion action plus its Conversion ID and Conversion Label.
|
|
78
|
+
- **Do this.** Follow Steps 1 and 2 above exactly. On the Tag setup screen, "Install the tag yourself" is the natural choice here, and both values are visible inside the code it shows.
|
|
79
|
+
- **Expect to see.** A conversion action with status "Unverified", plus the ID and label written down.
|
|
80
|
+
- **On error.** Same failure modes as Steps 1 and 2.
|
|
81
|
+
|
|
82
|
+
**Step 7 - Install the detection snippet**
|
|
83
|
+
- **Goal.** Make the site announce each submission as a dataLayer event.
|
|
84
|
+
- **Do this.** Copy the matching `../assets/snippets/{tool}.js` file from this repo and paste it inside a `<script>` tag in the site's `<head>`, using the platform's custom code setting (for example WordPress header scripts, Webflow custom code, Framer custom code).
|
|
85
|
+
- **Expect to see.** After a test submission, running `window.dataLayer.filter(e => e.event)` in the browser console shows the tool's event (for example `typeform_form_submitted`) exactly once.
|
|
86
|
+
- **On error.** Nothing in the dataLayer means the snippet is not on the page carrying the form, or the wrong tool's snippet was used. The event firing twice means it was installed twice.
|
|
87
|
+
- **Acuity only.** Acuity needs a second file. Paste `../assets/snippets/acuity-scheduling-field.html` into Acuity's Custom Conversion Tracking field (Integrations, then Custom Conversion Tracking) with the site's own address in `SITES`, or no booking ever reaches the page. Acuity runs that field for package and gift certificate purchases too, so count only events where `acuity_type` is `appointment`.
|
|
88
|
+
|
|
89
|
+
**Step 8 - Add the Google tag and the conversion listener**
|
|
90
|
+
- **Goal.** Load Google's tag and fire a conversion whenever the detection event appears.
|
|
91
|
+
- **Do this.** Paste this into the site's `<head>`, after the detection snippet is also in place. Replace `AW-XXXXXXXXX` with AW- plus the Conversion ID, `YYYYYYYYYYY` with the Conversion Label, and `TOOL_EVENT_NAME` with the canonical event from `../assets/gtm-recipes/event-map.json`.
|
|
92
|
+
|
|
93
|
+
```html
|
|
94
|
+
<!-- Google tag (gtag.js) -->
|
|
95
|
+
<script async src="https://www.googletagmanager.com/gtag/js?id=AW-XXXXXXXXX"></script>
|
|
96
|
+
<script>
|
|
97
|
+
window.dataLayer = window.dataLayer || [];
|
|
98
|
+
function gtag(){dataLayer.push(arguments);}
|
|
99
|
+
gtag('js', new Date());
|
|
100
|
+
gtag('config', 'AW-XXXXXXXXX');
|
|
101
|
+
</script>
|
|
102
|
+
|
|
103
|
+
<!-- Conversion listener. Fires when the detection event is pushed -->
|
|
104
|
+
<script>
|
|
105
|
+
(function () {
|
|
106
|
+
window.dataLayer = window.dataLayer || [];
|
|
107
|
+
var originalPush = window.dataLayer.push;
|
|
108
|
+
window.dataLayer.push = function (obj) {
|
|
109
|
+
var result = originalPush.apply(this, arguments);
|
|
110
|
+
if (obj && obj.event === 'TOOL_EVENT_NAME') {
|
|
111
|
+
gtag('event', 'conversion', {
|
|
112
|
+
'send_to': 'AW-XXXXXXXXX/YYYYYYYYYYY'
|
|
113
|
+
});
|
|
114
|
+
}
|
|
115
|
+
return result;
|
|
116
|
+
};
|
|
117
|
+
})();
|
|
118
|
+
</script>
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
- **Expect to see.** On a test submission, the browser's Network tab shows a request to googleadservices.com or google.com containing `/pagead/conversion/` with the ID and label.
|
|
122
|
+
- **On error.** No conversion request usually means a placeholder was left unreplaced (search the page source for XXXXXXXXX) or the event name does not match the canonical name exactly. A 400 style response often means the label is wrong.
|
|
123
|
+
|
|
124
|
+
### Auto-tagging check (both paths)
|
|
125
|
+
|
|
126
|
+
**Step 9 - Confirm auto-tagging is on**
|
|
127
|
+
- **Goal.** Make sure every ad click carries a gclid, the click ID Google uses to match a conversion back to the ad. Without it, tagged conversions cannot be credited.
|
|
128
|
+
- **Do this.** Ask the user to click the Admin icon in Google Ads, then Account settings, then the Auto-tagging section, and confirm the box "Tag the URL that people click through from my ad" is checked. If not, check it and click Save.
|
|
129
|
+
- **Expect to see.** The box checked. Clicking one of their own ads lands on a URL containing `?gclid=`.
|
|
130
|
+
- **On error.** If the box is on but landing URLs have no gclid, the site is stripping URL parameters through a redirect. See the click ID chain checks in Part B below and in `audit-playbook.md`.
|
|
131
|
+
|
|
132
|
+
### Enhanced conversions
|
|
133
|
+
|
|
134
|
+
This setup records the conversion but does not send the lead's email with it. The free next step is browser-side: enable enhanced conversions on the conversion action and supply user-provided data in GTM (automatic detection, a CSS selector, or a dataLayer variable) or the Google tag. It rides the same blocker and cookie losses as the tag. Server-side paths (an uploader, a managed tool, or your own backend send) are the alternative where blockers or iframes keep the browser from seeing the email. See `server-side.md` if match quality matters to the account.
|
|
135
|
+
|
|
136
|
+
### Verification
|
|
137
|
+
|
|
138
|
+
Observable checks only, in order:
|
|
139
|
+
|
|
140
|
+
1. **Tag Assistant.** Open tagassistant.google.com, connect to the site, submit a test, and confirm the Google Ads conversion tag fires on the detection event.
|
|
141
|
+
2. **Status column.** In Goals, Conversions, Summary, the action shows "Unverified" at first. That is normal for up to 48 hours, occasionally 72. It should then move to "Recording conversions". "No recent conversions" after that still means the tag is healthy, just quiet.
|
|
142
|
+
3. **Troubleshoot link.** Hovering a stuck "Unverified" or "Tag inactive" status shows a Troubleshoot link that launches Tag Assistant against the site. Use it before assuming the worst.
|
|
143
|
+
4. **Real ad click test.** Website conversions only count after an ad click. A bare test submission proves the tag fires but will not appear as a conversion. Click a live ad, submit, then check the next day.
|
|
144
|
+
5. **The 3 day rule.** Never judge a reporting window that ends less than 3 days ago. Conversions post against the click date and keep arriving late, so recent totals always grow retroactively.
|
|
145
|
+
6. **Duplicate scan.** In the Summary table, confirm only 1 Primary conversion action exists for this real-world action. If a GA4 key event import for the same form also sits at Primary, demote one to Secondary or bidding counts every lead twice (details in Part B below).
|
|
146
|
+
7. **Set expectations.** Even a perfect browser-side setup misses typically 10-30% (depending on audience) of conversions to ad blockers, Safari cookie limits, and cross-device journeys (clicked on a phone, converted on a laptop). That gap is environmental, not a bug. See `discrepancies.md`.
|
|
147
|
+
|
|
148
|
+
### Common failures
|
|
149
|
+
|
|
150
|
+
For anything that goes wrong after setup (statuses stuck on Unverified, Tag inactive dates, double counting, consent mode killing conversions, gclid stripping), work through the failure catalog in Part B below.
|
|
151
|
+
|
|
152
|
+
## Part B: diagnostic reference
|
|
153
|
+
|
|
154
|
+
Compiled August 2026 from Google Ads Help documentation, practitioner blogs (Analytics Mania, Adalysis, Adnan Agic, PPC Land, Cometly, TagFly, Elevar, ConversionTracking.io), and community threads.
|
|
155
|
+
|
|
156
|
+
**Fix assets.** From-zero setup steps are in Part A above. Missing or wrong triggers are usually fixed by this skill's tested assets: `../assets/snippets/`, `../assets/gtm-recipes/`, merged and ID-injected by `../scripts/build-recipe.ts`.
|
|
157
|
+
|
|
158
|
+
### Part B.1: Diagnostic Surfaces (check these first, in this order)
|
|
159
|
+
|
|
160
|
+
### 1.1 Conversion action status - Goals > Conversions > Summary
|
|
161
|
+
|
|
162
|
+
The "Status" column per conversion action is the single highest-value diagnostic signal:
|
|
163
|
+
|
|
164
|
+
| Status | Meaning | Implication |
|
|
165
|
+
|---|---|---|
|
|
166
|
+
| **Unverified** | Google has never seen the tag fire for this action. Normal for a few hours (up to 48h) after setup; if it persists for days, the tag was never installed, has the wrong ID/label, or fires on a page nobody visits | Broken setup - tag never fired once |
|
|
167
|
+
| **Recording conversions** | Tag seen and conversions recorded in last 7 days | Healthy |
|
|
168
|
+
| **No recent conversions** | Tag IS detected, but zero conversions in last 7 days | Tag works; either no conversions actually happened, low volume, or the event snippet page is unreachable. Not necessarily broken |
|
|
169
|
+
| **Tag inactive** / **Inactive** | Google no longer sees the tag AND no conversions in 7 days. UI shows last-detected date and last-conversion date | Tag was removed/broken on a specific date - correlate with site redesigns, GTM publishes, plugin updates |
|
|
170
|
+
| **Needs attention** | Active but has errors (commonly enhanced-conversions data problems) | Partially working; open Diagnostics |
|
|
171
|
+
| **Removed** | Conversion action deleted/disabled in the account | Re-enable the action |
|
|
172
|
+
|
|
173
|
+
**Three more statuses the table above misses.** Harvested from Google's own status
|
|
174
|
+
documentation, and each means something different from the four above:
|
|
175
|
+
|
|
176
|
+
- **Misconfigured.** Conversions have stopped recording *entirely* because of a setup error
|
|
177
|
+
or a broken tag. This is the most urgent status there is and it is not the same as
|
|
178
|
+
Unverified: Unverified means never seen, Misconfigured means it worked and now does not.
|
|
179
|
+
- **Awaiting conversions.** No conversions in 7 days, expected when the action was created
|
|
180
|
+
under 48 hours ago, the campaigns are paused, or traffic is too low to produce one. Do not
|
|
181
|
+
diagnose a tag problem from this without first checking whether campaigns are even running.
|
|
182
|
+
- **Removed (deleted or archived).** Distinct from the disabled "Removed" row above: the action
|
|
183
|
+
was manually deleted or archived. Nothing is broken; someone did this on purpose, possibly a
|
|
184
|
+
previous agency. Ask before recreating it.
|
|
185
|
+
|
|
186
|
+
Separately, Tag Diagnostics grades tags **excellent / good / needs attention / urgent**, and
|
|
187
|
+
there are three distinct enhanced-conversions diagnostic reports (web tag, web API, and
|
|
188
|
+
leads). A user saying "diagnostics says there's a problem" could mean any of them, so ask
|
|
189
|
+
which screen they are looking at before interpreting it.
|
|
190
|
+
|
|
191
|
+
The **last detected date** on Tag inactive dates the breakage - ask "what changed on the site/GTM/plugins on that date?"
|
|
192
|
+
|
|
193
|
+
### 1.2 Built-in Troubleshoot flow / Tag Assistant
|
|
194
|
+
Hovering an "Unverified"/"Tag inactive"/"Needs attention" status shows a **Troubleshoot** link that launches Google Tag Assistant (tagassistant.google.com).
|
|
195
|
+
|
|
196
|
+
### 1.3 Diagnostics tab (enhanced conversions)
|
|
197
|
+
Goals > Summary > Diagnostics: grades Excellent / Good / Needs attention / No recent data / Urgent, plus alerts (missing user_data fields, formatting errors, low match rate).
|
|
198
|
+
|
|
199
|
+
### 1.4 Auto-tagging setting
|
|
200
|
+
Admin > Account settings > Auto-tagging - must be ON for gclid attribution and any offline/CRM import.
|
|
201
|
+
|
|
202
|
+
### 1.5 Other account-level surfaces
|
|
203
|
+
- "Maintain your Google tag" - surfaces "Website redirects are losing click data" warning
|
|
204
|
+
- Conversion action settings: count (One/Every), click-through window (default 30d), attribution model, Primary/Secondary
|
|
205
|
+
- Segment > Conversions > Conversion action on campaign tables - reveals WHICH action generated the numbers (catches double counting)
|
|
206
|
+
- "by conv. time" columns - conversions are otherwise reported against click date, not conversion date
|
|
207
|
+
|
|
208
|
+
### Part B.2: Tag anatomy
|
|
209
|
+
|
|
210
|
+
### 2.1 Google tag (gtag.js)
|
|
211
|
+
```html
|
|
212
|
+
<script async src="https://www.googletagmanager.com/gtag/js?id=AW-XXXXXXXXXX"></script>
|
|
213
|
+
<script>
|
|
214
|
+
window.dataLayer = window.dataLayer || [];
|
|
215
|
+
function gtag(){dataLayer.push(arguments);}
|
|
216
|
+
gtag('js', new Date());
|
|
217
|
+
gtag('config', 'AW-XXXXXXXXXX');
|
|
218
|
+
</script>
|
|
219
|
+
```
|
|
220
|
+
IDs: `AW-` Google Ads, `G-` GA4, `GTM-` container, `DC-` Floodlight. A page with only `G-`/`GTM-` can still work if Ads conversions run through GTM - check container contents before declaring missing.
|
|
221
|
+
|
|
222
|
+
### 2.2 Event snippet
|
|
223
|
+
```html
|
|
224
|
+
gtag('event', 'conversion', {'send_to': 'AW-XXXXXXXXXX/AbCdEfGhIj0123456789', 'value': 0.0, 'currency': 'USD'});
|
|
225
|
+
```
|
|
226
|
+
`send_to` = `AW-CONVERSION_ID/CONVERSION_LABEL`. Google offers "page load" (thank-you page) or "click" (`gtag_report_conversion(url)`) variants.
|
|
227
|
+
|
|
228
|
+
### 2.3 GTM pattern
|
|
229
|
+
`GTM-XXXXXXX` snippet in head + noscript iframe. Inside: a Google Ads Conversion Tracking tag (ID + Label) plus a Conversion Linker tag on All Pages.
|
|
230
|
+
|
|
231
|
+
### 2.4 Network requests that prove a conversion fired
|
|
232
|
+
- Classic ping: `googleadservices.com/pagead/conversion/{ID}/?...label={LABEL}`
|
|
233
|
+
- Consent-aware paths: `google.com/pagead/1p-conversion/...` and `.../ccm/collect`
|
|
234
|
+
- `gcs` param encodes consent (`G111` granted, `G100` denied); `gcd` = Consent Mode v2 state. `gcs=G100` on the ping = conversion modeled at best, not recorded.
|
|
235
|
+
|
|
236
|
+
### 2.5 gclid lifecycle
|
|
237
|
+
1. Auto-tagging appends `?gclid=` at click time (iOS/privacy contexts use `gbraid`/`wbraid`)
|
|
238
|
+
2. gclid must survive every redirect to the tagged page
|
|
239
|
+
3. Google tag / Conversion Linker stores it in first-party cookies: `_gcl_aw` (gclid), `_gcl_gb` (wbraid/gbraid), `_gcl_dc` (dclid). Linker must fire on ALL pages, before conversion tags.
|
|
240
|
+
4. Event snippet reads the cookie and sends it with the ping
|
|
241
|
+
5. Google keeps gclid 90 days; offline imports referencing older clicks fail. Conversion must land inside the action's click window (default 30d).
|
|
242
|
+
|
|
243
|
+
Chain test: visit `landingpage?gclid=TEST123` → confirm survives redirects → check cookies for `_gcl_aw` containing TEST123 → submit form → look for conversion ping in Network.
|
|
244
|
+
|
|
245
|
+
### Part B.3: Failure catalog
|
|
246
|
+
|
|
247
|
+
### Category A - Tag missing or never firing
|
|
248
|
+
- **A1. Tag never installed / wrong pages** (VERY COMMON): status stuck Unverified; spend with zero conversions ever. Check landing AND thank-you page source for `AW-`/`GTM-`.
|
|
249
|
+
- **A2. Tag removed during redesign/migration/theme or plugin update** (VERY COMMON): was Recording, now Tag inactive; conversions flatline on a date. Correlate last-detected date with deploys.
|
|
250
|
+
- **A3. GTM changes never published** (VERY COMMON): tags exist only in an unpublished workspace draft. Check GTM Versions.
|
|
251
|
+
- **A4. Wrong Conversion ID or Label** (COMMON): GTM Preview shows tag firing, Ads records nothing. Compare GTM values against the action's Tag setup character-for-character.
|
|
252
|
+
- **A5. Tag from the wrong account / MCC confusion** (OCCASIONAL, agency-specific): conversions land in a previous agency's account, or MCC cross-account tracking conflicts. Compare on-page AW- ID with the account's conversion tracking ID.
|
|
253
|
+
- **A6. Performance/caching layers blocking the tag** (OCCASIONAL): Cloudflare Rocket Loader/APO, WP Rocket JS-delay, CSP blocks. Console errors; no request to googletagmanager.com.
|
|
254
|
+
|
|
255
|
+
### Category B - Tag fires but the conversion moment is missed (heart of lead-gen audits)
|
|
256
|
+
- **B1. GTM Form Submission trigger doesn't fire** (VERY COMMON): AJAX forms without standard submit events, misconfigured validation/conditions, broken dataLayer. Fix: thank-you pageview, Element Visibility on success message, platform callback, or dataLayer push.
|
|
257
|
+
- **B2. Form in a cross-origin iframe** (VERY COMMON): Typeform, Calendly, HubSpot, Jotform. Parent GTM can't see submissions; iframe can't see parent's `_gcl_aw`. Fix: postMessage listeners, provider redirect to first-party thank-you, or capture gclid to hidden field + server-side import.
|
|
258
|
+
- **B3. Conversion fires on a page that redirects before ping completes** (COMMON): browser kills the request in flight. Fix: thank-you page firing or gtag_report_conversion callback.
|
|
259
|
+
- **B4. Thank-you page URL changed / trigger mismatch** (VERY COMMON): trigger matches `/thank-you`, page became `/thanks`; trailing-slash or query-string breaking "equals" conditions.
|
|
260
|
+
- **B5. No thank-you page at all, inline success message** (COMMON): Element Visibility trigger or provider callback needed.
|
|
261
|
+
- **B6. Overcounting: wrong page / per-pageview / double implementation** (COMMON): snippet on every page; thank-you reload recounts (Count=Every); hardcoded gtag AND GTM tag both firing; website tag AND imported GA4 key event both Primary.
|
|
262
|
+
|
|
263
|
+
### Category C - Click ID / attribution chain broken
|
|
264
|
+
- **C1. Auto-tagging disabled** (COMMON): tag verified, conversions near zero; no gclid in landing URLs; GA4 shows Ads traffic as organic.
|
|
265
|
+
- **C2. gclid stripped by redirects** (VERY COMMON, invisible): http→https, non-www→www, trailing slash, geo redirects, shorteners. Test: `curl -IL "https://landingpage?gclid=TEST123"` and watch each hop. Fix: final URLs in ads, or forward query strings (Apache QSA, Nginx `$is_args$args`).
|
|
266
|
+
- **C3. Conversion Linker missing** (COMMON in GTM setups): no `_gcl_aw` cookie; heavy undercount especially Safari.
|
|
267
|
+
- **C4. Cross-domain journey** (COMMON): `_gcl_aw` scoped to first domain. Fix: Linker cross-domain linking or pass gclid in URL.
|
|
268
|
+
- **C5. gclid mutated** (RARE): CMS/scripts lowercase or truncate the gclid - Google treats as different ID.
|
|
269
|
+
- **C6. No ad click in the test path** (COMMON false alarm): website conversions only count after an ad click. Direct test submissions never appear in Ads.
|
|
270
|
+
|
|
271
|
+
### Category D - Consent & privacy
|
|
272
|
+
- **D1. Consent Mode misconfigured** (VERY COMMON in EEA/UK): conversions drop 30-90% after CMP install; CMP never flips ad_storage/ad_user_data to granted. Confirm: Tag Assistant Consent tab; `gcs=G100` persisting after accept. Since March 2024 Google requires ad_user_data/ad_personalization for EEA; stricter enforcement from July 2025 has been widely reported (not a formal Google announcement).
|
|
273
|
+
- **D2. Consent denied traffic + modeling gaps**: denied conversions dropped or modeled; Ads and GA4 model independently. URL passthrough (`url_passthrough: true`) partially recovers.
|
|
274
|
+
- **D3. Ad blockers / ITP baseline loss** (ALWAYS PRESENT): typically 10-30% never track client-side, depending on audience. Mitigate with enhanced conversions / server-side.
|
|
275
|
+
|
|
276
|
+
### Category E - Account configuration
|
|
277
|
+
- **E1. Action set to Secondary** (VERY COMMON confusion): only counts in "All conversions", not "Conversions"; doesn't drive Smart Bidding. Inverse: two Primaries for same event = double counting.
|
|
278
|
+
- **E2. Conversion window too short / lag misread** (COMMON): conversions back-dated to click date; recent days fill in retroactively; processing hours to 72h (gbraid/wbraid); GA4 imports +1-2 days. Don't judge the last 3 days.
|
|
279
|
+
- **E3. Count Every vs One** (COMMON): leads should be One.
|
|
280
|
+
- **E4. Campaign-level goal exclusions**: campaign uses custom goals excluding the action.
|
|
281
|
+
|
|
282
|
+
### Category F - GA4-imported conversions
|
|
283
|
+
- **F1. GA4 key event not imported** (VERY COMMON): not marked Key event, never imported, accounts not linked, or data-sharing disabled. Import only counts forward.
|
|
284
|
+
- **F2. GA4 vs Ads numbers "don't match"** (CONSTANT, not a bug): click-date vs event-date, double counting when both Primary, different attribution models, Ads counts view-through/cross-device, separate consent modeling, lag, timezone. 10-30% divergence is normal. Pick ONE source of truth per action; demote the other to Secondary.
|
|
285
|
+
|
|
286
|
+
### Category G - Offline / CRM imports & enhanced conversions
|
|
287
|
+
- **G1. Upload errors**: "identifiers too old" (gclid 90d), "click too recent" (wait ~6h), "invalid conversion time" (timezone bugs), "unknown click" (malformed gclid, Excel mangling, wrong account, auto-tagging off at click time), "conversion action not found" (must be source Import from clicks), unhashed/badly formatted user data (lowercase emails, E.164 phones, SHA-256).
|
|
288
|
+
- **G2. gclid never captured into the CRM** (VERY COMMON root failure): no hidden field, or reads URL only (lost on multi-page journeys - read from `_gcl_aw` cookie), multi-step forms dropping it.
|
|
289
|
+
- **G3. Enhanced conversions (web) not providing user_data** (COMMON): EC enabled but no user_data mapping; broken CSS selectors; format errors. Verify Tag Assistant shows hashed `em`/`pn` on the ping.
|
|
290
|
+
- **G4. Enhanced conversions for leads misconfigured** (COMMON): tag must capture hashed email/phone at submit; upload same normalized identifiers later; failure points: terms not accepted, wrong action source, non-normalized uploads.
|
|
291
|
+
- **G5. Lead form assets (Google-hosted)**: conversions counted natively; leads sit in Ads 30 days unless webhook/CRM integration delivers them. Website tags irrelevant to these.
|
|
292
|
+
|
|
293
|
+
### Category H - Phone-call conversions
|
|
294
|
+
Google forwarding number or website call conversions (number swap). Failures: number hardcoded as image/formatted differently so swap fails; call trackers (CallRail) replacing after Google's snippet; minimum call length filters.
|
|
295
|
+
|
|
296
|
+
### Part B.4: Ranked prevalence
|
|
297
|
+
1. Tag/trigger never fires for the real form flow (B1/B2/B4)
|
|
298
|
+
2. Tag removed or GTM unpublished after site changes (A2/A3)
|
|
299
|
+
3. Secondary vs Primary / column misreading (E1)
|
|
300
|
+
4. Consent Mode misconfiguration post-CMP (D1)
|
|
301
|
+
5. gclid chain broken (C1-C3)
|
|
302
|
+
6. Wrong ID/label or wrong account (A4/A5)
|
|
303
|
+
7. GA4-import confusion and mismatch panic (F1/F2)
|
|
304
|
+
8. Timing misreads (E2)
|
|
305
|
+
9. Duplicate counting (B6)
|
|
306
|
+
10. Offline/EC import failures (G1-G4) - lower volume, highest per-case complexity
|
|
307
|
+
|
|
308
|
+
### Part B.5: Suggested audit order
|
|
309
|
+
1. Account surface first: statuses + last-detected dates; Primary/Secondary; counts; windows; auto-tagging; campaign goals; Diagnostics; segment by action
|
|
310
|
+
2. Date correlation: flatline date vs deploys/GTM versions/CMP installs
|
|
311
|
+
3. Page source: AW-/GTM- on landing + thank-you pages; duplicates; consent defaults
|
|
312
|
+
4. Live walk: `?gclid=TEST` → redirect survival → `_gcl_aw` → submit → conversion ping + gcs value; Tag Assistant
|
|
313
|
+
5. Attribution back-end: GA4 link/import; CRM gclid capture; upload errors; EC diagnostics
|
|
314
|
+
6. Only then conclude "tracking is fine, the campaign just isn't converting"
|
|
315
|
+
|
|
316
|
+
Key sources: support.google.com/google-ads (answers 7548399, 15629968, 13321563, 11956168, 15713840, 10989978), analyticsmania.com (28 reasons; form triggers; conversion linker), adalysis.com top-10 mistakes, adnanagic.com gclid redirects, ppc.land consent mode v2 enforcement, nicelookingdata.com GA4 vs Ads, conversiontracking.io iframes, cometly.com, tagfly.io, freak.marketing inactive tags, playhouse.digital gclid hidden field, pemavor.com offline imports.
|
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
# Meta
|
|
2
|
+
|
|
3
|
+
## Part A: setup from zero
|
|
4
|
+
|
|
5
|
+
Contents:
|
|
6
|
+
1. Create the dataset and get your Pixel ID
|
|
7
|
+
2. Install the base code (GTM path or direct paste)
|
|
8
|
+
3. Fire the Lead event on the conversion moment
|
|
9
|
+
4. Test with Test Events
|
|
10
|
+
5. Event Match Quality and the Conversions API (the honest ceiling)
|
|
11
|
+
6. Verification and common failures
|
|
12
|
+
|
|
13
|
+
How to use this guide. You usually cannot log into the user's Meta account, so ad-account steps are guided. Give the user the exact clicks and ask them to report back what they see. Website and GTM steps you can often do yourself if you have access.
|
|
14
|
+
|
|
15
|
+
Terminology. Meta renamed the pixel container. What used to be "a pixel" now lives inside a dataset in Events Manager. The website tag is still called the Meta Pixel and the ID works the same way, so treat Dataset ID and Pixel ID as the same number.
|
|
16
|
+
|
|
17
|
+
### 1. Create the dataset
|
|
18
|
+
|
|
19
|
+
**Step 1 - Open Events Manager**
|
|
20
|
+
- Goal. Get the user to the screen where datasets are created and listed.
|
|
21
|
+
- Do this. Ask the user to go to business.facebook.com, click All tools in the left menu, and open Events Manager. Confirm the correct business portfolio is selected in the top-left corner.
|
|
22
|
+
- Expect to see. A Data sources panel, either empty or listing existing datasets. Ask the user to read out any dataset names and IDs already there.
|
|
23
|
+
- On error. If they land on a personal ad account with no business portfolio, they need to use the account that owns the ad campaigns. If a dataset for this site already exists, reuse it and skip Step 2. Creating a second dataset for the same site splits your data and invites duplicate installs.
|
|
24
|
+
|
|
25
|
+
**Step 2 - Create the dataset**
|
|
26
|
+
- Goal. Create the container that receives events and generates the Pixel ID.
|
|
27
|
+
- Do this. Click the green Connect data button, choose Web, then click Connect. Name the dataset after the website (for example "acme.com website") and finish the creation flow. If Meta asks whether to set up "Conversions API and Meta Pixel" or "Meta Pixel only", choose Meta Pixel only for now. Decline any partner integration offers, since you will install the code directly.
|
|
28
|
+
- Expect to see. A new dataset in Data sources.
|
|
29
|
+
- On error. If the Connect data button is missing, the user's role lacks permission. They need Manage access to the business portfolio, or an admin can create the dataset for them. If the flow forces a partner integration screen, there is usually a skip or "do it manually" link near the bottom.
|
|
30
|
+
|
|
31
|
+
**Step 3 - Get the Pixel ID**
|
|
32
|
+
- Goal. Capture the exact ID the code snippets need.
|
|
33
|
+
- Do this. Open the new dataset and click its Settings tab. Ask the user to copy the Dataset ID and paste it back to you.
|
|
34
|
+
- Expect to see. A 15 to 16 digit number.
|
|
35
|
+
- On error. If the user pastes a short number or something with letters, they copied the wrong field (often the business ID). The Dataset ID sits at the top of Settings. If 2 datasets exist, confirm which one the ad campaigns optimize toward before wiring anything.
|
|
36
|
+
|
|
37
|
+
### 2. Install the base code
|
|
38
|
+
|
|
39
|
+
The base code loads Meta's script on every page and records PageView. It does not record leads yet. Pick 1 install path, never both. A double install is the most common cause of duplicate events.
|
|
40
|
+
|
|
41
|
+
This is the standard base snippet. Replace YOUR_PIXEL_ID (both places) with the ID from Step 3.
|
|
42
|
+
|
|
43
|
+
```html
|
|
44
|
+
<!-- Meta Pixel base code -->
|
|
45
|
+
<script>
|
|
46
|
+
!function(f,b,e,v,n,t,s)
|
|
47
|
+
{if(f.fbq)return;n=f.fbq=function(){n.callMethod?
|
|
48
|
+
n.callMethod.apply(n,arguments):n.queue.push(arguments)};
|
|
49
|
+
if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
|
|
50
|
+
n.queue=[];t=b.createElement(e);t.async=!0;
|
|
51
|
+
t.src=v;s=b.getElementsByTagName(e)[0];
|
|
52
|
+
s.parentNode.insertBefore(t,s)}(window, document,'script',
|
|
53
|
+
'https://connect.facebook.net/en_US/fbevents.js');
|
|
54
|
+
fbq('init', 'YOUR_PIXEL_ID');
|
|
55
|
+
fbq('track', 'PageView');
|
|
56
|
+
</script>
|
|
57
|
+
<noscript><img height="1" width="1" style="display:none"
|
|
58
|
+
src="https://www.facebook.com/tr?id=YOUR_PIXEL_ID&ev=PageView&noscript=1"
|
|
59
|
+
/></noscript>
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
**Step 4 - Install via GTM (Path A)**
|
|
63
|
+
- Goal. Load the base code on every page through Google Tag Manager.
|
|
64
|
+
- Do this. In tagmanager.google.com, open the site's container. Click Tags, then New. Name it "Meta Pixel - Base Code". Choose Tag Configuration, then Custom HTML, and paste the snippet above without the noscript block (GTM injects with JavaScript, so the noscript part does nothing there). Under Triggering choose All Pages. Save, then click Submit and Publish.
|
|
65
|
+
- Expect to see. A new published container version listing the tag. On any page of the live site, the browser's Network tab shows a request to connect.facebook.net.
|
|
66
|
+
- On error. The classic miss is saving without publishing. GTM Preview will show the tag while the live site stays silent until Submit is clicked. The other is a second base code already in the site theme or a plugin, which later shows as "pixel activated multiple times" in Meta Ads Data Advisor (formerly Pixel Helper). Keep exactly 1.
|
|
67
|
+
|
|
68
|
+
**Step 5 - Paste into the site head (Path B)**
|
|
69
|
+
- Goal. Load the base code sitewide without GTM.
|
|
70
|
+
- Do this. Paste the full snippet, including noscript, into the site's global head area using the platform's custom code setting (for example Webflow Site settings under Custom code, WordPress via a header snippet plugin, Framer Site settings under Custom Code). It must load on every page, not just the form page.
|
|
71
|
+
- Expect to see. View source on any page shows fbq('init' with the correct ID, and the Network tab shows connect.facebook.net loading.
|
|
72
|
+
- On error. Code pasted into a single page's settings instead of the sitewide setting means thank-you pages and other entry points go untracked. Code pasted into the body works but fires late and loses some events, so move it to the head if the platform allows.
|
|
73
|
+
|
|
74
|
+
### 3. Fire the Lead event on the conversion moment
|
|
75
|
+
|
|
76
|
+
The base code alone measures nothing that matters. You need fbq('track', 'Lead') to run at the exact moment a form is submitted.
|
|
77
|
+
|
|
78
|
+
Use the standard Lead event, not a custom name. Meta parks first-seen custom event names as blocked until the account owner approves them, and custom names need an extra custom conversion wrapper before campaigns can optimize on them. Lead works everywhere immediately. This repo ships detection snippets that watch each form tool and push a canonical dataLayer event at the true submission moment. The canonical names live in ../assets/gtm-recipes/event-map.json and snippets/README.md. For example, the Typeform snippet pushes typeform_form_submitted. Install the detection snippet or GTM recipe for the user's form tool first, then connect that event to Meta with 1 of the 2 steps below.
|
|
79
|
+
|
|
80
|
+
**Step 6 - With GTM, a Custom Event trigger plus a Lead tag**
|
|
81
|
+
- Goal. Fire the Lead event whenever the canonical dataLayer event appears.
|
|
82
|
+
- Do this. In GTM, click Triggers, then New. Choose Custom Event and set Event name to the tool's canonical event, for example typeform_form_submitted (look yours up in ../assets/gtm-recipes/event-map.json). Name the trigger to match. Then click Tags, then New, choose Custom HTML, and paste this exactly. Attach the trigger you just made, save, Submit, and Publish.
|
|
83
|
+
|
|
84
|
+
```html
|
|
85
|
+
<script>
|
|
86
|
+
fbq('track', 'Lead');
|
|
87
|
+
</script>
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
- Expect to see. In GTM Preview, a test form submission shows the canonical event in the left timeline and the Lead tag listed under Tags Fired.
|
|
91
|
+
- On error. If Preview shows the event but the tag does not fire, the trigger's Event name does not match the dataLayer string character for character. Copy it from event-map.json rather than retyping. If the event itself never appears in Preview, the detection snippet or recipe is not installed or the form tool was misidentified.
|
|
92
|
+
|
|
93
|
+
**Step 7 - Without GTM: a small dataLayer watcher**
|
|
94
|
+
- Goal. Fire the Lead event from plain code when the detection snippet pushes its event.
|
|
95
|
+
- Do this. The repo snippets announce conversions with dataLayer.push, so paste this wrapper into the site head after the Meta base code. Replace the event name with the user's tool from ../assets/gtm-recipes/event-map.json.
|
|
96
|
+
|
|
97
|
+
```html
|
|
98
|
+
<script>
|
|
99
|
+
(function () {
|
|
100
|
+
var EVENT_NAME = 'typeform_form_submitted'; // your tool's event name
|
|
101
|
+
|
|
102
|
+
window.dataLayer = window.dataLayer || [];
|
|
103
|
+
var originalPush = window.dataLayer.push;
|
|
104
|
+
window.dataLayer.push = function () {
|
|
105
|
+
for (var i = 0; i < arguments.length; i++) {
|
|
106
|
+
var entry = arguments[i];
|
|
107
|
+
if (entry && entry.event === EVENT_NAME && typeof fbq === 'function') {
|
|
108
|
+
fbq('track', 'Lead');
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
return originalPush.apply(window.dataLayer, arguments);
|
|
112
|
+
};
|
|
113
|
+
})();
|
|
114
|
+
</script>
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
- Expect to see. On a test submission, the Network tab shows a request to facebook.com/tr containing ev=Lead.
|
|
118
|
+
- On error. If nothing fires, check load order. This wrapper must run after the base code defines fbq and before the form is submitted, so keep all 3 pieces (base code, wrapper, detection snippet) in the head. If Lead fires twice per submission, the site has both this wrapper and a GTM tag doing the same job. Keep 1.
|
|
119
|
+
|
|
120
|
+
### 4. Test with Test Events
|
|
121
|
+
|
|
122
|
+
**Step 8 - Run a live test**
|
|
123
|
+
- Goal. Watch the events arrive in Meta in real time.
|
|
124
|
+
- Do this. Ask the user to open Events Manager, open the dataset, and click the Test events tab. They enter the URL of the page carrying the form and click the button to open it. In that new tab, they submit a test entry on the form. Optionally install the Meta Ads Data Advisor Chrome extension first, which adds a badge showing what fired on the page.
|
|
125
|
+
- Expect to see. A PageView row appears as the page loads, then a Lead row within a few seconds of the submission. A healthy Lead shows the correct Pixel ID, arrives exactly once per submission, and is marked as received from the browser. Meta Ads Data Advisor shows 1 pixel with the right ID and lists PageView and Lead.
|
|
126
|
+
- On error. PageView appears but Lead never does, which means the conversion moment is not wired (revisit Step 6 or 7, and confirm the detection snippet is installed). Or 2 Lead rows appear per submission, which means a double install. Nothing appears at all usually means the test browser runs an ad blocker or the consent banner was silently rejected, so retest in a normal window and accept the banner.
|
|
127
|
+
|
|
128
|
+
### 5. Event Match Quality and the Conversions API
|
|
129
|
+
|
|
130
|
+
Event Match Quality (EMQ) is Meta's 1 to 10 score for how well it can match each event to a real person. The user can see it by opening the Lead event's card in Events Manager and clicking View details. Scores update slowly, so allow 24 to 48 hours after changes.
|
|
131
|
+
|
|
132
|
+
A browser-only Lead like the one built above typically scores 3 to 5. That is expected, not broken. It carries only cookie and browser signals (the _fbp and _fbc cookies, IP, user agent) and no customer information. (These scores are practitioner-reported, not published by Meta.) Raising EMQ requires sending the lead's actual details, such as hashed email and phone, through advanced matching or the Conversions API. Turn on automatic advanced matching in Events Manager first (free); CAPI is the next step, with options in `server-side.md`.
|
|
133
|
+
|
|
134
|
+
The Conversions API (CAPI) sends the same events server to server, which ad blockers and Safari's cookie limits cannot touch, and it can attach the customer details that lift EMQ. One rule matters above all when pixel and CAPI both run. Each real-world conversion sent from both must share the same event_id and event_name, because Meta deduplicates on that pair only. Mismatched IDs mean every lead counts twice, and "lead" versus "Lead" are different names. A healthy pair shows 1 row marked Deduplicated in Test Events.
|
|
135
|
+
|
|
136
|
+
The honest boundary. Building CAPI yourself needs a server or a paid vendor, an access token, SHA-256 hashing of normalized customer data, and event_id coordination with the pixel. That is beyond a copy-paste setup, so route this decision through server-side.md rather than improvising it.
|
|
137
|
+
|
|
138
|
+
Set expectations either way. Even a perfectly configured browser-side setup misses typically 10-30% (depending on audience) of conversions to ad blockers, Safari cookie limits, and cross-device journeys the browser can't connect back to the ad click. Details and magnitudes are in discrepancies.md.
|
|
139
|
+
|
|
140
|
+
### Verification
|
|
141
|
+
|
|
142
|
+
Run every check that applies. All are observable, no guessing.
|
|
143
|
+
|
|
144
|
+
- Test Events shows exactly 1 Lead row per test submission, never 0 and never 2.
|
|
145
|
+
- The browser Network tab shows a request to facebook.com/tr with ev=Lead returning a 2xx status on submission.
|
|
146
|
+
- Meta Ads Data Advisor reports exactly 1 pixel, and its ID matches the Dataset ID from Step 3.
|
|
147
|
+
- Within 24 to 48 hours, the dataset's Overview tab shows the Lead event with a nonzero count.
|
|
148
|
+
- In Ads Manager, the Lead event is selectable as the conversion goal when editing a campaign.
|
|
149
|
+
|
|
150
|
+
### Common failures
|
|
151
|
+
|
|
152
|
+
When any check above fails, or events behave strangely after setup, diagnose against Part B of this file (pixel anatomy, the click ID lifecycle, and failure modes M1 to M12).
|
|
153
|
+
|
|
154
|
+
## Part B: diagnostic reference
|
|
155
|
+
|
|
156
|
+
**Reading the Diagnostics tab.** Meta surfaces problems here that neither Overview nor Test
|
|
157
|
+
Events will show. Two behaviours worth knowing before interpreting what a user reports:
|
|
158
|
+
|
|
159
|
+
- **Issues age out of view.** If Meta does not re-detect an issue the next day it moves from
|
|
160
|
+
**Active** to **Previously detected**. So "the diagnostics tab is clean" does not mean the
|
|
161
|
+
problem is fixed, it may mean it simply was not seen again yet. Ask them to check
|
|
162
|
+
Previously detected too.
|
|
163
|
+
- **Deduplication fails on formatting, not just on missing IDs.** The browser sending
|
|
164
|
+
`ord-123` while the server sends `ord_123` is a mismatch, and so is a case difference. The
|
|
165
|
+
symptom is doubled conversions with both sources apparently configured correctly, which
|
|
166
|
+
reads as an implementation success right up until the numbers are wrong.
|
|
167
|
+
|
|
168
|
+
### Pixel anatomy
|
|
169
|
+
- Script src: `connect.facebook.net/en_US/fbevents.js`
|
|
170
|
+
- Init: `fbq('init', '<15-16 digit id>')`; advanced matching adds `{em:..., ph:...}` second arg
|
|
171
|
+
- Events: `fbq('track', 'Lead')` standard; `fbq('trackCustom', 'X')`; dedup-ready adds 4th arg `{eventID: '...'}`
|
|
172
|
+
- Noscript: `facebook.com/tr?id=<pixel>&ev=PageView&noscript=1`
|
|
173
|
+
- Ground truth: 2xx request to `facebook.com/tr/?id=<pixel>&ev=<event>`
|
|
174
|
+
- Console: `typeof fbq === 'function'`
|
|
175
|
+
|
|
176
|
+
### Click ID lifecycle
|
|
177
|
+
- `?fbclid=` appended to every ad click → pixel writes first-party cookie `_fbc` = `fb.1.<timestampMs>.<fbclid>` (90d nominal). Only created if pixel loads on the landing page with fbclid present.
|
|
178
|
+
- `_fbp` = browser ID cookie, set on first visit (90d).
|
|
179
|
+
- Chain breakers: Safari ITP caps JS cookies to 7 days, and 24 HOURS on URLs carrying known tracking params like fbclid; ad blockers strip fbclid; redirect chains drop query params; consent banners blocking the pixel on landing = no _fbc ever.
|
|
180
|
+
- Lost _fbc = conversion arrives unattributed → shows as organic; ROAS underreports.
|
|
181
|
+
|
|
182
|
+
### Failure modes
|
|
183
|
+
- **M1. Base code missing/not loading** (VERY COMMON): no activity in Events Manager. Check DOM for `fbq`/`connect.facebook.net`; Network for `/tr`.
|
|
184
|
+
- **M2. Wrong pixel ID / wrong Business Manager** (COMMON): pixel fires into someone else's dataset (old agency). Compare `/tr?id=` against Events Manager > Data Sources.
|
|
185
|
+
- **M3. CMP blocking the pixel** (VERY COMMON EU/UK): works when you test (you accepted), production volume a fraction of traffic. Test incognito without accepting.
|
|
186
|
+
- **M4. Lead event never fires on submit** (VERY COMMON, the #1 lead-gen failure): (a) only base code installed, no Lead call; (b) fires on click but page redirects before /tr completes; (c) iframe embeds - submission happens on third-party domain; (d) GTM trigger tied to changed CSS selector; (e) SPA/multi-step, thank-you is a route change.
|
|
187
|
+
- **M5. New custom events "Blocked by Meta"** (OCCASIONAL): first-seen custom event names parked as blocked until owner approves. Events Manager > Settings > Manage Event Blocking. ~20 min to activate after unblocking.
|
|
188
|
+
- **M6. Duplicate events** (VERY COMMON): two installs (theme+GTM+plugin); click AND thank-you both firing; Pixel + CAPI without matching event_id. Meta dedups on event_name + event_id ONLY. Case mismatch ("lead" vs "Lead"), regenerated IDs, reused IDs all break dedup. Healthy pair shows one row marked "Deduplicated" in Test Events.
|
|
189
|
+
- **M7. CAPI arrives but low Event Match Quality** (VERY COMMON): EMQ 1-10; drivers in order: hashed email, hashed phone (E.164), fbc, fbp, IP+UA, name/zip, external_id. PII must be SHA-256 after normalization (lowercase, trimmed). Missing phone or unforwarded _fbp/_fbc tanks it. Check event card > View Details; allow 24-48h after changes.
|
|
190
|
+
- **M8. CAPI plumbing failures** (COMMON): expired token, wrong dataset ID, event_time >7 days old rejected (physical-store events up to 62 days), missing action_source, no user_data at all. Use Test Events with test_event_code.
|
|
191
|
+
- **M9. Meta Ads Data Advisor warnings**: "did not load" = fbevents.js blocked; "activated multiple times" = duplicate; "took too long" = lost on redirect; "new domain sending data" = hijacked pixel (fix with Traffic Permissions).
|
|
192
|
+
- **M10. Browser/device attrition** (STRUCTURAL): typically 10-30% below the form backend depending on audience; iOS worst. The core CAPI argument.
|
|
193
|
+
- **M11. iOS14/AEM legacy** (mostly resolved): 8-event cap + domain verification requirement dropped (announced May 2023); the AEM tab left Events Manager around mid-2025. Residual: modeled/delayed iOS conversions.
|
|
194
|
+
- **M12. Custom event not selectable in Ads Manager** (OCCASIONAL): custom names need a custom conversion wrapper to optimize on. Prefer standard `Lead` event.
|
|
195
|
+
|
|
196
|
+
### Meta CAPI requirements
|
|
197
|
+
Meta's standalone Offline Conversions API shut down on 14 May 2025; offline and CRM events now go through the Conversions API with an `action_source`.
|
|
198
|
+
|
|
199
|
+
Dataset ID + access token (Events Manager > Settings), POST to `graph.facebook.com/v*/{dataset_id}/events`. Needs event_name, event_time (≤7d), action_source, event_id (dedup), user_data with ≥1 identifier (email/phone SHA-256 lowercased/trimmed; fbp/fbc/IP/UA raw). SMB difficulty: server code or paid intermediary, event_id coordination, hashing rules, token management, dedup verification.
|
|
200
|
+
|
|
201
|
+
### Test tooling
|
|
202
|
+
Test Events (browser + server via test_event_code, shows dedup status), Meta Ads Data Advisor extension, Events Manager Diagnostics tab.
|