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

Filter conundrum...

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

Hy
My client has a site with a sub domain in both English and Russian, I want to create 2 views - one for each language.
The URL structure for the RU site is sub.domain.com/s#!/, the URL structure for the EN site is sub.domain.com/s#!/en

How can I create a filtered view for each language???

Marked as Best Answer.
Solution
Accepted by topic author Office O
January 2016

Re: Filter conundrum...

Explorer ✭ ☆ ☆
# 2
Explorer ✭ ☆ ☆
I would build one for english site using a page matching regex:
s#!/(en/|en$)

The russian site would simply be the same as above, but exclude pages that match it.

Re: Filter conundrum...

Visitor ✭ ✭ ✭
# 3
Visitor ✭ ✭ ✭
THANKS!

Re: Filter conundrum...

Explorer ✭ ☆ ☆
# 4
Explorer ✭ ☆ ☆
Just a word of advice, learn regex. It will make life so much easier and expand the possibilities of what you can do with filters and segments. It's also really easy understand how it works so you don't need to be intimidated by the syntax of it. I was writing functional regex strings within the first hour. There's a bunch of regex validator online as well so you can write it and test it. This is the one I use:

http://www.regexr.com/