AdWords is now Google Ads. Our new name reflects the full range of advertising options we offer across Search, Display, YouTube, and more. Learn more

1.5K members online now
1.5K members online now
Discover how to select who is eligible to be in your experiment, and when they’re served experiment variations.
Guide Me

Need to Remove Other Query Parameters when Testing

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

Has anyone else run into issues when targeting based on query parameters? We created a new variable "abtest" to help when performing internal QA. However in order for the test to appear, I must remove any existing query parameters from the URL and replace it with only the test related url. It doesn't matter where in the url the parameter is placed; if there is more than one then the variant will not show. I am using the function equals compared to regex or something else in case that makes a difference. 


Example: (doesn't work) (doesn't work) (works)