This repository was archived by the owner on Feb 17, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed
Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -72,6 +72,7 @@ Then edit `analytics.php` in `config` to your needs. We do config merge in the s
7272<dt >anonymize_ip</dt ><dd >anonymize users ip, possible values: <code >(true|false)</code ></dd >
7373<dt >auto_track</dt ><dd >auto tracking current pageview, possible values: <code >(true|false)</code ></dd >
7474<dt >debug</dt ><dd >enabling the debug mode, possible values: <code >(true|false)</code ></dd >
75+ <dt >optimize_id</dt ><dd >enabling the optimze feature of [Google Analytics](https://support.google.com/optimize/answer/6262084)</dd >
7576</dl >
7677
7778### Environment-based Configuration
@@ -87,6 +88,7 @@ Here is the mapping of configuration value and the environment-based names:
8788<dt >anonymize_ip</dt ><dd >ANALYTICS_ANONYMIZE_IP (true)</dd >
8889<dt >auto_track</dt ><dd >ANALYTICS_AUTO_TRACK (true)</dd >
8990<dt >debug</dt ><dd >ANALYTICS_DEBUG (true on local environment)</dd >
91+ <dt >optimize_id</dt ><dd >ANALYTICS_OPTIMIZE_ID</dd >
9092</dl >
9193
9294This behaviour was integrated with version 1.3.2.
@@ -577,3 +579,16 @@ Returns the nonce generated for the Content Security Policy Header.
577579 public function cspNonce();
578580
579581Available since 1.3.0.
582+
583+ ### Analytics::setOptimizeId()
584+
585+ /**
586+ * set a custom optimize ID (the GTM-XXXXXX code)
587+ *
588+ * @param string $optimizeId
589+ *
590+ * @return AnalyticsProviderInterface
591+ */
592+ public function setOptimizeId($optimizeId);
593+
594+ Available sind 1.6.0.
You can’t perform that action at this time.
0 commit comments