wizz-method 2.2.0 → 2.3.1
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/README.md +62 -62
- package/SECURITY.md +15 -16
- package/THIRD-PARTY-NOTICES.md +49 -49
- package/package.json +1 -1
- package/src/bmm-skills/1-analysis/wizz-agent-analyst/customize.toml +1 -1
- package/src/bmm-skills/2-plan-workflows/wizz-agent-pm/customize.toml +1 -1
- package/src/bmm-skills/2-plan-workflows/wizz-agent-ux-designer/customize.toml +1 -1
- package/src/bmm-skills/3-solutioning/wizz-agent-architect/customize.toml +1 -1
- package/src/bmm-skills/4-implementation/wizz-agent-dev/customize.toml +1 -1
- package/src/core-skills/_shared/handoff-protocol.md +72 -71
- package/src/core-skills/wizz-review-adversarial-general/SKILL.md +1 -1
- package/src/modules/lowticket/skills/wizz-lowticket-funil/references/copy-das-paginas.md +39 -39
- package/src/modules/lowticket/skills/wizz-lowticket-funil/references/mapa-do-funil.md +23 -23
- package/src/modules/lowticket/skills/wizz-lowticket-metodologia/CATALOGO.md +72 -72
- package/src/modules/lowticket/skills/wizz-lowticket-metodologia/knowledge/01-principios.md +10 -10
- package/src/modules/lowticket/skills/wizz-lowticket-metodologia/knowledge/02-diagnostico-funil.md +50 -50
- package/src/modules/lowticket/skills/wizz-lowticket-metodologia/knowledge/03-campanha-bidcap.md +68 -68
- package/src/modules/lowticket/skills/wizz-lowticket-metodologia/knowledge/04-criativos.md +44 -44
- package/src/modules/lowticket/skills/wizz-lowticket-metodologia/knowledge/04a-criativos-ia.md +77 -77
- package/src/modules/lowticket/skills/wizz-lowticket-metodologia/knowledge/04b-criativos-formatos.md +121 -121
- package/src/modules/lowticket/skills/wizz-lowticket-metodologia/knowledge/05-oferta.md +35 -35
- package/src/modules/lowticket/skills/wizz-lowticket-metodologia/knowledge/06-pagina-vendas.md +122 -122
- package/src/modules/lowticket/skills/wizz-lowticket-metodologia/knowledge/06a-instagram.md +93 -93
- package/src/modules/lowticket/skills/wizz-lowticket-metodologia/knowledge/06b-player-vsl.md +57 -57
- package/src/modules/lowticket/skills/wizz-lowticket-metodologia/knowledge/07-funil-upsell.md +83 -83
- package/src/modules/lowticket/skills/wizz-lowticket-metodologia/knowledge/07a-copy-humanizacao.md +61 -61
- package/src/modules/lowticket/skills/wizz-lowticket-metodologia/knowledge/08-pesquisa-publico.md +11 -11
- package/src/modules/lowticket/skills/wizz-lowticket-metodologia/knowledge/09-especialista-coproducao.md +26 -26
- package/src/modules/lowticket/skills/wizz-lowticket-metodologia/knowledge/10-levantar-caixa.md +29 -29
- package/src/modules/lowticket/skills/wizz-lowticket-metodologia/knowledge/11-checklist-roi.md +22 -22
- package/src/modules/lowticket/skills/wizz-lowticket-metodologia/knowledge/12-mineracao-ofertas.md +80 -80
- package/src/modules/lowticket/skills/wizz-lowticket-metodologia/knowledge/12a-mineracao-veredito.md +72 -72
- package/src/modules/lowticket/skills/wizz-lowticket-metodologia/knowledge/12b-fabrica-de-ofertas.md +63 -63
- package/src/modules/lowticket/skills/wizz-lowticket-metodologia/knowledge/12c-anatomia-low-ticket.md +71 -71
- package/src/modules/lowticket/skills/wizz-lowticket-metodologia/knowledge/13-benchmarks-vsl.md +6 -6
- package/src/modules/lowticket/skills/wizz-lowticket-metodologia/knowledge/14-vocabulario.md +53 -51
- package/src/modules/lowticket/skills/wizz-lowticket-metodologia/knowledge/15-como-estender.md +26 -26
- package/src/modules/lowticket/skills/wizz-lowticket-metodologia/knowledge/17-rastreamento.md +76 -76
- package/src/modules/lowticket/skills/wizz-lowticket-metodologia/knowledge/18-copy-desejo-oferta.md +149 -149
- package/src/modules/lowticket/skills/wizz-lowticket-metodologia/knowledge/INDEX.md +45 -45
- package/src/modules/lowticket/skills/wizz-lowticket-metodologia/knowledge/guardrails.md +45 -45
- package/src/modules/lowticket/skills/wizz-lowticket-metodologia/knowledge/pontos-em-aberto.md +64 -66
- package/src/modules/lowticket/skills/wizz-lowticket-minerador/references/rubrica.md +63 -63
- package/src/modules/lowticket/skills/wizz-lowticket-pagina/references/metas-e-medicao.md +23 -23
- package/src/modules/lowticket/skills/wizz-lowticket-pagina/references/padroes-de-codigo.md +50 -50
- package/src/modules/lowticket/skills/wizz-lowticket-trafego/references/formato-do-diagnostico.md +9 -9
- package/src/modules/lowticket/skills/wizz-lowticket-trafego/references/reguas.md +42 -42
- package/src/modules/wizz/README.md +27 -27
- package/src/modules/wizz/_shared/cerebro.md +37 -37
- package/src/modules/wizz/_shared/communication-rules.md +15 -15
- package/src/modules/wizz/_shared/despacho-barato.md +6 -6
- package/src/modules/wizz/_shared/encerramento.md +23 -23
- package/src/modules/wizz/_shared/model-ladder.md +29 -29
- package/src/modules/wizz/_shared/planning-gate.md +30 -30
- package/src/modules/wizz/_shared/token-economy.md +28 -28
- package/src/modules/wizz/_shared/video-pipeline.md +42 -42
- package/src/modules/wizz/agents/wizz-ads/SKILL.md +16 -16
- package/src/modules/wizz/agents/wizz-ads/customize.toml +21 -21
- package/src/modules/wizz/agents/wizz-copy/SKILL.md +18 -18
- package/src/modules/wizz/agents/wizz-copy/customize.toml +24 -24
- package/src/modules/wizz/agents/wizz-designer/SKILL.md +24 -24
- package/src/modules/wizz/agents/wizz-designer/customize.toml +29 -29
- package/src/modules/wizz/agents/wizz-growth/SKILL.md +20 -20
- package/src/modules/wizz/agents/wizz-growth/customize.toml +34 -34
- package/src/modules/wizz/agents/wizz-maestro/SKILL.md +63 -63
- package/src/modules/wizz/agents/wizz-maestro/customize.toml +38 -38
- package/src/modules/wizz/agents/wizz-memoria/SKILL.md +19 -19
- package/src/modules/wizz/agents/wizz-memoria/customize.toml +24 -24
- package/src/modules/wizz/agents/wizz-qa/SKILL.md +22 -22
- package/src/modules/wizz/agents/wizz-qa/customize.toml +29 -29
- package/src/modules/wizz/agents/wizz-seo/SKILL.md +19 -19
- package/src/modules/wizz/agents/wizz-seo/customize.toml +27 -27
- package/src/modules/wizz/agents/wizz-social/SKILL.md +53 -53
- package/src/modules/wizz/agents/wizz-social/customize.toml +37 -37
- package/src/modules/wizz/agents/wizz-social/knowledge/analise-imagem-referencia.md +20 -20
- package/src/modules/wizz/agents/wizz-social/knowledge/biblioteca-prompts-imagem.md +71 -71
- package/src/modules/wizz/agents/wizz-social/knowledge/blueprint-roteiro-viral.md +196 -196
- package/src/modules/wizz/agents/wizz-social/knowledge/legenda-instagram.md +32 -32
- package/src/modules/wizz/agents/wizz-social/knowledge/prompts-imagem-video.md +48 -48
- package/src/modules/wizz/module.yaml +28 -28
- package/src/modules/wizz/overrides/wizz-agent-analyst.toml +17 -17
- package/src/modules/wizz/overrides/wizz-agent-architect.toml +21 -21
- package/src/modules/wizz/overrides/wizz-agent-dev.toml +20 -20
- package/src/modules/wizz/overrides/wizz-agent-pm.toml +11 -11
- package/src/modules/wizz/overrides/wizz-agent-tech-writer.toml +14 -14
- package/src/modules/wizz/overrides/wizz-agent-ux-designer.toml +14 -14
- package/src/modules/wizz/subagents/codex/wizz-exec-haiku.toml +17 -17
- package/src/modules/wizz/subagents/codex/wizz-exec-opus.toml +19 -19
- package/src/modules/wizz/subagents/codex/wizz-exec-review.toml +18 -18
- package/src/modules/wizz/subagents/codex/wizz-exec-sonnet.toml +18 -18
- package/src/modules/wizz/subagents/gemini/wizz-exec-haiku.md +17 -17
- package/src/modules/wizz/subagents/gemini/wizz-exec-opus.md +19 -19
- package/src/modules/wizz/subagents/gemini/wizz-exec-review.md +18 -18
- package/src/modules/wizz/subagents/gemini/wizz-exec-sonnet.md +18 -18
- package/src/modules/wizz/subagents/opencode/wizz-exec-haiku.md +17 -17
- package/src/modules/wizz/subagents/opencode/wizz-exec-opus.md +19 -19
- package/src/modules/wizz/subagents/opencode/wizz-exec-review.md +18 -18
- package/src/modules/wizz/subagents/opencode/wizz-exec-sonnet.md +18 -18
- package/src/modules/wizz/subagents/spec.yaml +84 -83
- package/src/modules/wizz/subagents/wizz-exec-haiku.md +17 -17
- package/src/modules/wizz/subagents/wizz-exec-opus.md +19 -19
- package/src/modules/wizz/subagents/wizz-exec-review.md +18 -18
- package/src/modules/wizz/subagents/wizz-exec-sonnet.md +18 -18
- package/src/skills-lib/cerebro/SKILL.md +61 -61
- package/src/skills-lib/cerebro/references/comandos-pesquisa-e-memoria.md +46 -46
- package/src/skills-lib/cerebro/references/comandos-rotina-e-captura.md +65 -65
- package/src/skills-lib/cerebro/references/comandos-sessao.md +74 -74
- package/src/skills-lib/ctc-align/SKILL.md +37 -37
- package/src/skills-lib/find-skills/SKILL.md +19 -19
- package/src/skills-lib/pesquisa-de-publico-do-piva/README.md +33 -33
- package/src/skills-lib/pesquisa-de-publico-do-piva/SKILL.md +42 -42
- package/src/skills-lib/pesquisa-de-publico-do-piva/prompts.md +20 -20
- package/src/skills-lib/references/premium-agency-rules.md +63 -63
- package/src/skills-lib/security-audit-pentest/SKILL.md +31 -31
- package/src/skills-lib/security-audit-pentest/references/stage-1-validacao-entrada.md +37 -37
- package/src/skills-lib/security-audit-pentest/references/stage-2-autorizacao.md +61 -61
- package/src/skills-lib/security-audit-pentest/references/stage-3-abuso-volume.md +37 -37
- package/src/skills-lib/security-audit-pentest/references/stage-4-vazamento-resposta.md +52 -52
- package/src/skills-lib/site-launch-kit/SKILL.md +42 -42
- package/src/skills-lib/site-launch-kit/references/01-cta-principal.md +20 -20
- package/src/skills-lib/site-launch-kit/references/02-barra-fixa-mobile.md +24 -24
- package/src/skills-lib/site-launch-kit/references/03-tempo-de-resposta.md +21 -21
- package/src/skills-lib/site-launch-kit/references/04-prova-social.md +22 -22
- package/src/skills-lib/site-launch-kit/references/05-faq-decisao.md +28 -28
- package/src/skills-lib/site-launch-kit/references/06-imagens-reais.md +27 -27
- package/src/skills-lib/site-launch-kit/references/07-endereco-como-chegar.md +25 -25
- package/src/skills-lib/site-launch-kit/references/08-titles.md +30 -30
- package/src/skills-lib/site-launch-kit/references/09-open-graph.md +23 -23
- package/src/skills-lib/site-launch-kit/references/10-breadcrumbs.md +23 -23
- package/src/skills-lib/site-launch-kit/references/11-alt-text.md +28 -28
- package/src/skills-lib/site-launch-kit/references/12-schema-local.md +22 -22
- package/src/skills-lib/site-launch-kit/references/13-robots-sitemap.md +26 -26
- package/src/skills-lib/site-launch-kit/references/14-privacidade-termos.md +27 -27
- package/src/skills-lib/site-launch-kit/references/15-medicao.md +23 -23
- package/src/skills-lib/wizz-ai-product-design/SKILL.md +70 -70
- package/src/skills-lib/wizz-auth-and-secrets/SKILL.md +78 -78
- package/src/skills-lib/wizz-caching-and-queues/SKILL.md +40 -40
- package/src/skills-lib/wizz-cloud-and-infra/SKILL.md +22 -22
- package/src/skills-lib/wizz-database-and-deps/SKILL.md +52 -52
- package/src/skills-lib/wizz-database-scaling/SKILL.md +31 -31
- package/src/skills-lib/wizz-desktop-security/SKILL.md +49 -49
- package/src/skills-lib/wizz-implementation-planner/SKILL.md +56 -56
- package/src/skills-lib/wizz-implementation-planner/references/folder-structure-and-dependencies.md +14 -14
- package/src/skills-lib/wizz-implementation-planner/references/implementation-phases.md +15 -15
- package/src/skills-lib/wizz-implementation-planner/references/implementation-types.md +9 -9
- package/src/skills-lib/wizz-implementation-planner/references/motion-path-implementation.md +19 -19
- package/src/skills-lib/wizz-implementation-planner/references/performance-plan.md +27 -27
- package/src/skills-lib/wizz-infrastructure/SKILL.md +21 -21
- package/src/skills-lib/wizz-inicio-de-projeto/SKILL.md +63 -63
- package/src/skills-lib/wizz-inicio-de-projeto/references/implementacao-api-forms.md +27 -27
- package/src/skills-lib/wizz-inicio-de-projeto/references/padroes-arquiteturais-e-pastas.md +31 -31
- package/src/skills-lib/wizz-inicio-de-projeto/references/seguranca-e-regras-codigo.md +21 -21
- package/src/skills-lib/wizz-launch-readiness/SKILL.md +61 -61
- package/src/skills-lib/wizz-launch-readiness/references/01-tecnico-build.md +16 -16
- package/src/skills-lib/wizz-launch-readiness/references/02-seguranca.md +16 -16
- package/src/skills-lib/wizz-launch-readiness/references/03-seo-descoberta.md +16 -16
- package/src/skills-lib/wizz-launch-readiness/references/04-analytics-medicao.md +15 -15
- package/src/skills-lib/wizz-launch-readiness/references/05-conteudo-prova-social.md +15 -15
- package/src/skills-lib/wizz-launch-readiness/references/06-legal-lgpd.md +15 -15
- package/src/skills-lib/wizz-launch-readiness/references/07-infra-deploy-rollback.md +16 -16
- package/src/skills-lib/wizz-launch-readiness/references/08-fusao-priorizacao.md +19 -19
- package/src/skills-lib/wizz-launch-readiness/references/09-persistencia-project-context.md +26 -26
- package/src/skills-lib/wizz-motion-3d-director/SKILL.md +70 -70
- package/src/skills-lib/wizz-motion-3d-director/references/image-to-video-workflow.md +34 -35
- package/src/skills-lib/wizz-motion-3d-director/references/motion-paths.md +70 -70
- package/src/skills-lib/wizz-motion-3d-director/references/performance-and-handoff.md +17 -17
- package/src/skills-lib/wizz-offer-forge/README.md +9 -9
- package/src/skills-lib/wizz-offer-forge/SKILL.md +64 -64
- package/src/skills-lib/wizz-offer-forge/references/empilhamento-valor.md +17 -17
- package/src/skills-lib/wizz-offer-forge/references/garantia-reversa.md +16 -16
- package/src/skills-lib/wizz-offer-forge/references/mecanismo-unico.md +19 -19
- package/src/skills-lib/wizz-offer-forge/references/ponte-trafego.md +17 -17
- package/src/skills-lib/wizz-premium-landing-ui-researcher/SKILL.md +36 -36
- package/src/skills-lib/wizz-premium-landing-ui-researcher/references/audit-protocol.md +81 -82
- package/src/skills-lib/wizz-premium-landing-ui-researcher/references/component-sources.md +105 -105
- package/src/skills-lib/wizz-premium-landing-ui-researcher/references/core-goal.md +39 -39
- package/src/skills-lib/wizz-premium-landing-ui-researcher/references/dashboard-and-portfolio-modes.md +49 -50
- package/src/skills-lib/wizz-premium-landing-ui-researcher/references/handoffs.md +33 -34
- package/src/skills-lib/wizz-premium-landing-ui-researcher/references/landing-page-strategy.md +141 -142
- package/src/skills-lib/wizz-premium-landing-ui-researcher/references/mandatory-process.md +24 -24
- package/src/skills-lib/wizz-premium-landing-ui-researcher/references/output-format-and-quality.md +73 -73
- package/src/skills-lib/wizz-premium-landing-ui-researcher/references/prompt-templates.md +4 -4
- package/src/skills-lib/wizz-premium-landing-ui-researcher/references/site-levels.md +282 -283
- package/src/skills-lib/wizz-premium-landing-ui-researcher/references/source-first-protocol.md +39 -39
- package/src/skills-lib/wizz-premium-landing-ui-researcher/references/source-links.md +8 -8
- package/src/skills-lib/wizz-premium-landing-ui-researcher/references/stack-and-visual-direction.md +63 -64
- package/src/skills-lib/wizz-router/SKILL.md +38 -38
- package/src/skills-lib/wizz-router/references/auditoria-360.md +12 -12
- package/src/skills-lib/wizz-router/references/routing-table-flat.md +80 -80
- package/src/skills-lib/wizz-tracking-audit/SKILL.md +48 -48
- package/src/skills-lib/wizz-tracking-audit/references/modo-diagnostico.md +43 -43
- package/src/skills-lib/wizz-tracking-audit/references/modo-implantacao.md +59 -59
- package/src/skills-lib/wizz-tracking-audit/references/utm-e-atribuicao.md +35 -35
- package/src/skills-lib/wizz-web-security/SKILL.md +35 -35
- package/src/skills-lib/wizz-web-security/references/checklist-deploy.md +50 -50
- package/src/skills-lib/wizz-web-security/references/headers-rate-limit-cors.md +33 -33
- package/src/skills-lib/wizz-web-security/references/owasp-top5-detalhado.md +36 -36
- package/tools/hooks/session-rules.js +14 -11
package/src/modules/lowticket/skills/wizz-lowticket-metodologia/knowledge/17-rastreamento.md
CHANGED
|
@@ -1,127 +1,127 @@
|
|
|
1
|
-
## 17.
|
|
1
|
+
## 17. Tracking: GA4, GTM, pixel, and server container
|
|
2
2
|
|
|
3
|
-
> Shard
|
|
4
|
-
>
|
|
5
|
-
> ⚠️ **
|
|
3
|
+
> Shard of this base's methodology. Index: [`INDEX.md`](INDEX.md) · Always loaded alongside: [`guardrails.md`](guardrails.md)
|
|
4
|
+
> Where the generic skill contradicts this shard, **the shard wins**, and that must be stated in the response.
|
|
5
|
+
> ⚠️ **This shard conflicts with 6.3-6.4.** The connect-rate ruler requires the pixel directly in `<head>`, with no GTM. This shard puts the pixel inside GTM. See [open point 38](pontos-em-aberto.md).
|
|
6
6
|
|
|
7
|
-
### 17.1
|
|
7
|
+
### 17.1 What the stack does
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
Three destinations for the same event, and all three need to fire at the same instant:
|
|
10
10
|
|
|
11
|
-
1. **GA4**,
|
|
12
|
-
2. **Meta
|
|
13
|
-
3. **Meta
|
|
11
|
+
1. **GA4**, for reading the funnel.
|
|
12
|
+
2. **Meta via the browser** (pixel), which an ad blocker takes down.
|
|
13
|
+
3. **Meta via the server** (Conversions API), which an ad blocker can't reach.
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
The GTM **web** container does about 90% of the work. The **server** container is a relay: it receives what the web sent and hands it to Meta. Whoever designs this wrong tries to configure on the server what belongs on the web.
|
|
16
16
|
|
|
17
|
-
### 17.2 GA4:
|
|
17
|
+
### 17.2 GA4: creating the property
|
|
18
18
|
|
|
19
|
-
-
|
|
20
|
-
- **
|
|
21
|
-
-
|
|
22
|
-
- **
|
|
19
|
+
- Time zone **São Paulo**, currency **Real**. Stream name = the site without `www.`.
|
|
20
|
+
- **Enhanced Measurement: turn everything off.** GTM is what fires events. Leaving it on generates duplicate events, and a duplicate event is a wrong diagnosis (principle 1).
|
|
21
|
+
- Enable **data collection** and confirm **user data collection**.
|
|
22
|
+
- **Event data retention: change from 2 to 14 months.** The default 2 months makes any historical read impossible, and nobody notices until they need it.
|
|
23
23
|
|
|
24
|
-
### 17.3
|
|
24
|
+
### 17.3 Naming: the rule that decides whether the container stays readable
|
|
25
25
|
|
|
26
|
-
|
|
26
|
+
Numeric prefix on everything, because GTM sorts alphabetically and the container grows fast:
|
|
27
27
|
|
|
28
|
-
|
|
|
28
|
+
| Object | Pattern | Example |
|
|
29
29
|
|---|---|---|
|
|
30
|
-
|
|
|
31
|
-
| tag
|
|
32
|
-
|
|
|
30
|
+
| constant variable | `00 - <platform> - <what it is>` | `00 - GA4 - Measurement ID` |
|
|
31
|
+
| parent tag | `000 - Tag do Google` | fires before all others |
|
|
32
|
+
| event | `NN.<platform>.<event>` | `01.GA4.page_view`, `05.FB.Purchase` |
|
|
33
33
|
|
|
34
|
-
**
|
|
34
|
+
**No ID pasted directly into a tag.** Measurement ID, pixel number, and API token become a **constant variable** (on the server, a "permanent variable"). Changing the pixel later becomes a field edit, not a hunt.
|
|
35
35
|
|
|
36
|
-
### 17.4
|
|
36
|
+
### 17.4 Firing order in the web container
|
|
37
37
|
|
|
38
|
-
1. **Tag
|
|
39
|
-
2.
|
|
40
|
-
3.
|
|
41
|
-
4. **Lead**,
|
|
38
|
+
1. **Google Tag**, trigger **Initialization · All pages**. This is the parent tag: it activates the container for the rest. In the tag-type selector it's "Google Tag," **not** "Google Ads."
|
|
39
|
+
2. **GA4's `page_view`**, trigger **DOM Ready** (fires once code, images, and videos have already loaded).
|
|
40
|
+
3. **Meta's `PageView`**, on the **same** DOM Ready.
|
|
41
|
+
4. **Lead**, trigger **Form Submission**, on both platforms.
|
|
42
42
|
|
|
43
|
-
**
|
|
43
|
+
**The rule:** GA4, pixel, and API for the same event always on the same trigger. A different trigger between platforms produces numbers that don't reconcile, and the discrepancy shows up weeks later as "Meta is lying."
|
|
44
44
|
|
|
45
|
-
### 17.5
|
|
45
|
+
### 17.5 The event name changes per platform
|
|
46
46
|
|
|
47
|
-
|
|
47
|
+
Confirm against official documentation before naming. GA4 uses lowercase with underscores; Meta uses concatenated uppercase.
|
|
48
48
|
|
|
49
|
-
|
|
|
49
|
+
| Moment | GA4 | Meta |
|
|
50
50
|
|---|---|---|
|
|
51
|
-
|
|
|
52
|
-
|
|
|
53
|
-
|
|
|
54
|
-
|
|
|
51
|
+
| page loaded | `page_view` | `PageView` |
|
|
52
|
+
| form submitted | `generate_lead` | `Lead` |
|
|
53
|
+
| purchased | `purchase` | `Purchase` |
|
|
54
|
+
| clicked WhatsApp | custom event | custom event |
|
|
55
55
|
|
|
56
|
-
|
|
56
|
+
For an event that's not standard on either side (WhatsApp is the typical case), **use the same name on both sides**. That's what lets you cross-reference the platforms later.
|
|
57
57
|
|
|
58
|
-
|
|
58
|
+
Meta isn't a native GTM platform: the **Facebook Pixel** tag template needs to be installed from the template gallery before it shows up in the selector.
|
|
59
59
|
|
|
60
|
-
### 17.6
|
|
60
|
+
### 17.6 Server container
|
|
61
61
|
|
|
62
|
-
**
|
|
62
|
+
**Permanent variables:** pixel and Conversions API access token. Confirm the pixel matches the web one.
|
|
63
63
|
|
|
64
|
-
**
|
|
64
|
+
**Custom trigger**, with two conditions together:
|
|
65
65
|
|
|
66
|
-
- `Event name` **
|
|
67
|
-
- `Client Name` **
|
|
66
|
+
- `Event name` **matches regex**, with events separated by `|`: `page_view|generate_lead|whatsapp`.
|
|
67
|
+
- `Client Name` **contains** `GA4`.
|
|
68
68
|
|
|
69
|
-
|
|
69
|
+
The names in the regex are the **GA4** ones, not Meta's, because it's the GA4 tag that bridges browser → server. The Client Name condition exists so the trigger doesn't fire on an event from another source.
|
|
70
70
|
|
|
71
|
-
**
|
|
71
|
+
**One single tag for everything:** the Facebook template in the **Stape** version (not the "incubator" one), with `Event Name` set to **Inherit from Client**. This way it inherits whatever event comes in. It accepts multiple pixels in pixel + token pairs, up to 20.
|
|
72
72
|
|
|
73
|
-
**
|
|
73
|
+
**Validation via HTTP code:** `200` fired successfully, `400` failed. A 400 error is almost always a misconfigured trigger, a wrong URL, or a mistyped character in a parameter. Check letter by letter against the documentation, because the tag doesn't tell you which field broke.
|
|
74
74
|
|
|
75
75
|
### 17.7 Purchase
|
|
76
76
|
|
|
77
|
-
**
|
|
77
|
+
**Trigger:** Page View, `Page URL` **contains** the thank-you page's slug, written **without `https` and without `www`**.
|
|
78
78
|
|
|
79
|
-
**
|
|
79
|
+
**Required parameters:**
|
|
80
80
|
|
|
81
|
-
|
|
|
81
|
+
| Platform | Parameters |
|
|
82
82
|
|---|---|
|
|
83
|
-
| Meta (Object Properties) | `value`, `currency` (
|
|
84
|
-
| GA4 (
|
|
85
|
-
| API (
|
|
83
|
+
| Meta (Object Properties) | `value`, `currency` (both lowercase) |
|
|
84
|
+
| GA4 (Event parameters) | `currency`, `value`, `transaction_id`, `items` |
|
|
85
|
+
| API (server) | the 4 from GA4 + `Transport URL` + `Event ID` |
|
|
86
86
|
|
|
87
|
-
- `value`:
|
|
88
|
-
- `transaction_id`: **
|
|
89
|
-
- **`Event ID`
|
|
87
|
+
- `value`: the product's numeric value, with no currency symbol and no thousands separator.
|
|
88
|
+
- `transaction_id`: **without a webhook**, a custom JavaScript variable generates the number; **with a webhook**, it comes ready-made from the sales platform.
|
|
89
|
+
- **`Event ID` also on the Meta tag.** This is what deduplicates the event that arrived via the browser against the one that arrived via the server. It's the field most often forgotten, and without it the purchase counts twice.
|
|
90
90
|
|
|
91
|
-
**
|
|
91
|
+
**The two ceilings of a webhook-less setup:**
|
|
92
92
|
|
|
93
|
-
- **
|
|
94
|
-
- **
|
|
93
|
+
- **Fixed currency.** `currency` hardcoded as `BRL` only works for a single market. Selling to more than one country forces a migration to a webhook.
|
|
94
|
+
- **One product per tag.** Each product needs its own thank-you page and its own Purchase tag. With a webhook, one tag covers the whole catalog.
|
|
95
95
|
|
|
96
|
-
|
|
96
|
+
In other words: a catalog with more than one product, or more than one currency, is already asking for a webhook. Building without one is technical debt with a set date.
|
|
97
97
|
|
|
98
|
-
### 17.8
|
|
98
|
+
### 17.8 Web container proxy
|
|
99
99
|
|
|
100
|
-
|
|
100
|
+
Serves GTM's scripts through your own domain instead of Google's, which ad blockers recognize and take down.
|
|
101
101
|
|
|
102
|
-
1.
|
|
103
|
-
2. `
|
|
104
|
-
3. `
|
|
105
|
-
4.
|
|
102
|
+
1. In the server container: **Client > New**, type "Google Tag Manager."
|
|
103
|
+
2. `Add container ID` = the **web** container's ID.
|
|
104
|
+
3. `Region` = the built-in variable **Visitor Region**.
|
|
105
|
+
4. In the WordPress GTM plugin, **Advanced** tab: check `Load GTM container` and put the server's domain into `Container domain name`, **without `https://` and without a trailing slash**.
|
|
106
106
|
|
|
107
|
-
|
|
107
|
+
Step 4 is where the setup usually fails silently: with a stray prefix or trailing slash, the field accepts it and nothing loads.
|
|
108
108
|
|
|
109
|
-
### 17.9
|
|
109
|
+
### 17.9 Form and pre-filled checkout
|
|
110
110
|
|
|
111
|
-
**
|
|
111
|
+
**The form takes name, email, and phone. Only.** Email and phone are the fields that boost match quality on Meta the most. One extra field lowers the submission rate without giving anything back in signal.
|
|
112
112
|
|
|
113
|
-
-
|
|
114
|
-
-
|
|
113
|
+
- The pop-up requires **Elementor Pro**; it doesn't exist in the free version. The button opens the pop-up via a **dynamic** field, not a typed URL.
|
|
114
|
+
- Redirection comes from **Action After Submit > Redirect**.
|
|
115
115
|
|
|
116
|
-
**
|
|
116
|
+
**Pre-filled checkout:** build the checkout URL with the parameters the platform accepts (name, email, CPF, phone, region) and fill each value with the corresponding form field's **short code** (the `Advanced` tab of each field).
|
|
117
117
|
|
|
118
|
-
-
|
|
119
|
-
-
|
|
118
|
+
- Check whether the checkout link **already has a `?`**. If it does, the following parameters chain with `&`, never with a second question mark. Hotmart links usually already come with a `?`.
|
|
119
|
+
- Each parameter's name is whatever the checkout platform requires, not whatever the form calls it.
|
|
120
120
|
|
|
121
|
-
|
|
121
|
+
The gain is twofold and worth stating together: **less friction** (the buyer doesn't retype anything, which directly attacks the checkout → purchase transition from section 2.4) and **more data** for Meta's matching.
|
|
122
122
|
|
|
123
|
-
### 17.10
|
|
123
|
+
### 17.10 What this shard doesn't cover yet
|
|
124
124
|
|
|
125
|
-
|
|
125
|
+
No personal user data enters the tags up to this point. **Advanced Matching** and **geolocation** are the next modules, and they're what links the lead's data to the tags. The next module in this base covers UTMs inside GTM and in the checkout link.
|
|
126
126
|
|
|
127
|
-
|
|
127
|
+
Until that's done, match quality stays at the floor, and the number of attributed purchases will be below the real figure. It's not a configuration error: it's a missing step.
|