a578dbf633
Co-authored-by: Aaron <aaronklinker1@gmail.com>
25 lines
683 B
TypeScript
25 lines
683 B
TypeScript
import { defineAppConfig } from 'wxt/utils/define-app-config';
|
|
import { googleAnalytics4 } from './modules/analytics/providers/google-analytics-4';
|
|
import { posthog } from './modules/analytics/providers/posthog';
|
|
import { umami } from './modules/analytics/providers/umami';
|
|
|
|
export default defineAppConfig({
|
|
analytics: {
|
|
debug: true,
|
|
providers: [
|
|
googleAnalytics4({
|
|
apiSecret: '...',
|
|
measurementId: '...',
|
|
}),
|
|
posthog({
|
|
apiKey: '...',
|
|
}),
|
|
umami({
|
|
apiUrl: 'https://umami.aklinker1.io/api',
|
|
domain: 'analytics.wxt.dev',
|
|
websiteId: '8f1c2aa4-fad3-406e-a5b2-33e8d4501716',
|
|
}),
|
|
],
|
|
},
|
|
});
|