Guía de Integración de Widgets para Editores
Documentación paso a paso sobre cómo integrar Monitores de Ofertas, Indicadores de Valor y Widgets de Comparación en WordPress, Ghost y CMS personalizados.
Guía de Integración de Widgets para Editores
The Comparator ofrece widgets interactivos y ligeros de valor de hardware que los editores pueden integrar directamente en sus análisis y guías de compra de tecnología.
1. Tipos de Widgets y Casos de Uso
| Tipo de Widget | Ubicación Ideal en el Artículo | Qué Muestra | Enlace de Demostración |
|---|---|---|---|
| Monitor de Ofertas | Ficha de análisis de producto | Precio mínimo de mercado en vivo, stock, tendencia a 30 días | Ver Demo |
| Indicador de Valor | Sección de conclusión / veredicto | Calibrador de Puntuación de Valor (0-100) relativo al mercado | Ver Demo |
| Comparación Directa | Artículos de enfrentamientos cara a cara | Tabla comparativa de especificaciones y veredicto ganador | Ver Demo |
2. Integración Estándar mediante iFrame
Pega el código de iFrame adaptativo directamente en el bloque HTML de tu editor de artículos:
<!-- Widget Monitor de Ofertas de The Comparator -->
<iframe src="https://thecomparator.tech/embed/deal-ryzen-7-9800x3d.html"
width="100%"
height="450"
frameborder="0"
scrolling="no"
loading="lazy"
title="AMD Ryzen 7 9800X3D — Precios y Puntuación de Valor">
</iframe>
3. Instrucciones Específicas por CMS
WordPress (Editor Gutenberg)
- Añade un bloque de HTML Personalizado en tu artículo.
- Pega el fragmento
<iframe>mostrado arriba. - Guarda o publica tu artículo.
Ghost CMS
- Haz clic en el icono
+del editor de Ghost y selecciona HTML Card. - Pega el fragmento
<iframe>.
Webflow / Plataformas Personalizadas
Pega el código dentro de un componente de Embed.
4. Personalización de Parámetros del Widget
Puedes pasar parámetros de consulta en la URL para personalizar el comportamiento del widget:
theme=darkotheme=light: Fuerza un esquema de color específico.currency=USD: Especifica la moneda del mercado.subid=tu_etiqueta_editorial: Añade tu etiqueta de seguimiento de afiliados personalizada.
Ejemplo:
<iframe src="https://thecomparator.tech/embed/deal-ryzen-7-9800x3d.html?theme=dark&subid=techblog_analisis_2026" ...></iframe>
Widget Embed Guide for Publishers
The Comparator provides lightweight, interactive hardware value widgets that publishers can embed directly into tech reviews and buyer guides.
1. Widget Types & Use Cases
| Widget Type | Ideal Article Placement | What It Displays | Preview Link |
|---|---|---|---|
| Deal Monitor | Product Review Cards | Live lowest market price, stock status, 30-day price trend | View Demo |
| Value Meter | Conclusion / Verdict Section | Algorithmic $0-100$ Value Score gauge relative to market | View Demo |
| Versus Comparison | Head-to-Head Comparison Articles | Side-by-side spec comparison table & winner verdict | View Demo |
2. Standard iFrame Embedding
Paste the standard responsive iFrame code directly into your article editor HTML block:
<!-- The Comparator Deal Monitor Widget -->
<iframe src="https://thecomparator.tech/embed/deal-ryzen-7-9800x3d.html"
width="100%"
height="450"
frameborder="0"
scrolling="no"
loading="lazy"
title="AMD Ryzen 7 9800X3D — Price Snapshot & Value Score">
</iframe>
3. CMS Platform Specific Instructions
WordPress (Gutenberg Editor)
- Add a Custom HTML block inside your post editor.
- Paste the
<iframe>snippet above. - Save or publish your article.
Ghost CMS
- Click the
+icon in the Ghost editor and select HTML Card. - Paste the
<iframe>snippet.
Webflow / Custom Platforms
Paste the code inside an Embed Component.
4. Customizing Widget Parameters
You can pass URL query parameters to customize widget behavior:
theme=darkortheme=light: Force specific color scheme.currency=USD: Specify market currency.subid=your_publisher_tag: Attach your custom affiliate tracking tag.
Example:
<iframe src="https://thecomparator.tech/embed/deal-ryzen-7-9800x3d.html?theme=dark&subid=techblog_review_2026" ...></iframe>