You are here

google_tag.schema.yml in GoogleTagManager 8

config/schema/google_tag.schema.yml

File

config/schema/google_tag.schema.yml
View source
  1. google_tag.settings:
  2. type: config_object
  3. label: 'Module settings and default container settings'
  4. mapping:
  5. uri:
  6. type: string
  7. label: 'Snippet base URI'
  8. compact_snippet:
  9. type: boolean
  10. label: 'Compact the JavaScript snippet'
  11. include_file:
  12. type: boolean
  13. label: 'Include the snippet as a file'
  14. rebuild_snippets:
  15. type: boolean
  16. label: 'Recreate snippets on cache rebuild'
  17. flush_snippets:
  18. type: boolean
  19. label: 'Recreate snippet directory on cache rebuild'
  20. debug_output:
  21. type: boolean
  22. label: 'Show debug output'
  23. _default_container:
  24. type: _google_tag_container
  25. google_tag.container.*:
  26. type: config_entity
  27. label: 'Container settings'
  28. mapping:
  29. id:
  30. type: string
  31. label: 'ID'
  32. label:
  33. type: label
  34. label: 'Label'
  35. weight:
  36. type: integer
  37. label: 'Weight'
  38. #_container:
  39. #type: _google_tag_container
  40. container_id:
  41. type: string
  42. label: 'Container ID'
  43. #translatable: true
  44. data_layer:
  45. type: string
  46. label: 'Data layer'
  47. #translatable: true
  48. include_classes:
  49. type: boolean
  50. label: 'Add classes to the data layer'
  51. whitelist_classes:
  52. type: string
  53. label: 'White-listed classes'
  54. #translatable: true
  55. blacklist_classes:
  56. type: string
  57. label: 'Black-listed classes'
  58. #translatable: true
  59. include_environment:
  60. type: boolean
  61. label: 'Include an environment'
  62. environment_id:
  63. type: string
  64. label: 'Environment ID'
  65. #translatable: true
  66. environment_token:
  67. type: string
  68. label: 'Environment token'
  69. #translatable: true
  70. path_toggle:
  71. type: string
  72. label: 'Add snippet on specific paths'
  73. #translatable: true
  74. path_list:
  75. type: string
  76. label: 'Listed paths'
  77. #translatable: true
  78. role_toggle:
  79. type: string
  80. label: 'Add snippet for specific roles'
  81. #translatable: true
  82. role_list:
  83. type: sequence
  84. label: 'Selected roles'
  85. sequence:
  86. type: string
  87. label: 'Role'
  88. #translatable: true
  89. status_toggle:
  90. type: string
  91. label: 'Add snippet for specific statuses'
  92. #translatable: true
  93. status_list:
  94. type: string
  95. label: 'Listed statuses'
  96. #translatable: true
  97. conditions:
  98. type: sequence
  99. label: 'Insertion conditions'
  100. sequence:
  101. type: condition.plugin.[id]
  102. label: 'Insertion condition'