Workspace domain tracking
Workspace tracking lets a single Blueacre project collect activity across several subdomains. It is useful when one product spans a marketing site, an account area, and a shared dashboard.
Add the tracker to each subdomain
To follow activity across subdomains, add the tracking tag to every surface. If the main site is blueacre.test and the app lives at app.blueacre.test, use the same workspace tag in both places.
<script data-file="cdn.blueacre.test/track.js" data-key="WORKSPACE_KEY"> </script>
That tag can run anywhere, but Blueacre records events only for hostnames in your approved list.
Configure approved hostnames
Open the workspace security settings and add every hostname that should be allowed to send events.
Approved hostnames
Choose which domains can submit workspace events.
You can approve any hostname, including wildcard patterns that cover several subdomains under one root.
*.blueacre.test— every subdomain underblueacre.testapp.blueacre.test— only the application hostname
If your workspace uses a root domain, its www. form is approved automatically; no duplicate rule is required.