mirror of
https://github.com/welpo/tabi.git
synced 2026-02-16 08:07:19 +01:00
Deploy welpo/tabi to welpo/tabi:gh-pages
This commit is contained in:
commit
5340fa3b9d
991 changed files with 23855 additions and 0 deletions
12
js/initializePlausible.js
Normal file
12
js/initializePlausible.js
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
// Initialise Plausible analytics queue for the new script format (v3.1.0+).
|
||||
// This sets up a queue system that collects tracking calls before the main
|
||||
// Plausible script loads, ensuring no events are lost.
|
||||
window.plausible = window.plausible || function () {
|
||||
(plausible.q = plausible.q || []).push(arguments);
|
||||
};
|
||||
// Initialise the Plausible configuration object.
|
||||
plausible.init = plausible.init || function (config) {
|
||||
plausible.o = config || {};
|
||||
};
|
||||
// Set up Plausible with default configuration.
|
||||
plausible.init();
|
||||
Loading…
Add table
Add a link
Reference in a new issue