mirror of
https://github.com/mintlify/docs.git
synced 2026-09-14 13:35:46 +08:00
fbdd913d8e
* Add translation tracker for stale translations audit Generated-By: mintlify-agent * translations: add missing pages and update content for es, fr, zh Phase 1: Add translations for 4 new API analytics pages (feedback-by-page, searches, views, visitors) in es, fr, and zh. Phase 2: Update 3 pages with content changes: - agent/workflows: add "Disable a workflow" subsection - ai/skillmd: add 24-hour generation note - editor/publish: add AI PR title tip, reformat publishing workflows, promote "Publish your changes" heading from h3 to h2 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * update descriptions * translations * translations * translations * Delete TRANSLATION_TRACKER.md * translations * a * a * translations * translations * translations * translations * translations * translations * translations * translations * Update use-cases.mdx * translations * translations * Update ai-native.mdx * Update accordions.mdx * Update accordions.mdx * Update accordions.mdx * translations * translations * Update fonts.mdx * translations * translations: update SEO descriptions for es, fr, zh (150 pages) Update the description: frontmatter field across 150 pages × 3 languages to match the current English descriptions updated on 2026-03-31. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> --------- Co-authored-by: mintlify[bot] <109931778+mintlify[bot]@users.noreply.github.com> Co-authored-by: Ethan Palm <56270045+ethanpalm@users.noreply.github.com> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
65 lines
2.2 KiB
Plaintext
65 lines
2.2 KiB
Plaintext
---
|
|
title: "PostHog"
|
|
description: "Integra PostHog con tu sitio de documentación de Mintlify para rastrear análisis de producto, uso de funcionalidades y comportamiento de usuarios con tu clave de API."
|
|
keywords: ["PostHog integration", "product analytics", "feature flags", "self-hosted PostHog"]
|
|
---
|
|
|
|
Añade lo siguiente a tu archivo `docs.json` para enviar Analytics a PostHog.
|
|
|
|
Solo necesitas incluir `apiHost` si alojas PostHog por tu cuenta. De forma predeterminada enviamos eventos a `https://app.posthog.com`.
|
|
|
|
<CodeGroup>
|
|
|
|
```json Opciones de Analytics en docs.json
|
|
"integrations": {
|
|
"posthog": {
|
|
"apiKey": "YOUR_POSTHOG_PROJECT_API_KEY",
|
|
"apiHost": "optional",
|
|
"sessionRecording": true
|
|
}
|
|
}
|
|
```
|
|
|
|
```json Ejemplo
|
|
"integrations": {
|
|
"posthog": {
|
|
"apiKey": "phc_TXdpocbYTeZVm5VJmMzHTMrCofBQu3e0kN7HGMNGTVW"
|
|
}
|
|
}
|
|
```
|
|
|
|
</CodeGroup>
|
|
|
|
<div id="configuration-options">
|
|
### Opciones de configuración
|
|
</div>
|
|
|
|
<ParamField path="apiKey" type="string" required>
|
|
La API key de tu proyecto de PostHog. Debe empezar con `phc_`.
|
|
</ParamField>
|
|
|
|
<ParamField path="apiHost" type="string">
|
|
La URL de tu instancia de PostHog. Solo es Obligatorio si alojas PostHog por tu cuenta. De forma predeterminada es `https://app.posthog.com`.
|
|
</ParamField>
|
|
|
|
<ParamField path="sessionRecording" type="boolean" default="true">
|
|
Activa o desactiva la grabación de sesiones. Establécelo en `false` para desactivar las grabaciones de sesiones y mantener Analytics habilitado.
|
|
</ParamField>
|
|
|
|
<div id="session-recordings">
|
|
## Grabaciones de sesiones
|
|
</div>
|
|
|
|
Las grabaciones de sesiones se habilitan de forma predeterminada al configurar PostHog. Para desactivar las grabaciones de sesiones y mantener Analytics habilitado, establece `sessionRecording` en `false` en tu configuración.
|
|
|
|
```json Disable session recordings
|
|
"integrations": {
|
|
"posthog": {
|
|
"apiKey": "phc_your-key",
|
|
"sessionRecording": false
|
|
}
|
|
}
|
|
```
|
|
|
|
Debes agregar la URL de tu sitio de documentación a la sección "Authorized domains for recordings" de PostHog antes de poder recibir grabaciones de sesión. La opción para agregar tu URL se encuentra en la configuración del proyecto de PostHog.
|