mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-11 15:16:55 +03:00
Add Google Analytics bundle (#1530)
* Add Sylius Analytics Plugin * Use null instead of tilde * Add post install message * Add google analytics bundle * Better configuration * Fixed suggested change
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
setono_google_analytics:
|
||||
gtag:
|
||||
properties:
|
||||
- measurement_id: '%env(GOOGLE_ANALYTICS_MEASUREMENT_ID)%'
|
||||
|
||||
# If you want to use tag manager instead of gtag, just remove the lines above and enable tag_manager below
|
||||
# tag_manager:
|
||||
# containers:
|
||||
# - container_id: '%env(GOOGLE_ANALYTICS_CONTAINER_ID)%'
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"bundles": {
|
||||
"Setono\\GoogleAnalyticsBundle\\SetonoGoogleAnalyticsBundle": ["all"]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
},
|
||||
"env": {
|
||||
"GOOGLE_ANALYTICS_MEASUREMENT_ID": "YOUR_GOOGLE_ANALYTICS_MEASUREMENT_ID"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user