Integrations

Integrations tab of WP Coder Pro Tools: Tracking Code Manager, Google Tag Manager and AdSense

The Integrations tab of WP Coder → Tools adds tracking and ad codes to every front-end page — the same in WP Coder and WP Coder Pro. Fill in only what you use.


Tracking Code Manager#

Field Example
Google Analytics G-XXXXXXXXXX
Facebook Pixel 123456789012345
Pinterest Pixel 2612345678901

Disable tracking for these user roles — tick roles whose visits shouldn’t be tracked. Tick Administrator (and Editor) so your own visits don’t skew the stats.

Google Tag Manager#

  • Container ID — GTM-XXXXXXX. The script goes into the head and the <noscript> part right after <body> opens.
  • Disable Google Tag Manager for these user roles.

If you load Google Analytics through GTM, leave the Google Analytics ID above empty — otherwise page views are counted twice.

Google AdSense#

  • Publisher ID — pub-1234567890111213.
  • Disable Google AdSense Ads for these user roles — for example, no ads for logged-in members.

Tips#

  • Staging and local copies: a copy of the site carries these settings and sends its visits to your live analytics. Switch the tool off on staging, or exclude the staging host in your analytics.
  • Cookie consent: in the EU you may need consent before tracking. For full control, place the tracking code in a snippet with a Cookie condition PRO (e.g. cookie consent equals yes) instead of using this tab — or let your consent tool load the scripts.
  • Other services (Hotjar, Clarity, a chat widget): create a snippet with the vendor’s code, Display Everywhere and Location In <head> or Before </body>. See Add tracking codes without a plugin.