Analytics
2.4K members online now
Understand information in your reports and troubleshoot reporting issues such as self-referrals, (not set) data, and inaccurate information
 
Guide Me
star_border
Reply

Tracking data for a specific set of URLs exclusively

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

Hello, 

 

Maybe this is an obvious one, but can't manage to find a solution. 

 

Problem:

I need to collect data for a specific set of URLs (15 URLs in total) and have them in line, one below the other. Those are 15 importants shop URLs of an e-commerce platform that agreagates more than 1000 sellers URLs. I want to focus on those 15. I want to know how many sessions they get, the duration, etc. 

 

Basically, I need a report showing data for : 

 

URL 1

URL 2

URL 3

...

URL 15 

 

ONLY FOR THOSE URLs and none others. 

 

I can't find a way to create a custom report, a segment or a filter that can combine this. 

 

Any ideas here?

Many thanks

 

A.

Marked as Best Answer.
Solution
Accepted by topic author Antoine v
March 2016

Re: Tracking data for a specific set of URLs exclusively

Follower ✭ ✭ ✭
# 2
Follower ✭ ✭ ✭
Hllo Antoine,

I would recommend a custom report:

1. Click on "Customization
2. Click on "+ New Custom Report"
3. Add a name
4. Choose: Type "Explorer", Metric Group "Sessions", "Avg. Time on Page", "Users" etc. and as Dimension Drilldowns "Page"
5. Add a filter: include "Page" and Regex "/url_1/|/url_2/|...|/url_15/" ("|" stands for "or").
6. Click "Save"

Optional 7.: Update/Modify the Regex.

Bye. Nils.

Re: Tracking data for a specific set of URLs exclusively

Visitor ✭ ✭ ✭
# 3
Visitor ✭ ✭ ✭
Hello Nils,

It worked, thank you very much!

In my case I had to leave the URL "open" at the end, and not close it with "/" orhterwise it wouldn't work.

Have a great evening!

A.

Re: Tracking data for a specific set of URLs exclusively

[ Edited ]
Visitor ✭ ✭ ✭
# 4
Visitor ✭ ✭ ✭

This solution partially worked for me, but I had to add a few things to filter out some noise. The regex used above will pull all URLs that contain the URL segment you enter. So, for example:

"/url_1/|/url_2/|/url_3/"

Will return URLs '/url_1/x', '/url_1/y', and '/url_1/z'

To refine it to include exact matches, here's the regex, came up with, which seems to work well:

"(?-i)^/url_1/$|(?-i)^/url_2/$|(?-i)^/url_3/$"

Where:

(?-i) = turn off case insensitivity; that is, make the search case sensitive
^ = begins exactly with
$ = ends exactly with

Essentially, the symbols ^ and $ used together (at the beginning and end of an expression, respectively) provides a way to filter exact matches of strings. This filters out any URLs don't match the query exactly.

If there's another way to do this, would like to know.