mirror of
https://github.com/tabler/tabler.git
synced 2026-01-25 04:16:36 +00:00
init posthog stats
This commit is contained in:
@@ -264,6 +264,10 @@ export default function (eleventyConfig) {
|
||||
eleventyConfig.addGlobalData("environment", environment);
|
||||
eleventyConfig.addGlobalData("package", pkg);
|
||||
eleventyConfig.addGlobalData("cdnUrl", `https://cdn.jsdelivr.net/npm/@tabler/core@${pkg.version}`);
|
||||
|
||||
// PostHog Analytics Environment Variables
|
||||
eleventyConfig.addGlobalData("posthogApiKey", process.env.POSTHOG_API_KEY || "");
|
||||
eleventyConfig.addGlobalData("posthogHost", process.env.POSTHOG_HOST || "https://us.i.posthog.com");
|
||||
|
||||
const data = {
|
||||
iconsCount: () => 123,
|
||||
|
||||
Reference in New Issue
Block a user