matomo.schema.yml 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  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. custom:
  76. type: mapping
  77. label: 'Custom variables'
  78. mapping:
  79. variable:
  80. type: sequence
  81. label: 'Custom variable'
  82. sequence:
  83. type: mapping
  84. label: 'Variable'
  85. mapping:
  86. slot:
  87. type: integer
  88. label: 'Slot number'
  89. name:
  90. type: string
  91. label: 'The custom variable name.'
  92. value:
  93. type: string
  94. label: 'The custom variable value.'
  95. scope:
  96. type: string
  97. label: 'The scope for the custom variable.'
  98. codesnippet:
  99. type: mapping
  100. label: 'Custom code snippets'
  101. mapping:
  102. before:
  103. type: string
  104. label: 'Code snippet (before)'
  105. after:
  106. type: string
  107. label: 'Code snippet (after)'
  108. translation_set:
  109. type: boolean
  110. label: 'Track translation sets as one unit'
  111. cache:
  112. type: boolean
  113. label: 'Locally cache tracking code file'
  114. page_title_hierarchy:
  115. type: boolean
  116. label: 'Show page titles as hierarchy like breadcrumbs'
  117. page_title_hierarchy_exclude_home:
  118. type: boolean
  119. label: 'Hide home page from hierarchy'