Echo: Add support for Google Analytics 4 (#55446)
* user essentials mob! 🔱 lastFile:public/app/core/services/echo/backends/analytics/GA4Backend.ts * user essentials mob! 🔱 * user essentials mob! 🔱 lastFile:public/app/core/services/echo/backends/analytics/GA4Backend.ts * user essentials mob! 🔱 lastFile:public/app/core/services/echo/backends/analytics/GA4Backend.ts * user essentials mob! 🔱 lastFile:public/app/app.ts * user essentials mob! 🔱 Co-authored-by: eledobleefe <laura.fernandez@grafana.com> Co-authored-by: Leodegario Pasakdal <leodegario.pasakdal@grafana.com>
This commit is contained in:
co-authored by
eledobleefe
Leodegario Pasakdal
parent
13146cc812
commit
d014a3a09b
@@ -12,6 +12,7 @@ type IndexViewData struct {
|
||||
AppUrl string
|
||||
AppSubUrl string
|
||||
GoogleAnalyticsId string
|
||||
GoogleAnalytics4Id string
|
||||
GoogleTagManagerId string
|
||||
NavTree []*NavLink
|
||||
BuildVersion string
|
||||
|
||||
@@ -117,6 +117,7 @@ func (hs *HTTPServer) getFrontendSettingsMap(c *models.ReqContext) (map[string]i
|
||||
"profileEnabled": setting.ProfileEnabled,
|
||||
"queryHistoryEnabled": hs.Cfg.QueryHistoryEnabled,
|
||||
"googleAnalyticsId": setting.GoogleAnalyticsId,
|
||||
"googleAnalytics4Id": setting.GoogleAnalytics4Id,
|
||||
"rudderstackWriteKey": setting.RudderstackWriteKey,
|
||||
"rudderstackDataPlaneUrl": setting.RudderstackDataPlaneUrl,
|
||||
"rudderstackSdkUrl": setting.RudderstackSdkUrl,
|
||||
|
||||
@@ -840,6 +840,7 @@ func (hs *HTTPServer) setIndexViewData(c *models.ReqContext) (*dtos.IndexViewDat
|
||||
AppUrl: appURL,
|
||||
AppSubUrl: appSubURL,
|
||||
GoogleAnalyticsId: setting.GoogleAnalyticsId,
|
||||
GoogleAnalytics4Id: setting.GoogleAnalytics4Id,
|
||||
GoogleTagManagerId: setting.GoogleTagManagerId,
|
||||
BuildVersion: setting.BuildVersion,
|
||||
BuildCommit: setting.BuildCommit,
|
||||
|
||||
Reference in New Issue
Block a user