Skip to content
MENUMENU
  • Why Matomo?
    • 100% Data Ownership
    • Privacy Protection
    • Product Features
    • Open Source
    • Flexibility
    • No Data Sampling
    • GDPR
    • Google Analytics Alternative
  • Use Cases
    • Complete Analytics
    • Intranet Analytics
    • Cookieless Tracking
    • Tracking Personal Data
    • No Limitations
    • Log Analytics
  • On-Premise
    • Matomo On-Premise
    • On-Premise vs Cloud
    • Download for free
    • Marketplace
    • Support Plans
  • Pricing
  • Resources
    • Help
    • Blog
    • Integrations
    • Contact the Matomo team
    • List of all features
    • Get involved
  • Log inHelpTRY IT FOR FREE
  • Home
  • Help
  • Tracking data
  • JavaScript tracking

JavaScript tracking - How to

Setup Matomo to track multiple websites without revealing the Matomo server URL footprint which appears in the Javascript code in all websitesSet a custom URL using the Matomo Javascript trackerSet a custom page title using the Matomo javascript titleCreate new visit whenever a user visits my website using a new campaign or a new website referrerTell Matomo to track Unique Visitors based on the Visitor ID cookie, instead of using IP AddressCreate new visit on demand, so that several users using the same computer or browser are counted separatelyGet the time elapsed between two actions or two events in the same visit or even across multiple visitsTrack a website within an iframeEnable third party tracking cookies, as well as the existing first party cookiesTrack Page Scrolls or Page Scroll Depth in MatomoEnable Secure cookie flags in all tracking cookiesRemove the tracked domain or hostname from all page URLsMigrate from Google Analytics 3 to MatomoUsing Osano Consent Manager with MatomoUsing Cookiebot Consent Manager with MatomoUsing CookieYes Consent Manager with MatomoUsing Tarte au Citron Consent Manager with MatomoUsing Klaro Consent Manager with MatomoUsing Complianz for WordPress Consent Manager with Matomo

Company

  • About Matomo
  • History
  • Contributors
  • Careers
  • Contact Us

Support

  • Help Centre
  • Developers
  • Contact support

Product

  • Tag Manager
  • WordPress Plugin
  • URL Campaign Builder
  • Integrations
  • Open Source
  • Download Matomo
  • Changelog
  • Issue Tracker
  • GitHub

Privacy

  • Data ownership
  • GDPR
  • Security
  • Matomo Cloud Privacy Policy
  • Website Privacy Policy

Resources

  • Blog
  • Newsletter
  • Matomo in the press
  • Press Enquiries
  • GDPR Timeline

Comparisons

  • vs Google Analytics
  • vs Adobe Analytics vs Google Analytics
  • vs Piwik PRO
  • vs Plausible
  • vs Fathom
  • vs Hotjar
  • vs WP-Statistics
© 2023 matomo.org


{"cookieName":"wBounce","isAggressive":false,"isSitewide":true,"hesitation":"500","openAnimation":false,"exitAnimation":false,"timer":"","sensitivity":"","cookieExpire":"60","cookieDomain":"","autoFire":"","isAnalyticsEnabled":false}