Aprende SSJS, AMPscript, SQL y más con ejemplos reales, snippets listos para copiar y desafíos interactivos al estilo arcade.
Learn SSJS, AMPscript, SQL and more with real examples, ready-to-copy snippets and interactive arcade-style challenges.
Usa Platform.Function.ParseJSON() en lugar de JSON.parse() — es nativo de SFMC y más estable en Cloud Pages.
Use Platform.Function.ParseJSON() instead of JSON.parse() — it's native to SFMC and more stable in Cloud Pages.
Siempre usa EMPTY() para verificar si una variable está vacía en lugar de compararla con "" — evita errores silenciosos.
Always use EMPTY() to check if a variable is blank instead of comparing to "" — avoids silent errors.
Las Data Views solo retienen datos de los últimos 6 meses. Para un historial mayor, crea un Query Activity que respalde los datos en tu propia DE periódicamente.
Data Views only retain data for the last 6 months. For longer history, create a Query Activity that backs up data to your own DE periodically.
Siempre añade una actividad Send Email de notificación al final de automatizaciones críticas. Si falla antes de llegar ahí, lo sabrás de inmediato.
Always add a notification Send Email activity at the end of critical automations. If it fails before reaching it, you'll know immediately.
Siempre prueba un Journey usando Test Mode antes de activarlo en producción. Esto valida las rutas de decisión sin enviar emails reales.
Always test a Journey using Test Mode before activating in production. This validates decision paths without sending real emails.
Usa Request.GetQueryStringParameter() en SSJS para leer de forma segura parámetros URL en Cloud Pages.
Use Request.GetQueryStringParameter() in SSJS to safely read URL parameters in Cloud Pages.