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

Analytics
3K members online now
3K members online now
Ask questions about filter set-up and issues with using filters in Google Analytics reports
 
Guide Me
star_border
Reply

Not sure which regular expression to use

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

Hello, 

 

I want to measure a goal url, that changes everytime, but one part of the url is consistent and I want to measure that.

 

Some examples:

http://www.autogarantveiling.nl/volkswagen-gold-12-tsi-highline-bluemotion-won/2896

http://www.autogarantveiling.nl/nissan-qashqai-%2B2-16-connect-edition-won/2986

http://www.autogarantveiling.nl/bmw-1serie-118i-business%2B-won/2918

 

The word won is what I want to track, I make a regular expression:

\/[\w\%-]+-won\/[\d]{4}$

 

Am I on the right track? Thanks for your help!

 

Sabine

Re: Not sure which regular expression to use

Explorer ✭ ✭ ✭
# 2
Explorer ✭ ✭ ✭
Hey Sabine,

The expression looks good and should work correctly for you.

Good Luck Smiley Happy

Re: Not sure which regular expression to use

Visitor ✭ ✭ ✭
# 3
Visitor ✭ ✭ ✭
Hi Norman,

Thank you for your fast reply! Awesome!