Creating a segment with over 300 different URLs | Community
Skip to main content
Level 2
May 31, 2022
Solved

Creating a segment with over 300 different URLs

  • May 31, 2022
  • 3 replies
  • 1126 views

How do I easily create a segment with over 300 nonidentical URLs easily. I want this segment to contain all 300 URLs and I want to save time.

 

Thanks

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Pablo_Childe

Use SAINT classification.

 

the URL variable is key. create a sub classification special group 1(whatever is most useful naming convention to you)

 

Using the download template for this sub class, you then add the 300 URLs and their new sub classifications using excel.

 

Use classification Importer to upload. Then you will need to wait a bit for classifications to process. You are done and now can use the new sub classification as a segmentable element in reports, workspace, data warehouse.

 

The URLs in future can be added and deleted as needed only 1 upload is needed to add changes you dont need to do all 300 again just edits. Also a new group of urls could be added totally up to you.

 

GLTU

3 replies

Adobe Employee
May 31, 2022

Hi @wilsonepie

API is the way. Here the reference: https://adobedocs.github.io/analytics-2.0-apis/#/Segments

My suggestion is:

  • Create a simple segment in the UI with 3-4 URLs
  • via API retrieve the JSON with the segment definition
  • add the remaining element
  • update or create a new segment with the updated JSON

 

P.S. I don't know if there is a limit in the number of elements you can put in a segment. You can verify easily when you upload the JSON 🙂

Pablo_Childe
Community Advisor
Pablo_ChildeCommunity AdvisorAccepted solution
Community Advisor
May 31, 2022

Use SAINT classification.

 

the URL variable is key. create a sub classification special group 1(whatever is most useful naming convention to you)

 

Using the download template for this sub class, you then add the 300 URLs and their new sub classifications using excel.

 

Use classification Importer to upload. Then you will need to wait a bit for classifications to process. You are done and now can use the new sub classification as a segmentable element in reports, workspace, data warehouse.

 

The URLs in future can be added and deleted as needed only 1 upload is needed to add changes you dont need to do all 300 again just edits. Also a new group of urls could be added totally up to you.

 

GLTU

Level 2
May 31, 2022

Use classifications to give each URL the same category value. Then create a segment equal to that category value.