
Path: Fundraising β Landings β edit the landing β Advanced Data tab


| Field | What to enter | What it's for |
|---|---|---|
| Analytics track | Select Google Analytics | Activates GA4 tracking on the landing page |
| Google Analytics ID | G-XXXXXXXXXX | Injects gtag.js, reads UTMs and creates the _ga cookie β the thread connecting the entire GA4 session |
| Facebook Pixel | Your Meta Pixel ID | Captures the _fbc cookie when a visitor comes from an ad (?fbclid=). Without this, Meta Ads attribution degrades |
Path: Widgets β edit the widget β left sidebar β Advanced


| Section | Fields | What it's for |
|---|---|---|
| Facebook CAPI | Pixel ID + Access Token | AFRUS sends funnel events to Meta CAPI using the _fbc cookie from the landing. Both fields are required. |
| Protocolo de mediciΓ³n | Measurement ID + API Secret | AFRUS sends events to GA4 using the client_id from the _ga cookie created on the landing. Both fields are required. |
| Google Tag Manager 4 | GTM Container ID (GTM-XXXXXX) | If you manage tracking through GTM, enter the ID. AFRUS will publish events to the dataLayer. |
dataLayer for GTM_ga β Google AnalyticsGA4 session client_id. AFRUS reads it in each event to maintain attribution. Falls back to UUID if not present.
_fbc y _fbp β Meta_fbc is created when the visitor comes from an ad (?fbclid=). _fbp identifies the browser for cross-event attribution.
β οΈ Watch out for cookie banners: if your site blocks _ga or _fbc before the user accepts, attribution breaks mid-funnel.
dataLayer. The three signals are coordinated so Meta counts a single conversion with maximum data quality.The donor sees the widget on your landing page.
The donor chooses how much to donate.
The donor enters name and email. Lead created in the database when information is valid.
The donor moves to the payment screen.
The donor selects their payment method (card, bank transfer, etc.). Field available in dataLayer: ecommerce.payment_type.
The payment gateway confirms the charge. Meta receives the real amount (value), currency, content_type (one_time or recurring) and frequency. For asynchronous payments (Niubiz, PIX, boleto), AFRUS waits for real confirmation.
purchase with a unique transaction_id. Meta receives Purchase deduplicated against AFRUS CAPI.register event is sent to Meta (Lead) and GA4 (sign_up), but is NOT published to the GTM dataLayer. Use generate_lead as a GTM trigger instead.| Paso | AFRUS | GTM | Meta | GA4 | Tipo |
|---|---|---|---|---|---|
| Widget view | start | start | ViewContent | view_item | Interest |
| Amount selection | add_to_cart | add_to_cart | AddToCart | add_to_cart | Interest |
| Contact details | generate_lead | generate_lead | Lead | generate_lead | Lead |
| Checkout start | begin_checkout | begin_checkout | InitiateCheckout | begin_checkout | High intent |
| Payment method | add_payment_info | add_payment_info | AddPaymentInfo | add_payment_info | High intent |
| Donation β | purchase | purchase | Purchase/Donate | purchase | Conversion β |
| Registration β | register | no publicado | Lead | sign_up | Conversion β |
| Widget type | Funnel events |
|---|---|
| All | start Β· add_to_cart Β· generate_lead |
| Donation (one-time or recurring) | start Β· add_to_cart Β· generate_lead Β· begin_checkout Β· add_payment_info Β· purchase β
|
| Registration / Signup | start Β· add_to_cart Β· generate_lead Β· register β
(sin dataLayer) |

