Add option to exclude Conditions for GTM inclusion

Created on 27 February 2024, 9 months ago
Updated 23 April 2024, 7 months ago

Problem/Motivation

Sometimes Conditions can interfere with GTM inclusion whether the Conditions are set in GTM or not. Other issues could potentially arise with contrib Conditions.

Steps to reproduce

  1. Add any module that defines a Condition, for example Context or Term Condition, or a custom module
  2. Set conditions settings in that module
  3. In GTM Tag Settings (/admin/config/services/google-tag), leave that module's Condition empty
  4. Check whether or not GTM is included (or not) as intended. In certain situations, it behaves unexpectedly

Proposed resolution

Having the option to exclude Conditions would eliminate the possibility of Condition interference.

User interface changes

A new field on GTM config form, such as a checkboxes field.

Feature request
Status

Postponed: needs info

Version

2.0

Component

Code

Created by

🇺🇸United States kelly.m.jacobs

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @kelly.m.jacobs
  • 🇮🇳India chandu7929 Pune

    Hello kelly.m.jacobs I was trying to replicate the issue and followed the steps below.

    1. Enable module google_tag & term_condition
    2. Created terms under tags vocab [abc, xyz]
    3. Created content type [abc] and added taxonomy reference field then selected tags as source.
    4. Create two content of type abc and tagged abc, xyz respectively.
    5. Placed recent content block and add condition to show on abc tags
    6. Verified GTM inclusion and its there.

    Is there specific steps where this condition is interfering?

  • Status changed to Postponed: needs info 7 months ago
  • 🇮🇳India vipin.mittal18 Greater Noida
Production build 0.71.5 2024