Analytics
5.9K members online now
5.9K members online now
Learn how to set up goals and Ecommerce tracking, verify accuracy of attribution traffic sources, and discuss funnel visualization, Multi-Channel Funnels, the Goal Flow Report, and Enhanced Ecommerce
 
Guide Me
star_border
Reply

Regular Expression Goals set up?

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

Hi,

We're trying to set up a goal using regular expressions and struggling a bit!

We're looking to create an expression that includes "mailingListRequest.html" but excludes "listName=Dossier" and "id" as well. The two exclusions relate to two other goals already set up, they will appear in separate urls.

We've got as far as this, but we're not sure it's correct.

 

^/mailingListRequest.html/(.*)+[^listName=Dossier|id]

 

Can somebody help?

Cheers

Kerri

1 Expert replyverified_user

Re: Regular Expression Goals set up?

Top Contributor
# 2
Top Contributor
Hi Kerri,

negative regular expressions don't work in Google Analytics.
You would need to setup a different view and set additional goals there.
VP & Chief Evangelist at Hub'Scan | Contact me
Level 80 Digital Analytics Warrior, KPI Therapist and Keeper of the One True Tagging Plan

Re: Regular Expression Goals set up?

[ Edited ]
Explorer ✭ ✭ ☆
# 3
Explorer ✭ ✭ ☆

Hi Kerri,

Could you please provide URLs/URIs of your goals? The one that you want to include as well as the one that you want excluded?

Re: Regular Expression Goals set up?

Top Contributor
# 4
Top Contributor
That still won't help Kerri create a regex that both includes and excludes :-)
VP & Chief Evangelist at Hub'Scan | Contact me
Level 80 Digital Analytics Warrior, KPI Therapist and Keeper of the One True Tagging Plan

Re: Regular Expression Goals set up?

Explorer ✭ ✭ ☆
# 5
Explorer ✭ ✭ ☆
You're right but it may help us to create solution for what she tries to
achieve. After all she looks for a solution for her particular problem,
isn't she?