diff --git a/src/lib/analytics.ts b/src/lib/analytics.ts index 41f9e5dc..36e4e4a9 100644 --- a/src/lib/analytics.ts +++ b/src/lib/analytics.ts @@ -8,7 +8,7 @@ export function initializeAnalytics() { if (!browser) return; posthog.init('phc_jg4gOdigfHQD4MSgrSaO883dp2LjNJbJO7azv61UtI0', { - api_host: 'https://us.i.posthog.com', + api_host: 'https://hog.edutools.ingo.au', person_profiles: 'always', capture_exceptions: true }); @@ -18,7 +18,7 @@ export async function checkTrackerBlocked(): Promise { if (!browser) return false; try { - await fetch('https://us-assets.i.posthog.com/static/exception-autocapture.js'); + await fetch('https://hog.edutools.ingo.au/static/exception-autocapture.js'); return false; } catch { return navigator.onLine; diff --git a/src/lib/components/tracker-dialog.svelte b/src/lib/components/tracker-dialog.svelte index dcb08c08..4043bdac 100644 --- a/src/lib/components/tracker-dialog.svelte +++ b/src/lib/components/tracker-dialog.svelte @@ -12,10 +12,17 @@ Notice We use PostHog to detect/fix errors, track usage and roll out features. Please disable your - tracker/ad blocker to allow this. Don't worry, we won't show you any ads. -

+ tracker/ad blocker for this site to allow this. Don't worry, we won't show you any ads. +
+
For more details about our data collection practices, see our Privacy Policy. +
+
+
+ Techinal info +

We detected that hog.edutools.ingo.au is blocked by your ad/tracker blocker

+
($trackerDialogClosed = true)}>