---
title: Filter No JS Matomo feature
url: "https://www.seopress.org/support/hooks/filter-no-js-matomo-feature/"
lang: en-US
updated: 2021-09-29
hook_name: seopress_matomo_no_js
required_version: 3.8.5
---

# Filter No JS Matomo feature

- **Hook name:** `seopress_matomo_no_js`
- **Required version:** 3.8.5

```php
function sp_matomo_no_js($html) {
	$html = '<noscript><p><img src="https://'.seopress_google_analytics_matomo_id_option().'.matomo.cloud/matomo.php?idsite='.seopress_google_analytics_matomo_site_id_option().'&amp;rec=1" style="border:0;" alt="" /></p></noscript>';
	return $html;
}
add_filter('seopress_matomo_no_js', 'sp_matomo_no_js');
```

Source: [https://gist.github.com/wp-seopress/0775903a5bfff4ed25c718d1e70e5330](https://gist.github.com/wp-seopress/0775903a5bfff4ed25c718d1e70e5330)



