You are here

analytics.schema.yml in Analytics 8

config/schema/analytics.schema.yml

File

config/schema/analytics.schema.yml
View source
  1. analytics.settings:
  2. type: config_object
  3. label: Settings
  4. mapping:
  5. privacy:
  6. type: mapping
  7. label: Privacy settings
  8. mapping:
  9. dnt:
  10. type: boolean
  11. disable_floc:
  12. type: boolean
  13. anonymize_ip:
  14. type: boolean
  15. cache_urls:
  16. type: boolean
  17. disable_page_build:
  18. type: boolean
  19. analytics.service.*:
  20. type: config_entity
  21. label: 'Analytics Instance'
  22. mapping:
  23. label:
  24. type: label
  25. label: 'Name'
  26. id:
  27. type: string
  28. label: 'Machine name'
  29. service:
  30. type: string
  31. label: 'Analytics service plugin ID'
  32. service_configuration:
  33. type: analytics.service_configuration.[%parent.service]
  34. weight:
  35. type: integer
  36. label: 'Weight'
  37. analytics.service_configuration:
  38. type: mapping
  39. label: 'Analytics service configuration'
  40. analytics.service_configuration.google_tag_manager:
  41. type: analytics.service_configuration
  42. label: 'Google Tag Manager service settings'
  43. mapping:
  44. container_id:
  45. type: string
  46. label: 'Container ID'
  47. data_layer:
  48. type: mapping
  49. label: 'Data layer'
  50. mapping:
  51. name:
  52. type: string
  53. label: 'Variable name'
  54. value:
  55. type: string
  56. label: 'JSON contents'
  57. optimize_anti_flicker:
  58. type: boolean
  59. label: 'Add the Optimize anti-flickr snippet'