Title: Simple Matomo Tracking Code
Author: rbaer
Published: <strong>23. december, 2020</strong>
Last modified: 27. august, 2025

---

Søg plugins

Dette plugin **er ikke blevet testet med de seneste 3 større udgivelser af WordPress**.
Det vedligeholdes eller understøttes muligvis ikke længere og kan have kompatibilitetsproblemer,
når det bruges med nyere versioner af WordPress.

![](https://ps.w.org/simple-matomo-tracking-code/assets/icon.svg?rev=2445616)

# Simple Matomo Tracking Code

 Af [rbaer](https://profiles.wordpress.org/rbaer/)

[Download](https://downloads.wordpress.org/plugin/simple-matomo-tracking-code.1.1.1.zip)

[Forhåndsvisning i realtid](https://da.wordpress.org/plugins/simple-matomo-tracking-code/?preview=1)

 * [Detaljer](https://da.wordpress.org/plugins/simple-matomo-tracking-code/#description)
 * [Vurderinger](https://da.wordpress.org/plugins/simple-matomo-tracking-code/#reviews)
 *  [Installation](https://da.wordpress.org/plugins/simple-matomo-tracking-code/#installation)
 * [Udvikling](https://da.wordpress.org/plugins/simple-matomo-tracking-code/#developers)

 [Support](https://wordpress.org/support/plugin/simple-matomo-tracking-code/)

## Beskrivelse

This is a unofficial, basic WordPress plugin for the Matomo web analytics software
platform.
 It adds the Matomo javascript code into every page of your website, so
you don’t have to code PHP to add it to your templates.

It is based quite heavily on the (no more supported) Piwik Analytics WordPress plugin
which itself is based on the (no more available) Google Analytics wordpress plugin
by Joost de Valk.

The following options are supported:

 * matomo hostname
 * matomo path
 * site ID
 * option to control download tracking
 * option to exclude the admin user (probably you)

Please note, this plugin requires a self-contained Matomo installation somewhere
under your control. It does not include Matomo itself.

See also [The Matomo Website](https://matomo.org/).

## Installation

 1. Install and activate the plugin as you normally would.
     (You can find more details
    and instructions [here](https://wordpress.org/support/article/managing-plugins/).)
 2. Visit the “Simple Matomo Tracking Code” page in the “Settings” section and adjust
    the parameters.
     Don’t forget to click “Update Settings” when you’re done.

## FAQ

### The Matomo Web Analytics javascript code does not show up.

 1. Make sure your theme has a call to wp_footer() in the footer.php file
 2. Make sure you’re not logged in as admin.

### How can I report security bugs?

You can report security bugs through the Patchstack Vulnerability Disclosure
 Program.
The Patchstack team help validate, triage and handle any security vulnerabilities.
[Report a security vulnerability.](https://patchstack.com/database/vdp/simple-matomo-tracking-code)

Or you send them directly to [info@rolandbaer.ch](https://da.wordpress.org/plugins/simple-matomo-tracking-code/info@rolandbaer.ch?output_format=md).

## Anmeldelser

![](https://secure.gravatar.com/avatar/34ea5eaca7ba54c3e0c1c6d9be60e24ef5ccfb82f89f4dc4c360a074d95a6a3d?
s=60&d=retro&r=g)

### 󠀁[Super effective](https://wordpress.org/support/topic/super-effective-10/)󠁿

 [polev](https://profiles.wordpress.org/polev/) 14. oktober, 2023

I like this, minimal code: pure and effective.Does not support multisite.

![](https://secure.gravatar.com/avatar/ccc9bae1ff393ff8707146e9e80a12d6d00df4dfb63f6e655a5b2675d3bb9f91?
s=60&d=retro&r=g)

### 󠀁[Simple and effective](https://wordpress.org/support/topic/simple-and-effective-1399/)󠁿

 [ernexto](https://profiles.wordpress.org/ernexto/) 16. maj, 2022

Does what it says. Nice and easy!

 [ Læs alle 2 anmeldelser ](https://wordpress.org/support/plugin/simple-matomo-tracking-code/reviews/)

## Bidragsydere & udviklere

“Simple Matomo Tracking Code” er open source-software. Følgende personer har bidraget
til dette plugin.

Bidragsydere

 *   [ rbaer ](https://profiles.wordpress.org/rbaer/)

“Simple Matomo Tracking Code” er blevet oversat til 5 sprog. Tak til [oversætterne](https://translate.wordpress.org/projects/wp-plugins/simple-matomo-tracking-code/contributors)
for deres bidrag.

[Oversæt “Simple Matomo Tracking Code” til dit eget sprog.](https://translate.wordpress.org/projects/wp-plugins/simple-matomo-tracking-code)

### Interesseret i udvikling?

[Gennemse koden](https://plugins.trac.wordpress.org/browser/simple-matomo-tracking-code/),
tjek [SVN repository](https://plugins.svn.wordpress.org/simple-matomo-tracking-code/),
eller abonner på [udviklerloggen](https://plugins.trac.wordpress.org/log/simple-matomo-tracking-code/)
via [RSS](https://plugins.trac.wordpress.org/log/simple-matomo-tracking-code/?limit=100&mode=stop_on_copy&format=rss).

## Ændringslog

#### 1.1.1

 * fixed XSS vulnerability

#### 1.1.0

 * uninstall updated for multisite compatibility

#### 1.0.3

 * Bugfix for reset, fixes from static code analysis, requires now PHP 7.1 or higher

#### 1.0.2

 * changed texts

#### 1.0.1

 * code cleanup: moved duplicated code in function

#### 1.0.0

 * prepared for translations

#### 0.5.2

 * fix for wrong appended path (to many slashes)

#### 0.5.1

 * input validation

#### 0.5.0

 * new javascript code from matomo
 * remove configuration during uninstall
 * fixed warnings

#### 0.1.0

 * created plugin based on piwik-analytics

## Meta

 *  Version **1.1.1**
 *  Senest opdateret **1 år siden**
 *  Aktive installationer **1.000+**
 *  WordPress-version ** 5.0 eller højere **
 *  Testet op til **6.8.8**
 *  PHP-version ** 7.1 eller højere **
 *  Sprog
 * [English (US)](https://wordpress.org/plugins/simple-matomo-tracking-code/), [German](https://de.wordpress.org/plugins/simple-matomo-tracking-code/),
   [German (Austria)](https://de-at.wordpress.org/plugins/simple-matomo-tracking-code/),
   [German (Switzerland)](https://de-ch.wordpress.org/plugins/simple-matomo-tracking-code/),
   [Spanish (Spain)](https://es.wordpress.org/plugins/simple-matomo-tracking-code/)
   og [Spanish (Venezuela)](https://ve.wordpress.org/plugins/simple-matomo-tracking-code/).
 *  [Oversæt til dit sprog](https://translate.wordpress.org/projects/wp-plugins/simple-matomo-tracking-code)
 * Tags
 * [analytics](https://da.wordpress.org/plugins/tags/analytics/)[matomo](https://da.wordpress.org/plugins/tags/matomo/)
   [piwik](https://da.wordpress.org/plugins/tags/piwik/)[statistics](https://da.wordpress.org/plugins/tags/statistics/)
   [stats](https://da.wordpress.org/plugins/tags/stats/)
 *  [Avanceret visning](https://da.wordpress.org/plugins/simple-matomo-tracking-code/advanced/)

## Bedømmelser

 5 ud af 5 stjerner.

 *  [  2 5-stjernet anmeldelser     ](https://wordpress.org/support/plugin/simple-matomo-tracking-code/reviews/?filter=5)
 *  [  0 4-stjernet anmeldelser     ](https://wordpress.org/support/plugin/simple-matomo-tracking-code/reviews/?filter=4)
 *  [  0 3-stjernet anmeldelser     ](https://wordpress.org/support/plugin/simple-matomo-tracking-code/reviews/?filter=3)
 *  [  0 2-stjernet anmeldelser     ](https://wordpress.org/support/plugin/simple-matomo-tracking-code/reviews/?filter=2)
 *  [  0 1-stjernet anmeldelser     ](https://wordpress.org/support/plugin/simple-matomo-tracking-code/reviews/?filter=1)

[Din anmeldelse](https://wordpress.org/support/plugin/simple-matomo-tracking-code/reviews/#new-post)

[Se alle anmeldelser](https://wordpress.org/support/plugin/simple-matomo-tracking-code/reviews/)

## Bidragsydere

 *   [ rbaer ](https://profiles.wordpress.org/rbaer/)

## Support

Har du noget at sige? Har du brug for hjælp?

 [Vis supportforum](https://wordpress.org/support/plugin/simple-matomo-tracking-code/)