meom / meom-3rd-party-scripts
Create settings for 3rd party script like Google Tag Manager and Cookiebot.
Installs: 8 847
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 4
Forks: 0
Open Issues: 4
Type:wordpress-plugin
Requires (Dev)
- meom/phpcs-composer: dev-main
This package is auto-updated.
Last update: 2025-03-09 12:48:07 UTC
README
Make sure that your theme contains:
wp_head();
And this after you have opened the body tag:
wp_body_open();
Filters
You can modify the output with following filters:
- mtps_gtm_id
- mtps_gtm_head_code
- mtps_cookiebot_id
- mtps_cookiebot_code
- mtps_gtm_body_code
Cookie declaration
Cookie declaration text can be added using shortcode:
[mtps-cookie-declaration]