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

Embedding Matomo

Embedding Matomo is easy. It works much like embedding a YouTube video. You just need to copy and paste a line of code into any context where you can use an iframe tag. Many blogs and most websites will let you do this. Let's take a look at how you can embed Matomo in your website.


 

Getting started

Requirements for embedding Matomo reportsEmbed a Matomo report (or dashboard) in a HTML pageEmbed a static image graph of your analytics dataUsing the Reporting HTTP APIs to request any report data or raw data

Use cases

Include Matomo reports within an IframeEnable users to login into Matomo inside an iframeAutomatically login my users in Matomo when they go from my CMS to MatomoSpecify the URL that users should be redirected to, when they logout of Matomo

Troubleshoot

When included in an IFrame, Matomo reports do not load. How do I allow Matomo reports to load from within an iframe?Fix the error “This user has at least some write access. Only tokens of users who have only view access can be used.”

How to

Make Matomo report data public and viewable by anyone Export data from Matomo in CSV or XML or JSON formatExport Media Analytics reports and embed them somewhere elseExport Custom Reports reports and embed them somewhere elseExport the Multi Attribution report and embed them somewhere else

How to

Create and schedule a report

Support

  • Knowledge Base
  • Changelog
  • Glossary
  • Forums
  • Developers
  • Issue tracker
  • By industry
  • Contact support
  • Campaign URL builder

News

  • Blog
  • Newsletter
  • Matomo in the press

Compare

  • Google Analytics vs Matomo
  • Hotjar vs Matomo
  • WP-Statistics vs Matomo

About us

  • About Matomo
  • Contact us
  • Press
  • Contributors
  • Careers
  • History
  • Download Matomo
  • GitHub
  • Piwik is now Matomo
  • Open source

Privacy

  • Data ownership
  • GDPR
  • Security
  • Privacy policy
© 2022 matomo.org

Sign up for our newsletter

We are constantly adding new features and content to the leading All-In-One Analytics Platform that gives you control over your data. If you want to stay up to date with everything that is happening, feel free to subscribe below. You can unsubscribe at any time from it. The newsletter service uses MadMimi. Learn more about it within our privacy Policy page.


no thanks

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