Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion assets/static/js/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,8 @@ const init = (): void => {
// Report which player is showing this, and how it is set up. A static app can only
// profile from the user agent and referrer; the Worker apps additionally read
// X-Requested-With, the only signal that names an Android WebView vendor.
trackPlayer(detectPlayer(), { app: 'timer', config: timerConfig() })
trackPlayer(detectPlayer(), { app: 'timer', sendPageView: true,
config: timerConfig() })
render()
}

Expand Down
4 changes: 2 additions & 2 deletions bun.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@
dataLayer.push(arguments)
}
gtag('js', new Date())
gtag('config', 'G-3V92EN0SBN')
// The automatic page view is suppressed because it fires before main.js can
// profile the player, so it would carry no player fields. trackPlayer sends it
// instead, once the profile is known (sendPageView: true). Set both or neither.
gtag('config', 'G-3V92EN0SBN', { send_page_view: false })
</script>
<title>Timer</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
},
"license": "AGPL-3.0-only",
"dependencies": {
"@screenly-labs/signage-kit": "github:Screenly-Labs/signage-kit#2026.8.6"
"@screenly-labs/signage-kit": "github:Screenly-Labs/signage-kit#2026.8.10"
},
"devDependencies": {
"@biomejs/biome": "^2.5.7",
Expand Down