Skip to content

Commit 36b752f

Browse files
authored
Fix build
1 parent 78d9752 commit 36b752f

1 file changed

Lines changed: 0 additions & 11 deletions

File tree

src/Blazor.Analytics/GoogleAnalytics/Resources/GoogleAnalyticsInterop.ts

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -38,17 +38,6 @@ namespace GoogleAnalyticsInterop
3838
console.log(`[GTAG][${trackingId}] Navigated: '${href}'`);
3939
}
4040

41-
export function trackEvent(trackingId: string, eventName: string, eventValue: string, eventCategory: string): void
42-
{
43-
gtag("event", eventName, {
44-
send_to: trackingId,
45-
value: eventValue,
46-
event_category: eventCategory,
47-
});
48-
49-
console.log(`[GTAG][${trackingId}] Event: '${eventName}'`);
50-
}
51-
5241
export function trackEvent(event: string, eventCategory: string, eventLabel: string, eventValue: string)
5342
{
5443
gtag("event", event, { event_category: eventCategory, event_label: eventLabel, value: eventValue });

0 commit comments

Comments
 (0)