Skip to content

Commit

Permalink
feat: gtm analytics for static docs (#44)
Browse files Browse the repository at this point in the history
* Update settings.md

Add GTM analytics settings for static

* Update settings.md
  • Loading branch information
goshander authored Aug 5, 2024
1 parent f7ffc1b commit 2ae05ec
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions en/settings.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,7 @@ Standard YFM settings are listed below. Depending on the tool you use, you can c
`needToSanitizeHtml` | Need to sanitize the generated HTML | `bool` | `true`
`sanitizeOptions` | Sanitizer configuration | `Object` | `undefined`
`linkifyTlds` | Allow set tld for the linkify plugin | `string \| string[]` | `undefined`
`analytics` | Analytics module configuration | `Object` | `undefined`
`analytics.gtm` | Options for Google Tag Manager analytics | `Object` | `undefined`
`analytics.gtm.id` | ID of Google Tag Manager at format GTM-* | `string` | `undefined`
`analytics.gtm.mode` | Notification type before analytics events start being sent `base` or `notification` | `string` | `base`
6 changes: 5 additions & 1 deletion ru/settings.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,8 @@
`lang` | Язык локализации дефолтных текстов | `string` | `ru`
`needToSanitizeHtml` | Нужно ли санитайзить сгенерированный HTML | `bool` | `true`
`sanitizeOptions` | Конфигурация санитайзера | `Object` | `undefined`
`linkifyTlds` | Настройка tld для плагина linkify | `string \| string[]` | `undefined`
`linkifyTlds` | Настройка tld для плагина linkify | `string \| string[]` | `undefined`
`analytics` | Конфигурация для модуля аналитки | `Object` | `undefined`
`analytics.gtm` | Настройки Google Tag Manager аналитики | `Object` | `undefined`
`analytics.gtm.id` | Идентификатор Google Tag Manager в формате GTM-* | `string` | `undefined`
`analytics.gtm.mode` | Тип уведомления перед отправкой событий `base` или `notification` | `string` | `base`

0 comments on commit 2ae05ec

Please sign in to comment.