i have tried every code and i still can’t get it working, here’s the current script
local GA = require(script:WaitForChild("GoogleAnalyticsReport"))
GA.Init("(my TrackingID)",{
DoNotTrackServerStart=true,
DoNotTackVisitTimes=true,
DoNotTrackVisits = true,
DoNotReportScriptErrors = false
})
local Category = "Game: " .. tostring(game.PlaceId)
local Action = "Error at %s"
local Label = "Server-Error"
game.Players.PlayerAdded:Connect(function(plr)
GA.ReportEvent(Category,Action:format(plr.Name),Label,1)
end)
for i,v in pairs(game.Players:GetPlayers()) do
GA.ReportEvent(Category,Action:format(v.Name),Label,1)
end