build
All checks were successful
Build & Deploy KLZ Cables / build-and-deploy (push) Successful in 3m30s
All checks were successful
Build & Deploy KLZ Cables / build-and-deploy (push) Successful in 3m30s
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
import type { AnalyticsEventProperties, AnalyticsService } from './analytics-service';
|
||||
import { getServerAppServices } from '../create-services.server';
|
||||
|
||||
/**
|
||||
* Type definition for the Umami global object.
|
||||
@@ -75,6 +74,7 @@ export class UmamiAnalyticsService implements AnalyticsService {
|
||||
|
||||
// Server-side tracking via proxy
|
||||
if (typeof window === 'undefined') {
|
||||
const { getServerAppServices } = require('../create-services.server');
|
||||
const websiteId = process.env.NEXT_PUBLIC_UMAMI_WEBSITE_ID;
|
||||
const umamiUrl = process.env.NEXT_PUBLIC_UMAMI_SCRIPT_URL?.replace('/script.js', '') || 'https://analytics.infra.mintel.me';
|
||||
|
||||
@@ -122,6 +122,7 @@ export class UmamiAnalyticsService implements AnalyticsService {
|
||||
|
||||
// Server-side tracking via proxy
|
||||
if (typeof window === 'undefined') {
|
||||
const { getServerAppServices } = require('../create-services.server');
|
||||
const websiteId = process.env.NEXT_PUBLIC_UMAMI_WEBSITE_ID;
|
||||
const umamiUrl = process.env.NEXT_PUBLIC_UMAMI_SCRIPT_URL?.replace('/script.js', '') || 'https://analytics.infra.mintel.me';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user