Title: Tracking Code has not been inserted
Last modified: April 10, 2021

---

# Tracking Code has not been inserted

 *  Resolved [winguide](https://wordpress.org/support/users/winguide/)
 * (@winguide)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/tracking-code-has-not-been-inserted/)
 * Hi, I installed and configured this plugin. The plugin was successfully connected
   to my self-hosted Matomo installation via the HTTP API. I activated standard 
   tracking and the tracking code is displayed correctly. However, I cannot find
   the script in the source code of my website. Any ideas why this could be? Many
   Thanks.
    PS: It is a multisite installation.

Viewing 1 replies (of 1 total)

 *  Plugin Author [braekling](https://wordpress.org/support/users/braekling/)
 * (@braekling)
 * [4 years, 12 months ago](https://wordpress.org/support/topic/tracking-code-has-not-been-inserted/#post-14437715)
 * Please check if [wp_head](https://developer.wordpress.org/reference/functions/wp_head/)
   and [wp_footer](https://developer.wordpress.org/reference/functions/wp_footer/)
   are used in your plugin and are placed at the correct position: `wp_head` in `
   header.php` or `index.php`; `wp_footer` in `footer.php` or `index.php` – but 
   this may differ in your theme. The `wp_head` call should be inside the `<head
   >` section, the wp_footer call before the closing `</body>` tag.
 * Also check if you configured a tracking filter (e.g., to not track admin users),
   and if so and you are using a filtered user account, please log out and check
   again.
 * If you are using a caching plugin, you can also try to clear the cache.

Viewing 1 replies (of 1 total)

The topic ‘Tracking Code has not been inserted’ is closed to new replies.

 * ![](https://ps.w.org/wp-piwik/assets/icon-256x256.png?rev=3467966)
 * [Connect Matomo - Analytics Dashboard for WordPress](https://wordpress.org/plugins/wp-piwik/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-piwik/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-piwik/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-piwik/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-piwik/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-piwik/reviews/)

## Tags

 * [code](https://wordpress.org/support/topic-tag/code/)
 * [tracking](https://wordpress.org/support/topic-tag/tracking/)

 * 1 reply
 * 2 participants
 * Last reply from: [braekling](https://wordpress.org/support/users/braekling/)
 * Last activity: [4 years, 12 months ago](https://wordpress.org/support/topic/tracking-code-has-not-been-inserted/#post-14437715)
 * Status: resolved