You are here

matomo.schema.yml in Matomo Analytics 8

config/schema/matomo.schema.yml

File

config/schema/matomo.schema.yml
View source
  1. # Schema for the configuration files of the matomo module.
  2. matomo.settings:
  3. type: config_object
  4. label: 'Matomo settings'
  5. mapping:
  6. site_id:
  7. type: string
  8. label: 'Matomo site ID'
  9. url_http:
  10. type: string
  11. label: 'Matomo HTTP URL'
  12. url_https:
  13. type: string
  14. label: 'Matomo HTTPS URL'
  15. domain_mode:
  16. type: integer
  17. label: 'What are you tracking?'
  18. visibility:
  19. type: mapping
  20. label: 'Visibility'
  21. mapping:
  22. request_path_mode:
  23. type: integer
  24. label: 'Add tracking to specific pages'
  25. request_path_pages:
  26. type: string
  27. label: 'Pages by their paths'
  28. user_role_mode:
  29. type: integer
  30. label: 'Add tracking for specific roles'
  31. user_role_roles:
  32. type: sequence
  33. label: 'Roles'
  34. sequence:
  35. type: string
  36. label: 'Role'
  37. user_account_mode:
  38. type: integer
  39. label: 'Allow users to customize tracking on their account page'
  40. track:
  41. type: mapping
  42. label: 'Links and downloads'
  43. mapping:
  44. mailto:
  45. type: boolean
  46. label: 'Track clicks on mailto links'
  47. files:
  48. type: boolean
  49. label: 'Track downloads'
  50. files_extensions:
  51. type: string
  52. label: 'File extension list'
  53. colorbox:
  54. type: boolean
  55. label: 'Track content in colorbox modal dialogs'
  56. userid:
  57. type: boolean
  58. label: 'Track User ID'
  59. messages:
  60. type: sequence
  61. label: 'Track messages of type'
  62. sequence:
  63. type: string
  64. label: 'Message type'
  65. site_search:
  66. type: boolean
  67. label: 'Track internal search'
  68. privacy:
  69. type: mapping
  70. label: 'Privacy'
  71. mapping:
  72. donottrack:
  73. type: boolean
  74. label: 'Universal web tracking opt-out'
  75. disablecookies:
  76. type: boolean
  77. label: 'Disable cookies'
  78. custom:
  79. type: mapping
  80. label: 'Custom variables'
  81. mapping:
  82. variable:
  83. type: sequence
  84. label: 'Custom variable'
  85. sequence:
  86. type: mapping
  87. label: 'Variable'
  88. mapping:
  89. slot:
  90. type: integer
  91. label: 'Slot number'
  92. name:
  93. type: string
  94. label: 'The custom variable name.'
  95. value:
  96. type: string
  97. label: 'The custom variable value.'
  98. scope:
  99. type: string
  100. label: 'The scope for the custom variable.'
  101. codesnippet:
  102. type: mapping
  103. label: 'Custom code snippets'
  104. mapping:
  105. before:
  106. type: string
  107. label: 'Code snippet (before)'
  108. after:
  109. type: string
  110. label: 'Code snippet (after)'
  111. translation_set:
  112. type: boolean
  113. label: 'Track translation sets as one unit'
  114. cache:
  115. type: boolean
  116. label: 'Locally cache tracking code file'
  117. page_title_hierarchy:
  118. type: boolean
  119. label: 'Show page titles as hierarchy like breadcrumbs'
  120. page_title_hierarchy_exclude_home:
  121. type: boolean
  122. label: 'Hide home page from hierarchy'