diff --git a/README.md b/README.md index 62e3e7d..ae3ebbf 100644 --- a/README.md +++ b/README.md @@ -72,6 +72,7 @@ Then edit `analytics.php` in `config` to your needs. We do config merge in the s
anonymize_ip
anonymize users ip, possible values: (true|false)
auto_track
auto tracking current pageview, possible values: (true|false)
debug
enabling the debug mode, possible values: (true|false)
+
optimize_id
enabling the optimze feature of [Google Analytics](https://support.google.com/optimize/answer/6262084)
### Environment-based Configuration @@ -87,6 +88,7 @@ Here is the mapping of configuration value and the environment-based names:
anonymize_ip
ANALYTICS_ANONYMIZE_IP (true)
auto_track
ANALYTICS_AUTO_TRACK (true)
debug
ANALYTICS_DEBUG (true on local environment)
+
optimize_id
ANALYTICS_OPTIMIZE_ID
This behaviour was integrated with version 1.3.2. @@ -577,3 +579,16 @@ Returns the nonce generated for the Content Security Policy Header. public function cspNonce(); Available since 1.3.0. + +### Analytics::setOptimizeId() + + /** + * set a custom optimize ID (the GTM-XXXXXX code) + * + * @param string $optimizeId + * + * @return AnalyticsProviderInterface + */ + public function setOptimizeId($optimizeId); + +Available sind 1.6.0.