How to manage third-party tags in the WordPress plugin
You can manage third-party scripts directly from the CookieHub WordPress plugin, ensuring they only load when consent is granted.
Steps:
- Go to Settings → CookieHub in your WordPress dashboard.
- Scroll to the Third-party tags section.
Each cookie category (Necessary, Preferences, Analytics, Marketing) has a dedicated tab.
Paste your scripts into either:
- Head section – if the script needs to load in
<head>. - Body section – if it should load at the end of
<body>.
- Head section – if the script needs to load in
Important:
Insert each script in only one location (head or body) to avoid conflicts.