Fix Plausible custom event tracking with data-api attribute
Proxied Plausible scripts need explicit data-api to know where to POST events. Without it, API host auto-detection fails. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
3a457b362b
commit
579f98fb20
1 changed files with 1 additions and 1 deletions
|
|
@ -18,7 +18,7 @@
|
|||
<link href="https://fonts.googleapis.com/css2?family=Anybody:wght@400;700;900&family=IBM+Plex+Mono:wght@400;600&display=swap" rel="stylesheet">
|
||||
<link rel="stylesheet" id="app-css" href="style.css">
|
||||
<!-- Privacy-friendly analytics by Plausible (proxied via /implausibly/) -->
|
||||
<script async src="/implausibly/js/pa-PsYdseBlB0-XWi0fXEZ3j.js"></script>
|
||||
<script async src="/implausibly/js/pa-PsYdseBlB0-XWi0fXEZ3j.js" data-api="/implausibly/api/event"></script>
|
||||
<script>
|
||||
window.plausible=window.plausible||function(){(plausible.q=plausible.q||[]).push(arguments)},plausible.init=plausible.init||function(i){plausible.o=i||{}};
|
||||
plausible.init({apiHost:"/implausibly"})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue