Install website analytics on WordPress, Shopify, static websites and JavaScript applications. Use the following practical steps to investigate your own website and verify changes.
WordPress and content management systems
Use a supported theme integration or reputable script-management mechanism to insert the generated snippet into public layouts. Avoid editing parent theme files that may be overwritten. Verify another integration does not duplicate the snippet and private administration routes are excluded.
Shopify and hosted storefronts
Use the storefront theme's supported layout or integration mechanism where permitted. Checkout and customer account surfaces have different restrictions. Install only on authorized public storefront pages and verify the published theme rather than a preview alone.
Static websites and generators
Place the exact generated snippet once in a shared public HTML template. Rebuild and publish, then inspect representative URLs. Ensure intended pages inherit the correct template without adding duplicate snippets.
JavaScript frameworks and custom applications
Use the framework's supported script-loading mechanism in a shared public layout. Client-side routing may require attention to navigation events; verify actual observed behavior. Respect security policies, consent choices and platform restrictions. Exclude private account, payment and administration routes.
Practical checklist
- Verify the hostname
- Use the exact snippet
- Install once on public layouts
- Confirm real collection
Frequently asked questions
Can I reuse a snippet for unrelated websites?
Use the snippet generated for the intended verified website.