Add GoatCounter flash-button click tracking to web flasher page
Embeds the cookieless GoatCounter base script and marks the ESP Web Tools install button with data-goatcounter-click/title attributes, so actual flash-button clicks (not just page views) are counted and visible at https://eiswolf-bg.goatcounter.com. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -88,6 +88,7 @@
|
||||
--esp-tools-button-border-radius: 4px;
|
||||
}
|
||||
</style>
|
||||
<script data-goatcounter="https://eiswolf-bg.goatcounter.com/count" async src="//gc.zgo.at/count.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
@@ -104,7 +105,7 @@
|
||||
4. Sit back and wait for the process to finish
|
||||
</div>
|
||||
<!-- References the manifest.json in the same folder -->
|
||||
<esp-web-install-button manifest="manifest.json"></esp-web-install-button>
|
||||
<esp-web-install-button manifest="manifest.json" data-goatcounter-click="flash-button" data-goatcounter-title="Firmware geflasht"></esp-web-install-button>
|
||||
|
||||
<div class="browser-note">Requires Chrome, Edge, or Opera (Web Serial API)</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user