Description
DevLab Tag Dock has one settings screen with one field per service. You type the ID, and the plugin builds the tag.
Tracking tags
- Google Tag Manager: the container ID (GTM-…).
- Google Analytics 4: the measurement ID (G-…).
- Meta Pixel: the pixel ID (digits).
Site verification
- Google Search Console, Bing Webmaster Tools, Pinterest and Meta domain verification. You can type the code or paste the whole meta tag; the plugin keeps only the code.
How it works
- Every field is optional. If the tracking fields are all empty, the plugin adds no callback for tracking tags; if the verification fields are all empty, it adds none for verification tags.
- Each field accepts one format. A value in another format is not saved: the previous value stays and the screen says which field was refused. The format is checked again when the settings are read, so a value written straight to the database in another format is not printed.
- The plugin has no field for free code: it stores IDs and codes, not HTML, JavaScript, CSS or PHP, and the tags it builds are part of the plugin.
- The Google tags follow the installation snippet Google documents (checked in November 2026): one
asyncscript per ID and one short inline script, in the head. The Meta Pixel is Meta’s base code, without itsnoscriptimage, so visitors without JavaScript are not counted. - Verification codes are printed as meta tags on the front page only.
- “Do not load tracking tags on admin and login screens” is on by default. “Do not load tracking tags for logged-in users” is off by default.
Your theme needs to call wp_head(). A page that a cache stores keeps what it had when it was built, so clear the cache after changing settings.
Consent
The plugin does not show a consent banner and does not wait for consent: with an ID saved, the tag loads. We did not test it with consent plugins. Whether you need consent depends on the laws that apply to you. The plugin does not provide legal advice and does not make your site compliant with any law.
Who can save
A Tag Manager container can run scripts on your pages. For that reason saving on the settings screen needs two capabilities, manage_options and unfiltered_html, checked when the form is submitted and again before the values are stored. By default, only Super Admins hold unfiltered_html on a multisite network, and nobody holds it when DISALLOW_UNFILTERED_HTML is set to true. An administrator without it sees the screen with the fields disabled.
What it stores
Its settings in one option and, for each user who dismisses its notice, one user meta entry. It creates no database tables. When you delete the plugin from the Plugins screen (or with WP-CLI), both are removed from every site of the installation.
About DevLab
The plugin adds its screen under a DevLab menu, which it creates unless another DevLab plugin already did. That screen has one dismissible notice and a small box, each with a link to the DevLab Store (devlab.ia.br/store), which lists our free and paid plugins and a theme for WordPress. The plugin adds nothing promotional anywhere else in your dashboard, and no credit link to your public pages.
This plugin is not affiliated with Google, Meta, Microsoft or Pinterest.
External services
The plugin itself sends no requests from your server to these services. When you save an ID, the pages your theme renders tell your visitors’ browsers to load a script from the service:
- Google Tag Manager / Google Analytics (when a GTM- or G- ID is saved): the browser loads
https://www.googletagmanager.com/gtm.jswith your ID on each page view. Google receives what a browser sends with a request, such as the IP address, browser details and the page address; the script may then set cookies and send more data, depending on how you set up your Google account. Tag Manager use policy, Analytics terms, privacy policy. - Meta Pixel (when a pixel ID is saved): the browser loads
https://connect.facebook.net/en_US/fbevents.js, and the script sends your pixel ID and a page view to Meta, which also receives the data above and may set cookies. Business tools terms, privacy policy.
WordPress itself adds a dns-prefetch hint for the Google address to those pages, and the scripts above may load more files from the same services. With these fields empty, the plugin makes no visitor’s browser contact these services. The verification codes are text in your page and load nothing. The plugin itself sets no cookies, and its two links to the DevLab Store are opened only if you click them.
Screenshots



Installation
- Install and activate the plugin from the Plugins screen.
- Go to DevLab > Tag Dock.
- Type the IDs you use and click Save Changes.
FAQ
-
Can I add a chat widget or another script?
-
No. The plugin accepts only the IDs and codes listed above. If the service has a template in Google Tag Manager, you can add it there.
-
Should I fill in both Tag Manager and Analytics?
-
Only if your container does not already load Analytics. Otherwise visits may be counted twice.
-
I saved an ID and the tag does not appear.
-
Clear any cache or CDN, and check that your theme calls
wp_head()and that you did not turn on “Do not load tracking tags for logged-in users” while testing as a logged-in user. Verification tags appear on the front page only. -
Why are the fields disabled for me?
-
Your account does not have the
unfiltered_htmlcapability. See “Who can save” above. -
Does it work with multisite?
-
Each site keeps its own settings. By default only Super Admins can save them.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“DevLab Tag Dock” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “DevLab Tag Dock” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
0.1.0
- First public release.
