SCRUM-196: GA4 analytics config for fulfillr Traffic & funnel tab #11
@@ -327,5 +327,5 @@ cifs_watchdog_mounts:
|
|||||||
- "{{ photos_path }}/immich"
|
- "{{ photos_path }}/immich"
|
||||||
|
|
||||||
# GA4 property for the fulfillr portal Traffic & funnel tab (SCRUM-196, non-secret).
|
# GA4 property for the fulfillr portal Traffic & funnel tab (SCRUM-196, non-secret).
|
||||||
# Shared by dev and prod. The service-account key `fulfillr_ga4_credentials` lives in the vault.
|
# Shared by dev and prod. The service-account key `fulfillr_ga4_credentials_json` lives in the vault.
|
||||||
fulfillr_ga4_property_id: "353859448"
|
fulfillr_ga4_property_id: "353859448"
|
||||||
|
|||||||
@@ -53,13 +53,13 @@
|
|||||||
"recovery": {
|
"recovery": {
|
||||||
"schedule_name": "cart-recovery-dev",
|
"schedule_name": "cart-recovery-dev",
|
||||||
"schedule_group": "default"
|
"schedule_group": "default"
|
||||||
}{%- if fulfillr_ga4_credentials is defined %},
|
}{%- if fulfillr_ga4_credentials_json is defined %},
|
||||||
{# GA4 Data API for the portal Traffic & funnel tab (SCRUM-196). Renders only once the
|
{# GA4 Data API for the portal Traffic & funnel tab (SCRUM-196). Renders only once the
|
||||||
service-account key `fulfillr_ga4_credentials` (the key JSON, as a mapping or string)
|
service-account key `fulfillr_ga4_credentials_json` (the key JSON, as a mapping or string)
|
||||||
is in the vault; without it the traffic endpoint reports configured:false. #}
|
is in the vault; without it the traffic endpoint reports configured:false. #}
|
||||||
"analytics": {
|
"analytics": {
|
||||||
"ga4_property_id": "{{ fulfillr_ga4_property_id }}",
|
"ga4_property_id": "{{ fulfillr_ga4_property_id }}",
|
||||||
"ga4_credentials": {{ (fulfillr_ga4_credentials if fulfillr_ga4_credentials is mapping else (fulfillr_ga4_credentials | from_json)) | to_json }}
|
"ga4_credentials": {{ (fulfillr_ga4_credentials_json if fulfillr_ga4_credentials_json is mapping else (fulfillr_ga4_credentials_json | from_json)) | to_json }}
|
||||||
}
|
}
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -53,13 +53,13 @@
|
|||||||
"recovery": {
|
"recovery": {
|
||||||
"schedule_name": "cart-recovery-prod",
|
"schedule_name": "cart-recovery-prod",
|
||||||
"schedule_group": "default"
|
"schedule_group": "default"
|
||||||
}{%- if fulfillr_ga4_credentials is defined %},
|
}{%- if fulfillr_ga4_credentials_json is defined %},
|
||||||
{# GA4 Data API for the portal Traffic & funnel tab (SCRUM-196). Renders only once the
|
{# GA4 Data API for the portal Traffic & funnel tab (SCRUM-196). Renders only once the
|
||||||
service-account key `fulfillr_ga4_credentials` (the key JSON, as a mapping or string)
|
service-account key `fulfillr_ga4_credentials_json` (the key JSON, as a mapping or string)
|
||||||
is in the vault; without it the traffic endpoint reports configured:false. #}
|
is in the vault; without it the traffic endpoint reports configured:false. #}
|
||||||
"analytics": {
|
"analytics": {
|
||||||
"ga4_property_id": "{{ fulfillr_ga4_property_id }}",
|
"ga4_property_id": "{{ fulfillr_ga4_property_id }}",
|
||||||
"ga4_credentials": {{ (fulfillr_ga4_credentials if fulfillr_ga4_credentials is mapping else (fulfillr_ga4_credentials | from_json)) | to_json }}
|
"ga4_credentials": {{ (fulfillr_ga4_credentials_json if fulfillr_ga4_credentials_json is mapping else (fulfillr_ga4_credentials_json | from_json)) | to_json }}
|
||||||
}
|
}
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user