"use strict";(self.webpackChunkgrafana=self.webpackChunkgrafana||[]).push([[3501],{93501:(w,g,e)=>{e.d(g,{GA4EchoBackend:()=>o});var i=e(3353),s=e(87851);class o{constructor(a){this.options=a,this.supportedEvents=[i.on.Pageview],this.googleAnalytics4SendManualPageViews=!1,this.addEvent=t=>{window.gtag&&this.googleAnalytics4SendManualPageViews&&window.gtag("event","page_view",{page_path:t.payload.page})},this.flush=()=>{};const d=`https://www.googletagmanager.com/gtag/js?id=${a.googleAnalyticsId}`;(0,s.k0)(d,!0),window.dataLayer=window.dataLayer||[],window.gtag=function(){window.dataLayer.push(arguments)},window.gtag("js",new Date);const n={page_path:window.location.pathname};a.user&&(n.user_id=a.user.analytics.identifier),this.googleAnalytics4SendManualPageViews=a.googleAnalytics4SendManualPageViews,window.gtag("config",a.googleAnalyticsId,n)}}}}]);

//# sourceMappingURL=3501.8ea175ad599f7458003c.js.map