GTM Code Visibility

By Off Site Services

60+ active installationsVersion 1.1.0

Easily add Google Tag Manager code to your site and use it only when site is switched to "Search Engine Visibility".

Description

Allows admins to add Google Tag Manager code to your site and use it only when site is switched to “Search Engine Visibility”.

Use Settings->Reading: check/uncheck “Search Engine Visibility” and add code to “GTM code fields”.

Installation

  1. Upload entire /gtm-code-visible folder to /wp-content/plugins/ directory
  2. Activate plugin through Plugins menu in WordPress
  3. Add code Google Tag Manager in Settings>Reading “GTM code fields”

Screenshots

Changelog

1.1.0

  • Fixed PHP 8.x compatibility issues.
  • Tested with WP 7.0.

0.1

  • Tested with WP 5.7