From 05c7d60d8d894ef9442be055126c0d60550dca6b Mon Sep 17 00:00:00 2001 From: ayush-billore Date: Wed, 13 Dec 2023 16:08:36 +0530 Subject: [PATCH] add docs changes for feature flag and gtm_id Signed-off-by: ayush-billore --- .../supermarket/config_rb_supermarket.md | 27 ++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/docs-chef-io/content/supermarket/config_rb_supermarket.md b/docs-chef-io/content/supermarket/config_rb_supermarket.md index 15224784d7..4ba035b9ef 100644 --- a/docs-chef-io/content/supermarket/config_rb_supermarket.md +++ b/docs-chef-io/content/supermarket/config_rb_supermarket.md @@ -252,12 +252,37 @@ Use these settings to integrate Supermarket with GitHub Enterprise. ### Google Analytics -Use this setting to set up [Google Analytics](https://analytics.google.com) tracking for Supermarket: +Use this setting to set up [Google Analytics with GTag](https://analytics.google.com) tracking for Supermarket: + +`default['supermarket']['enable_gtag']` + +: The Google tag feature flag's default value: false. `default['supermarket']['google_analytics_id']` : The Google Analytics [tracking ID](https://support.google.com/analytics/answer/7372977?hl=en) for Supermarket. Default value: `nil`. + +### Onetrust + +Use this setting to enable [Onetrust](www.onetrust.com) cookie consent verification for Supermarket: + +`default['supermarket']['enable_onetrust']` + +: The Onetrust consent flag's default value: false. + +### Google Tag Manager + +Use this setting to enable [Google Tag Manager](https://tagmanager.google.com/) for Supermarket: + +`default['supermarket']['enable_gtm']` + +: The Google tag manager feature flag's default value: false. + +`default['supermarket']['gtm_id']` + +: The Google Tag Manager [container ID](https://support.google.com/tagmanager/answer/6103696?hl=en) for Supermarket. Default value: nil. + ### Nginx This configuration file has the following settings for nginx: