From 46cb96fbce76e750430560a74b5fe7987444cc2a Mon Sep 17 00:00:00 2001 From: NilsUeter Date: Fri, 12 May 2023 16:29:27 +0200 Subject: [PATCH] add basic tracking --- index.html | 22 ++++++++++++++++++++++ src/App.jsx | 4 ++++ 2 files changed, 26 insertions(+) diff --git a/index.html b/index.html index f63d404..8ddd28d 100644 --- a/index.html +++ b/index.html @@ -14,6 +14,28 @@ href="https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400;500;600;700;800;900&display=swap" rel="stylesheet" /> +
diff --git a/src/App.jsx b/src/App.jsx index 18035b0..6a6068e 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -81,6 +81,10 @@ function App() { if (roster && roster.forces.length > 0) { setRoster(roster); setError(""); + smartlook("track", "loadRoster", { + name: rosterName, + faction: roster.forces[0].catalog, + }); } } else { setError("No support for game type '" + gameType + "'.");