Analytics

Analytics

Flowershow supports different analytics providers. It might not be as feature rich as the official analytics providers but it should be sufficient for simple use cases. (See this chapter about basic user configurations.)

// config.mjs
{
	analyticsConfig: {
        plausibleAnalytics: {
            plausibleDataDomain: 'tailwind-nextjs-starter-blog.vercel.app',
        },
        simpleAnalytics: {
            src: "https://scripts.simpleanalyticscdn.com/latest.js"
        },
        umamiAnalytics: {
            umamiWebsiteId: '123e4567-e89b-12d3-a456-426614174000',
        },
        posthogAnalytics: {
            posthogProjectApiKey: '123e4567-e89b-12d3-a456-426614174000',
        },
        googleAnalytics: {
            googleAnalyticsId: 'G-XXXXXXX',
        },
    }
}

You can use multiple analytics at the same time or just one. For example, you can add PostHog analytics as follows:

// config.mjs
{
	analyticsConfig: {
        posthogAnalytics: {
            posthogProjectApiKey: '123e4567-e89b-12d3-a456-426614174000',
        }
    }
}

Legacy analytics

Deprecated

The following feature shouldn't be used, as it's now deprecated

Google Analytics (GA4) is still supported.

Google Analytics

Set your google analytics key in the config.js file. (See this chapter about basic user configurations.)

// config.js
// Google analytics key e.g. G-XXXX
{
	analytics: 'your-google-analytics-key',
}

© 2025 All rights reservedBuilt with Flowershow Cloud

Built with LogoFlowershow Cloud