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
    • Pricing
    • Contact Sales
  • Resources
    • Help
    • Blog
    • 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

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

Company

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

Support

  • Help Centre
  • Developers
  • Contact support

Sales

  • Contact Sales

Product

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

Privacy

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

Resources

  • Blog
  • Case Studies
  • Newsletter
  • Masterclasses
  • 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
Sorry to interrupt but…

Do you want to stay ahead of the game when it comes to GDPR compliance, cookieless tracking and privacy-friendly web analytics? Join our newsletter to receive exclusive industry insights and tips straight to your inbox.

Newsletter Subscription - English

I've read and understood the Privacy Policy.
The information collected on this form is for the purpose of administering marketing materials.

The data collected will be processed by Matomo, by our CRM provider HubSpot, all data is stored in the EU. You can access your data, rectify it, request its erasure or exercise your right to limit the processing of your data.