tag-manager
tag-manager copied to clipboard
Empty strings on Trigger Setup
Please look at the Screenshot. Actually it is not possible to check for an "empty" string. The first 5 arguments are working. In the last part I would check for an empty string, but the Tag Manager seems to ignore this field when its not filled.
![bildschirmfoto 2018-10-05 um 18 03 16](https://user-images.githubusercontent.com/1695531/46546340-09036800-c8c9-11e8-8252-75dca5f194e7.png)
On the second column there should be an option like "is empty"
FYI: A workaround be to write eg "tracking" in the last section, then leave the text empty in the text field where it currently says "tracking". This doesn't work though when you want to have only one comparison/one text field that says "empty".
As a workaround, maybe you could also put a default value to your Cookie Consent Level
(eg. $$the-cookie-consent-level-is-empty$$
or simply empty
). Then you can use this default value for your trigger setup...
But the is empty
/ is not empty
operators are still a good new enhancement to be developed :wink:
@scysys it seems that this regex could work: ^(?![\s\S]) - https://www.youtube.com/watch?v=Idq2iLf3cTU