[{"data":1,"prerenderedAt":865},["ShallowReactive",2],{"article-alternates":3,"article-\u002Fes\u002Fmarketing\u002Fconversiones-server-side-meta-capi-configuracion-correcta":13},{"i18nKey":4,"paths":5},"marketing-001-2026-07",{"de":6,"en":7,"es":8,"fr":9,"it":10,"ru":11,"tr":12},"\u002Fde\u002Fmarketing\u002Fserver-side-conversions-meta-capi-richtig-einrichten","\u002Fen\u002Fmarketing\u002Fserver-side-conversions-meta-capi-setup","\u002Fes\u002Fmarketing\u002Fserver-side-conversiones-meta-capi-guia-completa","\u002Ffr\u002Fmarketing\u002Fserver-side-conversions-meta-capi-setup","\u002Fit\u002Fmarketing\u002Fserver-side-conversioni-meta-capi-installazione-corretta","\u002Fru\u002Fmarketing\u002Fserver-side-conversions-meta-capi-pravilno-nastroit","\u002Ftr\u002Fmarketing\u002Fserver-side-conversions-meta-capiyi-sifirdan-dogru-kurmak",{"_path":14,"_dir":15,"_draft":16,"_partial":16,"_locale":17,"title":18,"description":19,"publishedAt":20,"modifiedAt":20,"category":15,"i18nKey":4,"tags":21,"readingTime":27,"author":28,"body":29,"_type":859,"_id":860,"_source":861,"_file":862,"_stem":863,"_extension":864},"\u002Fes\u002Fmarketing\u002Fconversiones-server-side-meta-capi-configuracion-correcta","marketing",false,"","Conversiones Server-Side: Configurar Meta CAPI Correctamente desde Cero","Después de cambios de privacidad en iOS, configurar arquitectura Meta CAPI y sGTM con estrategias de event match quality, deduplicación y señales.","2026-07-23",[22,23,24,25,26],"meta-capi","server-side-gtm","conversion-api","event-match-quality","attribution",8,"Roibase",{"type":30,"children":31,"toc":849},"root",[32,40,47,61,66,71,77,82,109,122,129,165,170,176,181,277,282,639,644,650,655,660,665,671,703,726,750,781,804,809,815,827,843],{"type":33,"tag":34,"props":35,"children":36},"element","p",{},[37],{"type":38,"value":39},"text","Desde iOS 14.5, el píxel de Meta pierde datos consistentemente. Las tasas de opt-in de ATT se estabilizaron en torno al 25%, las restricciones de rastreo del navegador se ampliaron y los tiempos de vida de las cookies se acortaron. Resultado: la señal de conversión del píxel está incompleta semana a semana — caídas de 40-60%. El algoritmo de Meta queda ciego, la optimización de ROAS se daña. La API de Conversiones Server-Side (CAPI) ya no es opcional — cuando se configura correctamente, compensa la pérdida de señal hasta en un 80%.",{"type":33,"tag":41,"props":42,"children":44},"h2",{"id":43},"el-punto-donde-funciona-meta-capi",[45],{"type":38,"value":46},"El Punto Donde Funciona Meta CAPI",{"type":33,"tag":34,"props":48,"children":49},{},[50,52,59],{"type":38,"value":51},"Meta CAPI no es un reemplazo del píxel — es su complemento. El píxel envía datos client-side a través del navegador, CAPI envía desde el servidor. Ambos funcionan en paralelo; Meta los deduplica en su lado. Para que la deduplicación funcione, cada evento debe tener el mismo ",{"type":33,"tag":53,"props":54,"children":56},"code",{"className":55},[],[57],{"type":38,"value":58},"event_id",{"type":38,"value":60}," — Meta procesa una única conversión cuando llega tanto del píxel como de CAPI.",{"type":33,"tag":34,"props":62,"children":63},{},[64],{"type":38,"value":65},"CAPI aporta 3 ventajas críticas: (1) Funciona independiente de restricciones de rastreo — iOS ATT, ITP, bloqueo de cookies, todo se evita. (2) Se pueden agregar datos first-party que posees en el servidor — hash de email desde CRM, teléfono, dirección y otros datos PII se adjuntan al evento, elevando event match quality (EMQ). (3) Se extiende la ventana de conversión — el píxel está limitado a 7 días; con CAPI captas conversiones hasta 28 días.",{"type":33,"tag":34,"props":67,"children":68},{},[69],{"type":38,"value":70},"EMQ mide qué tan bien Meta vincula un evento al usuario correcto. En escala 0-10: por debajo de 6 es débil, 7-8 es bueno, 9+ es excelente. Si EMQ es bajo, Meta no puede hacer atribución; ese evento no se usa como señal. Para elevarlo, envías múltiples identificadores: email (hash SHA-256), teléfono (formato E.164 con hash), user agent, IP, cookies fbc\u002Ffbp, external_id (ID de CRM). Cuando adjuntas 4-5 identificadores diferentes al mismo evento, EMQ se acerca a 9.",{"type":33,"tag":41,"props":72,"children":74},{"id":73},"arquitectura-con-server-side-gtm-sgtm",[75],{"type":38,"value":76},"Arquitectura con Server-Side GTM (sGTM)",{"type":33,"tag":34,"props":78,"children":79},{},[80],{"type":38,"value":81},"Enviar CAPI manualmente desde tu backend es posible pero no escalable — cada evento requiere un HTTP request separado, la deduplicación se maneja manualmente, el manejo de errores se vuelve complejo. sGTM estandariza este stack. Es el contenedor servidor de Google Tag Manager — captura eventos del lado cliente, realiza transformaciones y los envía en paralelo a Meta CAPI, GA4, TikTok Events API.",{"type":33,"tag":34,"props":83,"children":84},{},[85,87,93,95,100,102,107],{"type":38,"value":86},"La arquitectura funciona así: (1) Client-side GTM captura eventos en el navegador (",{"type":33,"tag":53,"props":88,"children":90},{"className":89},[],[91],{"type":38,"value":92},"dataLayer.push",{"type":38,"value":94},"). (2) El contenedor cliente envía el evento por POST al endpoint de sGTM. (3) El contenedor sGTM recibe el evento, lo enriquece (lee cookies del servidor, obtiene datos de CRM), agrega ",{"type":33,"tag":53,"props":96,"children":98},{"className":97},[],[99],{"type":38,"value":58},{"type":38,"value":101}," para deduplicación. (4) La etiqueta Meta CAPI envía el evento por HTTP POST a Meta. (5) Si el mismo evento llega desde el píxel con el mismo ",{"type":33,"tag":53,"props":103,"children":105},{"className":104},[],[106],{"type":38,"value":58},{"type":38,"value":108},", Meta lo cuenta una sola vez.",{"type":33,"tag":34,"props":110,"children":111},{},[112,114,120],{"type":38,"value":113},"Debes alojar sGTM en tu propio dominio — como ",{"type":33,"tag":53,"props":115,"children":117},{"className":116},[],[118],{"type":38,"value":119},"gtm.yourdomain.com",{"type":38,"value":121},". El algoritmo de Meta lee la URL del evento; cuando ve un dominio first-party, aumenta event_score (los bloqueadores de scripts third-party se evitan, la vida útil de la cookie se extiende). Puedes usar Google Cloud Run, App Engine o un contenedor sGTM administrado por GCP. El costo mensual ronda $50-500 según el tráfico.",{"type":33,"tag":123,"props":124,"children":126},"h3",{"id":125},"lógica-de-deduplicación",[127],{"type":38,"value":128},"Lógica de Deduplicación",{"type":33,"tag":34,"props":130,"children":131},{},[132,134,139,141,147,149,155,157,163],{"type":38,"value":133},"La estrategia para crear ",{"type":33,"tag":53,"props":135,"children":137},{"className":136},[],[138],{"type":38,"value":58},{"type":38,"value":140}," es crítica. No uses un UUID aleatorio — el mismo evento client y server debe tener el mismo ID. La práctica recomendada: ",{"type":33,"tag":53,"props":142,"children":144},{"className":143},[],[145],{"type":38,"value":146},"{user_id}_{event_name}_{timestamp_rounded_to_minute}",{"type":38,"value":148}," como hash determinista. Ejemplo: usuario ID 12345, evento ",{"type":33,"tag":53,"props":150,"children":152},{"className":151},[],[153],{"type":38,"value":154},"Purchase",{"type":38,"value":156},", timestamp 2026-07-23 14:32:18, entonces ",{"type":33,"tag":53,"props":158,"children":160},{"className":159},[],[161],{"type":38,"value":162},"event_id = hash(12345_Purchase_202607231432)",{"type":38,"value":164},".",{"type":33,"tag":34,"props":166,"children":167},{},[168],{"type":38,"value":169},"De esta forma, cuando Meta ve el mismo Purchase del mismo usuario en el mismo minuto llegar tanto del píxel como de CAPI con el mismo ID, lo cuenta una sola vez. Si no redondeas el timestamp a minuto, las diferencias de milisegundos rompen la deduplicación.",{"type":33,"tag":41,"props":171,"children":173},{"id":172},"elevar-event-match-quality-a-9",[174],{"type":38,"value":175},"Elevar Event Match Quality a 9",{"type":33,"tag":34,"props":177,"children":178},{},[179],{"type":38,"value":180},"Si EMQ sigue bajo, la atribución está dañada. En Meta Events Manager ves el score de EMQ para cada evento. Si cae por debajo de 6, necesitas intervención inmediata. Estrategia para elevarlo:",{"type":33,"tag":182,"props":183,"children":184},"ol",{},[185,205,223,249,259],{"type":33,"tag":186,"props":187,"children":188},"li",{},[189,195,197,203],{"type":33,"tag":190,"props":191,"children":192},"strong",{},[193],{"type":38,"value":194},"Adjunta hash de email:",{"type":38,"value":196}," Si el usuario inició sesión, hashea la dirección de email con SHA-256 y adjúntalo al parámetro ",{"type":33,"tag":53,"props":198,"children":200},{"className":199},[],[201],{"type":38,"value":202},"user_data.em",{"type":38,"value":204},". Meta compara este hash con su propia base de datos de usuarios.",{"type":33,"tag":186,"props":206,"children":207},{},[208,213,215,221],{"type":33,"tag":190,"props":209,"children":210},{},[211],{"type":38,"value":212},"Adjunta hash de teléfono:",{"type":38,"value":214}," Parámetro ",{"type":33,"tag":53,"props":216,"children":218},{"className":217},[],[219],{"type":38,"value":220},"user_data.ph",{"type":38,"value":222}," — en formato E.164 (con prefijo +90), hash SHA-256.",{"type":33,"tag":186,"props":224,"children":225},{},[226,231,233,239,241,247],{"type":33,"tag":190,"props":227,"children":228},{},[229],{"type":38,"value":230},"IP del cliente y User Agent:",{"type":38,"value":232}," Agrega ",{"type":33,"tag":53,"props":234,"children":236},{"className":235},[],[237],{"type":38,"value":238},"user_data.client_ip_address",{"type":38,"value":240}," y ",{"type":33,"tag":53,"props":242,"children":244},{"className":243},[],[245],{"type":38,"value":246},"user_data.client_user_agent",{"type":38,"value":248}," al evento CAPI. sGTM puede extraer estos valores automáticamente del request del cliente.",{"type":33,"tag":186,"props":250,"children":251},{},[252,257],{"type":33,"tag":190,"props":253,"children":254},{},[255],{"type":38,"value":256},"Cookies fbc y fbp:",{"type":38,"value":258}," Lee las cookies de ID de clic de Meta (fbc) e ID del navegador (fbp) y envíalas. sGTM puede leerlas porque está en dominio first-party.",{"type":33,"tag":186,"props":260,"children":261},{},[262,267,269,275],{"type":33,"tag":190,"props":263,"children":264},{},[265],{"type":38,"value":266},"external_id:",{"type":38,"value":268}," Envía el ID del usuario en tu CRM como ",{"type":33,"tag":53,"props":270,"children":272},{"className":271},[],[273],{"type":38,"value":274},"user_data.external_id",{"type":38,"value":276},". Meta lo usa en su gráfico cross-device.",{"type":33,"tag":34,"props":278,"children":279},{},[280],{"type":38,"value":281},"Payload de evento de ejemplo (enviado desde sGTM a Meta CAPI):",{"type":33,"tag":283,"props":284,"children":288},"pre",{"className":285,"code":286,"language":287,"meta":17,"style":17},"language-json shiki shiki-themes github-dark","{\n  \"event_name\": \"Purchase\",\n  \"event_time\": 1721741538,\n  \"event_id\": \"abc123_Purchase_202607231432\",\n  \"event_source_url\": \"https:\u002F\u002Fshop.yourdomain.com\u002Fcheckout\",\n  \"user_data\": {\n    \"em\": \"7d8c8fbb1f3e6e0f3...\",\n    \"ph\": \"9b6e2f1a3d5e8c...\",\n    \"client_ip_address\": \"185.42.12.34\",\n    \"client_user_agent\": \"Mozilla\u002F5.0...\",\n    \"fbc\": \"fb.1.1625012345678.AbCdEfGhIj\",\n    \"fbp\": \"fb.1.1625012345678.1234567890\",\n    \"external_id\": \"CRM-12345\"\n  },\n  \"custom_data\": {\n    \"currency\": \"USD\",\n    \"value\": 99.99\n  }\n}\n","json",[289],{"type":33,"tag":53,"props":290,"children":291},{"__ignoreMap":17},[292,304,330,352,374,396,410,432,453,475,497,519,541,559,568,581,603,621,630],{"type":33,"tag":293,"props":294,"children":297},"span",{"class":295,"line":296},"line",1,[298],{"type":33,"tag":293,"props":299,"children":301},{"style":300},"--shiki-default:#E1E4E8",[302],{"type":38,"value":303},"{\n",{"type":33,"tag":293,"props":305,"children":307},{"class":295,"line":306},2,[308,314,319,325],{"type":33,"tag":293,"props":309,"children":311},{"style":310},"--shiki-default:#79B8FF",[312],{"type":38,"value":313},"  \"event_name\"",{"type":33,"tag":293,"props":315,"children":316},{"style":300},[317],{"type":38,"value":318},": ",{"type":33,"tag":293,"props":320,"children":322},{"style":321},"--shiki-default:#9ECBFF",[323],{"type":38,"value":324},"\"Purchase\"",{"type":33,"tag":293,"props":326,"children":327},{"style":300},[328],{"type":38,"value":329},",\n",{"type":33,"tag":293,"props":331,"children":333},{"class":295,"line":332},3,[334,339,343,348],{"type":33,"tag":293,"props":335,"children":336},{"style":310},[337],{"type":38,"value":338},"  \"event_time\"",{"type":33,"tag":293,"props":340,"children":341},{"style":300},[342],{"type":38,"value":318},{"type":33,"tag":293,"props":344,"children":345},{"style":310},[346],{"type":38,"value":347},"1721741538",{"type":33,"tag":293,"props":349,"children":350},{"style":300},[351],{"type":38,"value":329},{"type":33,"tag":293,"props":353,"children":355},{"class":295,"line":354},4,[356,361,365,370],{"type":33,"tag":293,"props":357,"children":358},{"style":310},[359],{"type":38,"value":360},"  \"event_id\"",{"type":33,"tag":293,"props":362,"children":363},{"style":300},[364],{"type":38,"value":318},{"type":33,"tag":293,"props":366,"children":367},{"style":321},[368],{"type":38,"value":369},"\"abc123_Purchase_202607231432\"",{"type":33,"tag":293,"props":371,"children":372},{"style":300},[373],{"type":38,"value":329},{"type":33,"tag":293,"props":375,"children":377},{"class":295,"line":376},5,[378,383,387,392],{"type":33,"tag":293,"props":379,"children":380},{"style":310},[381],{"type":38,"value":382},"  \"event_source_url\"",{"type":33,"tag":293,"props":384,"children":385},{"style":300},[386],{"type":38,"value":318},{"type":33,"tag":293,"props":388,"children":389},{"style":321},[390],{"type":38,"value":391},"\"https:\u002F\u002Fshop.yourdomain.com\u002Fcheckout\"",{"type":33,"tag":293,"props":393,"children":394},{"style":300},[395],{"type":38,"value":329},{"type":33,"tag":293,"props":397,"children":399},{"class":295,"line":398},6,[400,405],{"type":33,"tag":293,"props":401,"children":402},{"style":310},[403],{"type":38,"value":404},"  \"user_data\"",{"type":33,"tag":293,"props":406,"children":407},{"style":300},[408],{"type":38,"value":409},": {\n",{"type":33,"tag":293,"props":411,"children":413},{"class":295,"line":412},7,[414,419,423,428],{"type":33,"tag":293,"props":415,"children":416},{"style":310},[417],{"type":38,"value":418},"    \"em\"",{"type":33,"tag":293,"props":420,"children":421},{"style":300},[422],{"type":38,"value":318},{"type":33,"tag":293,"props":424,"children":425},{"style":321},[426],{"type":38,"value":427},"\"7d8c8fbb1f3e6e0f3...\"",{"type":33,"tag":293,"props":429,"children":430},{"style":300},[431],{"type":38,"value":329},{"type":33,"tag":293,"props":433,"children":434},{"class":295,"line":27},[435,440,444,449],{"type":33,"tag":293,"props":436,"children":437},{"style":310},[438],{"type":38,"value":439},"    \"ph\"",{"type":33,"tag":293,"props":441,"children":442},{"style":300},[443],{"type":38,"value":318},{"type":33,"tag":293,"props":445,"children":446},{"style":321},[447],{"type":38,"value":448},"\"9b6e2f1a3d5e8c...\"",{"type":33,"tag":293,"props":450,"children":451},{"style":300},[452],{"type":38,"value":329},{"type":33,"tag":293,"props":454,"children":456},{"class":295,"line":455},9,[457,462,466,471],{"type":33,"tag":293,"props":458,"children":459},{"style":310},[460],{"type":38,"value":461},"    \"client_ip_address\"",{"type":33,"tag":293,"props":463,"children":464},{"style":300},[465],{"type":38,"value":318},{"type":33,"tag":293,"props":467,"children":468},{"style":321},[469],{"type":38,"value":470},"\"185.42.12.34\"",{"type":33,"tag":293,"props":472,"children":473},{"style":300},[474],{"type":38,"value":329},{"type":33,"tag":293,"props":476,"children":478},{"class":295,"line":477},10,[479,484,488,493],{"type":33,"tag":293,"props":480,"children":481},{"style":310},[482],{"type":38,"value":483},"    \"client_user_agent\"",{"type":33,"tag":293,"props":485,"children":486},{"style":300},[487],{"type":38,"value":318},{"type":33,"tag":293,"props":489,"children":490},{"style":321},[491],{"type":38,"value":492},"\"Mozilla\u002F5.0...\"",{"type":33,"tag":293,"props":494,"children":495},{"style":300},[496],{"type":38,"value":329},{"type":33,"tag":293,"props":498,"children":500},{"class":295,"line":499},11,[501,506,510,515],{"type":33,"tag":293,"props":502,"children":503},{"style":310},[504],{"type":38,"value":505},"    \"fbc\"",{"type":33,"tag":293,"props":507,"children":508},{"style":300},[509],{"type":38,"value":318},{"type":33,"tag":293,"props":511,"children":512},{"style":321},[513],{"type":38,"value":514},"\"fb.1.1625012345678.AbCdEfGhIj\"",{"type":33,"tag":293,"props":516,"children":517},{"style":300},[518],{"type":38,"value":329},{"type":33,"tag":293,"props":520,"children":522},{"class":295,"line":521},12,[523,528,532,537],{"type":33,"tag":293,"props":524,"children":525},{"style":310},[526],{"type":38,"value":527},"    \"fbp\"",{"type":33,"tag":293,"props":529,"children":530},{"style":300},[531],{"type":38,"value":318},{"type":33,"tag":293,"props":533,"children":534},{"style":321},[535],{"type":38,"value":536},"\"fb.1.1625012345678.1234567890\"",{"type":33,"tag":293,"props":538,"children":539},{"style":300},[540],{"type":38,"value":329},{"type":33,"tag":293,"props":542,"children":544},{"class":295,"line":543},13,[545,550,554],{"type":33,"tag":293,"props":546,"children":547},{"style":310},[548],{"type":38,"value":549},"    \"external_id\"",{"type":33,"tag":293,"props":551,"children":552},{"style":300},[553],{"type":38,"value":318},{"type":33,"tag":293,"props":555,"children":556},{"style":321},[557],{"type":38,"value":558},"\"CRM-12345\"\n",{"type":33,"tag":293,"props":560,"children":562},{"class":295,"line":561},14,[563],{"type":33,"tag":293,"props":564,"children":565},{"style":300},[566],{"type":38,"value":567},"  },\n",{"type":33,"tag":293,"props":569,"children":571},{"class":295,"line":570},15,[572,577],{"type":33,"tag":293,"props":573,"children":574},{"style":310},[575],{"type":38,"value":576},"  \"custom_data\"",{"type":33,"tag":293,"props":578,"children":579},{"style":300},[580],{"type":38,"value":409},{"type":33,"tag":293,"props":582,"children":584},{"class":295,"line":583},16,[585,590,594,599],{"type":33,"tag":293,"props":586,"children":587},{"style":310},[588],{"type":38,"value":589},"    \"currency\"",{"type":33,"tag":293,"props":591,"children":592},{"style":300},[593],{"type":38,"value":318},{"type":33,"tag":293,"props":595,"children":596},{"style":321},[597],{"type":38,"value":598},"\"USD\"",{"type":33,"tag":293,"props":600,"children":601},{"style":300},[602],{"type":38,"value":329},{"type":33,"tag":293,"props":604,"children":606},{"class":295,"line":605},17,[607,612,616],{"type":33,"tag":293,"props":608,"children":609},{"style":310},[610],{"type":38,"value":611},"    \"value\"",{"type":33,"tag":293,"props":613,"children":614},{"style":300},[615],{"type":38,"value":318},{"type":33,"tag":293,"props":617,"children":618},{"style":310},[619],{"type":38,"value":620},"99.99\n",{"type":33,"tag":293,"props":622,"children":624},{"class":295,"line":623},18,[625],{"type":33,"tag":293,"props":626,"children":627},{"style":300},[628],{"type":38,"value":629},"  }\n",{"type":33,"tag":293,"props":631,"children":633},{"class":295,"line":632},19,[634],{"type":33,"tag":293,"props":635,"children":636},{"style":300},[637],{"type":38,"value":638},"}\n",{"type":33,"tag":34,"props":640,"children":641},{},[642],{"type":38,"value":643},"Este payload contiene 6 identificadores diferentes — EMQ se acerca a 9. Con esta señal, Meta puede vincular la conversión al usuario correcto, y la optimización de campaña no se daña.",{"type":33,"tag":41,"props":645,"children":647},{"id":646},"estrategia-de-señales-e-incrementalidad",[648],{"type":38,"value":649},"Estrategia de Señales e Incrementalidad",{"type":33,"tag":34,"props":651,"children":652},{},[653],{"type":38,"value":654},"Después de configurar CAPI, monitorea \"Event Match Quality\" y \"Events Received\" en Meta Events Manager. El número de eventos (píxel + CAPI, deduplicados) debe crecer; el EMQ promedio debe estar 7+. En las primeras 2 semanas, las conversiones visibles pueden crecer 20-30% — no es \"inflado\", es la señal perdida que regresa cuando la ventana de atribución se extiende.",{"type":33,"tag":34,"props":656,"children":657},{},[658],{"type":38,"value":659},"Para medir el lift real, ejecuta un test geo-holdout: en algunas geografías solo píxel, en otras píxel+CAPI, mide la diferencia en ROAS. El estudio de Conversion Lift de Meta funciona así, pero el control manual es más confiable.",{"type":33,"tag":34,"props":661,"children":662},{},[663],{"type":38,"value":664},"El ROI de CAPI generalmente se ve claro en 3-6 meses. En segmentos con alto ratio de usuarios iOS (EE.UU., Europa Occidental) los ganancias aparecen más rápido. En mercados Android-heavy, la pérdida de señal es menor, así que la ganancia de CAPI es menos dramática — pero el EMQ sigue mejorando, lo que aumenta el rendimiento del algoritmo.",{"type":33,"tag":41,"props":666,"children":668},{"id":667},"trampas-técnicas-y-soluciones",[669],{"type":38,"value":670},"Trampas Técnicas y Soluciones",{"type":33,"tag":34,"props":672,"children":673},{},[674,679,681,687,689,694,696,701],{"type":33,"tag":190,"props":675,"children":676},{},[677],{"type":38,"value":678},"Trampa 1:",{"type":38,"value":680}," Alojar sGTM en un dominio third-party (",{"type":33,"tag":53,"props":682,"children":684},{"className":683},[],[685],{"type":38,"value":686},"gtm-abc123.appspot.com",{"type":38,"value":688},"). Meta no reconoce este dominio, event_score baja, la vida útil de la cookie es corta. ",{"type":33,"tag":190,"props":690,"children":691},{},[692],{"type":38,"value":693},"Solución:",{"type":38,"value":695}," Apunta sGTM a tu propio dominio con CNAME (",{"type":33,"tag":53,"props":697,"children":699},{"className":698},[],[700],{"type":38,"value":119},{"type":38,"value":702},").",{"type":33,"tag":34,"props":704,"children":705},{},[706,711,713,718,720,724],{"type":33,"tag":190,"props":707,"children":708},{},[709],{"type":38,"value":710},"Trampa 2:",{"type":38,"value":712}," Enviar eventos sin generar ",{"type":33,"tag":53,"props":714,"children":716},{"className":715},[],[717],{"type":38,"value":58},{"type":38,"value":719},". Meta no puede deduplicar; la misma conversión se cuenta 2 veces, ROAS se infla (optimización falsa). ",{"type":33,"tag":190,"props":721,"children":722},{},[723],{"type":38,"value":693},{"type":38,"value":725}," Genera un ID determinista para cada evento.",{"type":33,"tag":34,"props":727,"children":728},{},[729,734,736,740,742,748],{"type":33,"tag":190,"props":730,"children":731},{},[732],{"type":38,"value":733},"Trampa 3:",{"type":38,"value":735}," Enviar datos PII sin hashear. Meta rechaza email crudo; el evento se rechaza. ",{"type":33,"tag":190,"props":737,"children":738},{},[739],{"type":38,"value":693},{"type":38,"value":741}," SHA-256 hash + normalización (email lowercase con ",{"type":33,"tag":53,"props":743,"children":745},{"className":744},[],[746],{"type":38,"value":747},"trim().toLowerCase()",{"type":38,"value":749}," antes de hashear).",{"type":33,"tag":34,"props":751,"children":752},{},[753,758,760,766,768,772,774,779],{"type":33,"tag":190,"props":754,"children":755},{},[756],{"type":38,"value":757},"Trampa 4:",{"type":38,"value":759}," No enviar ",{"type":33,"tag":53,"props":761,"children":763},{"className":762},[],[764],{"type":38,"value":765},"event_source_url",{"type":38,"value":767},". Meta no sabe de dónde viene el evento, falla la verificación de dominio. ",{"type":33,"tag":190,"props":769,"children":770},{},[771],{"type":38,"value":693},{"type":38,"value":773}," Adjunta ",{"type":33,"tag":53,"props":775,"children":777},{"className":776},[],[778],{"type":38,"value":765},{"type":38,"value":780}," a cada evento — debe ser la URL de la página de checkout.",{"type":33,"tag":34,"props":782,"children":783},{},[784,789,791,795,797,803],{"type":33,"tag":190,"props":785,"children":786},{},[787],{"type":38,"value":788},"Trampa 5:",{"type":38,"value":790}," Enviar timestamp de tiempo futuro. Meta rechaza el evento. ",{"type":33,"tag":190,"props":792,"children":793},{},[794],{"type":38,"value":693},{"type":38,"value":796}," Usa formato Unix epoch (segundos), hora del servidor (",{"type":33,"tag":53,"props":798,"children":800},{"className":799},[],[801],{"type":38,"value":802},"Math.floor(Date.now() \u002F 1000)",{"type":38,"value":702},{"type":33,"tag":34,"props":805,"children":806},{},[807],{"type":38,"value":808},"Para evitar estas trampas, usa Preview Mode en sGTM — ves el payload antes de que llegue a Meta, corriges errores.",{"type":33,"tag":41,"props":810,"children":812},{"id":811},"siguiente-paso-stack-multi-plataforma",[813],{"type":38,"value":814},"Siguiente Paso: Stack Multi-Plataforma",{"type":33,"tag":34,"props":816,"children":817},{},[818,820,825],{"type":38,"value":819},"Una vez que CAPI está configurado correctamente, extiende la misma arquitectura a TikTok Events API, Snapchat CAPI, Google Ads Enhanced Conversions. sGTM envía un único evento en paralelo a todas las plataformas — el mismo ",{"type":33,"tag":53,"props":821,"children":823},{"className":822},[],[824],{"type":38,"value":58},{"type":38,"value":826}," se usa para dedup en cada una, la atribución cross-platform se mantiene consistente.",{"type":33,"tag":34,"props":828,"children":829},{},[830,832,841],{"type":38,"value":831},"El stack Meta CAPI + sGTM es ahora la base de tu infraestructura de ",{"type":33,"tag":833,"props":834,"children":838},"a",{"href":835,"rel":836},"https:\u002F\u002Fwww.roibase.com.tr\u002Fes\u002Fppc",[837],"nofollow",[839],{"type":38,"value":840},"marketing de rendimiento",{"type":38,"value":842},". Compensa la pérdida de señal, eleva EMQ, restaura la optimización del algoritmo. Es la única ruta engineering para atravesar la barrera de privacidad de iOS.",{"type":33,"tag":844,"props":845,"children":846},"style",{},[847],{"type":38,"value":848},"html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}",{"title":17,"searchDepth":332,"depth":332,"links":850},[851,852,855,856,857,858],{"id":43,"depth":306,"text":46},{"id":73,"depth":306,"text":76,"children":853},[854],{"id":125,"depth":332,"text":128},{"id":172,"depth":306,"text":175},{"id":646,"depth":306,"text":649},{"id":667,"depth":306,"text":670},{"id":811,"depth":306,"text":814},"markdown","content:es:marketing:conversiones-server-side-meta-capi-configuracion-correcta.md","content","es\u002Fmarketing\u002Fconversiones-server-side-meta-capi-configuracion-correcta.md","es\u002Fmarketing\u002Fconversiones-server-side-meta-capi-configuracion-correcta","md",1785967481933]