You are here

google_analytics.schema.yml in Google Analytics 8.2

config/schema/google_analytics.schema.yml

File

config/schema/google_analytics.schema.yml
View source
  1. # Schema for the configuration files of the google_analytics module.
  2. google_analytics.settings:
  3. type: config_object
  4. label: 'Google Analytics settings'
  5. mapping:
  6. account:
  7. type: string
  8. label: 'Web Property ID'
  9. premium:
  10. type: boolean
  11. label: 'Premium account'
  12. domain_mode:
  13. type: integer
  14. label: 'What are you tracking?'
  15. cross_domains:
  16. type: string
  17. label: 'List of top-level domains'
  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. outbound:
  45. type: boolean
  46. label: 'Track clicks on outbound links'
  47. mailto:
  48. type: boolean
  49. label: 'Track clicks on mailto links'
  50. files:
  51. type: boolean
  52. label: 'Track downloads'
  53. files_extensions:
  54. type: string
  55. label: 'File extension list'
  56. colorbox:
  57. type: boolean
  58. label: 'Track content in colorbox modal dialogs'
  59. linkid:
  60. type: boolean
  61. label: 'Enable enhanced link attribution'
  62. urlfragments:
  63. type: boolean
  64. label: 'Track changing URL fragments as pageviews'
  65. userid:
  66. type: boolean
  67. label: 'Track User ID'
  68. messages:
  69. type: sequence
  70. label: 'Track messages of type'
  71. sequence:
  72. type: string
  73. label: 'Message type'
  74. site_search:
  75. type: boolean
  76. label: 'Track internal search'
  77. adsense:
  78. type: boolean
  79. label: 'Track AdSense ads'
  80. displayfeatures:
  81. type: boolean
  82. label: 'Track display features'
  83. privacy:
  84. type: mapping
  85. label: 'Privacy'
  86. mapping:
  87. anonymizeip:
  88. type: boolean
  89. label: 'Anonymize visitors IP address'
  90. custom:
  91. type: mapping
  92. label: 'Custom variables'
  93. mapping:
  94. dimension:
  95. type: sequence
  96. label: 'Custom dimensions'
  97. sequence:
  98. type: mapping
  99. label: 'Dimension'
  100. mapping:
  101. index:
  102. type: integer
  103. label: Index
  104. value:
  105. type: string
  106. label: Value
  107. metric:
  108. type: sequence
  109. label: 'Custom metrics'
  110. sequence:
  111. type: mapping
  112. label: 'Metric'
  113. mapping:
  114. index:
  115. type: integer
  116. label: Index
  117. value:
  118. type: string
  119. label: Value
  120. codesnippet:
  121. type: mapping
  122. label: 'Custom code snippets'
  123. mapping:
  124. create:
  125. type: sequence
  126. label: 'Create only fields'
  127. sequence:
  128. type: ignore
  129. label: 'Create field'
  130. before:
  131. type: string
  132. label: 'Code snippet (before)'
  133. after:
  134. type: string
  135. label: 'Code snippet (after)'
  136. translation_set:
  137. type: boolean
  138. label: 'Track translation sets as one unit'
  139. cache:
  140. type: boolean
  141. label: 'Locally cache tracking code file'
  142. debug:
  143. type: boolean
  144. label: 'Load debugging code of Google Universal Analytics'