From 5679c6205fe6785b4bd1bec26a217b25c7d6b515 Mon Sep 17 00:00:00 2001 From: Matt Godbolt Date: Sat, 24 Feb 2024 16:40:17 -0600 Subject: [PATCH] Maybe? --- utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils.js b/utils.js index 2bdc511..9396a56 100644 --- a/utils.js +++ b/utils.js @@ -791,7 +791,7 @@ export function noteEvent(category, type, label) { if (!runningInNode && window.location.host.endsWith(".godbolt.org")) { // Only note events on the public site /*global gtag*/ - gtag("send", "event", category, type, label); + gtag("event", category, { type, label }); } console.log("event noted:", category, type, label); }