import posthog from 'posthog-js'; const d = '.tamcare.com.au'; const attrs = '; Path=/; SameSite=Lax' + (location.hostname.endsWith('tamcare.com.au') ? '; Domain=' + d : '') + (location.protocol === 'https:' ? '; Secure' : ''); const q = new URLSearchParams(location.search).get('tc_internal'); if (q === '0') document.cookie = 'tc_internal=' + attrs + '; Max-Age=0'; if (q === '1') document.cookie = 'tc_internal=1' + attrs + '; Max-Age=31536000'; const tcInternal = /(?:^|;\s*)tc_internal=1(?:;|$)/.test(document.cookie); posthog.init('', { api_host: 'https://eu.i.posthog.com', defaults: '2026-05-30', person_profiles: 'always', cross_subdomain_cookie: true, cookieWinsOnConflict: true, loaded: (ph) => { const tz = (Intl.DateTimeFormat().resolvedOptions().timeZone || '').split('/').pop().replace(/_/g, ' '); ph.setPersonProperties({}, { display_label: 'Visitor · ' + (tz || 'Unknown') + ' · ' + String(ph.get_distinct_id()).slice(-4), }); }, before_send: (event) => { if (tcInternal && event) event.properties.is_internal = true; return event; }, });

NDIS invoice

All Tamcare blog content relating to NDIS invoices and invoicing software