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
4.3K members online now
4.3K members online now
Ask questions about filter set-up and issues with using filters in Google Analytics reports
 
Guide Me
star_border
Reply

Need to create filter for order id in URL

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

Hey, there. 
I have a project with URL  www.test.com/testfilter/49db9fdd-2a85-4742-a2a3-b02ffe0e886e/pack. 
i need to set-up filter to view reports without this /49db9fdd-2a85-4742-a2a3-b02ffe0e886e/.
So, in GA, I need a report with this URL  www.test.com/testfilter/pack. 

Can someone help?
thanks!

1 ACCEPTED SOLUTION

Accepted Solutions
Marked as Best Answer.
Solution
Accepted by topic author Anatoliy S
June 2017

Need to create filter for order id in URL

Explorer ✭ ✭ ☆
# 4
Explorer ✭ ✭ ☆

Ok, so let's review it.

The URL is www.test.com/testfilter/49db9fdd-2a85-4742-a2a3-b02ffe0e886e/pack

Therefore, the Request URI will be /testfilter/49db9fdd-2a85-4742-a2a3-b02ffe0e886e/pack

Try using A1A3 instead of A1A2 (sorry, my bad in the other example). I just tested it and it worked.

View solution in original post

Need to create filter for order id in URL

Explorer ✭ ✭ ☆
# 2
Explorer ✭ ✭ ☆

Already answered here - let me know if that doesn't work.

Need to create filter for order id in URL

Visitor ✭ ✭ ✭
# 3
Visitor ✭ ✭ ✭

Work, but not fine Smiley Sad
This filter delete all after /testfilter:

  • Filter A: Request URI: (/testfilter)(/[^/]+)(.*)
  • Output To: Request URI: $A1$A2

But i need /testfilter/pack 

Marked as Best Answer.
Solution
Accepted by topic author Anatoliy S
June 2017

Need to create filter for order id in URL

Explorer ✭ ✭ ☆
# 4
Explorer ✭ ✭ ☆

Ok, so let's review it.

The URL is www.test.com/testfilter/49db9fdd-2a85-4742-a2a3-b02ffe0e886e/pack

Therefore, the Request URI will be /testfilter/49db9fdd-2a85-4742-a2a3-b02ffe0e886e/pack

Try using A1A3 instead of A1A2 (sorry, my bad in the other example). I just tested it and it worked.