fix(analytics): remove data-domains restriction from tracking
- Removes data-domains attribute that was blocking tracking - Allows tracking on agenticgovernance.digital and any subdomains - Fixes issue where pages were not being tracked 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
d2165034f0
commit
573cbffa24
1 changed files with 1 additions and 1 deletions
|
|
@ -65,7 +65,7 @@
|
||||||
script.defer = true;
|
script.defer = true;
|
||||||
script.src = CONFIG.scriptSrc;
|
script.src = CONFIG.scriptSrc;
|
||||||
script.setAttribute('data-website-id', CONFIG.websiteId);
|
script.setAttribute('data-website-id', CONFIG.websiteId);
|
||||||
script.setAttribute('data-domains', CONFIG.domain);
|
// Note: data-domains attribute removed to allow tracking on all subdomains
|
||||||
script.setAttribute('data-auto-track', CONFIG.autoTrack.toString());
|
script.setAttribute('data-auto-track', CONFIG.autoTrack.toString());
|
||||||
|
|
||||||
// Error handling
|
// Error handling
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue