hey, loving using zaraz compated to GTM
hey, loving using zaraz compated to GTM -- great concept. But a few questions.
First, what is the regex engine used? i want to identify when a parameter is not empty, so what's the most effective rule? query param Not matches regex
First, what is the regex engine used? i want to identify when a parameter is not empty, so what's the most effective rule? query param Not matches regex
/^$|\s+/
or (^$|\s+)
without the /s or just ^$
... or should I use a positive match on something like (.|\s)*\S(.|\s)*
... Will the simple negative matches work if the parameter just doesn't exist, or will the rule fail with an error because the parameter doesn't exist? GTM variables I would look for falsy javascript variables like undefined|NaN... Any guidance?4 Replies
Unknown User•6d ago
Message Not Public
Sign In & Join Server To View
Thanks. Do the fields then accept /.*/ literal syntax? Or just parsing the string, so my argument should be does not match (^$|\s+)? Just want a reliable method detecting when a parameter does not exist. (An "is empty/is not empty" selection in the drop down would be great... something like function )
Unknown User•6d ago
Message Not Public
Sign In & Join Server To View
thanks. that's what I have been using