---
title: Filtrer le code HTML du suivi additionnel
url: "https://www.seopress.org/fr/support/hooks/filtrer-le-code-html-du-suivi-additionnel/"
lang: fr-FR
updated: 2019-04-22
hook_name: seopress_gtag_after_additional_tracking_html
required_version: 3.5
---

# Filtrer le code HTML du suivi additionnel

- **Hook name:** `seopress_gtag_after_additional_tracking_html`
- **Required version:** 3.5

```php
function sp_gtag_after_additional_tracking_html($html) {
	$html = $html.' my custom tracking code here';
	return $html;
}
add_filter('seopress_gtag_after_additional_tracking_html', 'sp_gtag_after_additional_tracking_html');
```

Source: [https://gist.github.com/wp-seopress/72b8d116b44d78431cf6c58509a3241a](https://gist.github.com/wp-seopress/72b8d116b44d78431cf6c58509a3241a)



