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
    • Consent-Free Tracking
    • Tracking Personal Data
    • Marketing Attribution
    • No Limitations
    • Log Analytics
  • Cloud
  • On-Premise
    • Matomo On-Premise
    • On-Premise vs Cloud
    • Download for free
    • Marketplace
    • Support Plans
  • Pricing
    • Pricing
    • Contact Sales
  • Resources
    • NEW! 2025 Ethical Marketing Field Guide
    • Help
    • Blog
    • Guides
    • Masterclasses
    • Case Studies
    • Integrations
    • Contact the Matomo team
    • List of all features
    • Get involved
  • Log inHelpTRY 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

What is the ‘anonymous user’ in Matomo? 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

Company

  • About Matomo
  • History
  • Contributors
  • Hiring
  • Contact Us
  • Partner Programme

Support

  • Help Centre
  • Developers
  • Contact support

Sales

  • Contact Sales
  • Plans & Pricing

Product

  • Tag Manager
  • WordPress Plugin
  • URL Campaign Builder
  • Integrations
  • Open Source
  • Download Matomo
  • Changelog
  • Issue Tracker
  • GitHub
  • Feedback Panel
  • BigQuery & Data Warehouse Export

Privacy

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

Resources

  • Blog
  • Case Studies
  • Newsletter
  • Guides
  • Masterclasses
  • Matomo in the Press
  • Press Enquiries
  • GDPR Timeline
  • How to Check Website Traffic

Comparisons

  • vs Google Analytics
  • vs Amplitude
  • vs Adobe Analytics vs Google Analytics
  • vs Piwik PRO
  • vs Firebase
  • vs Plausible
  • vs Fathom
  • vs Hotjar
  • vs WP-Statistics
  • Top Web Analytics Tools

Industries

  • BanksĀ 
  • EnterpriseĀ 
  • Financial InstitutionsĀ 
  • Fintech
© 2025 matomo.org