The segment you have:
HIT [
Page Name equals "index"
OR
Page Name contains any of "index:company"
]
will return ANY hit that is "index" or contains "index:company" (I don't know if you were meaning to write "index company" looking for either of those values... contains any of use space (" ") as a delimiter, so in your example, you aren't even making use of the "any of" part of the logic, you only have one value).
But in any case, you won't end up with "visits that went to a homepage and also went to a key site section" as you want.
Now, the first thing I want to know is, do you want ALL pages from those visits to be returned? Or just the specified page within those visits?
For Example:
Visit:
- ** Index
- Page A
- Page B
- ** Section "Company"
- Page C
Do you want all the pages above returned, since the visit had both "index" and "company" in the same visit? Or do you want only "Index" and "Company" from the visit (that hit both) to be returned? (The overall difference is the segment will return the same number of visits, but the first will have 5 page views, the other option will only have 2).
So, here are the two different segment options (note, I will use your "index:company" since I assume that maybe you want to catch multiple potential "company" pages under index, and only under index)
1. Segment that returns ALL hits, within a visit containing "index" and "company" pages.
VISIT [
Page Name equals "index"
AND
Page Name contains "index:company"
]
Basically, I am looking with the Visit for a hit that has "index" AND another hit that contains "index:company".... since the container is at a VISIT scope, each clause here will look at different hits within the same visit, if the visit has both clauses match at least once within the same visit, the entire visit will be returned (including Pages A, B and C)
Now the alternate would be to look for Visits that had both, but only return those specified Hits.
HIT [
HIT Container [
Page Name equals "index"
OR
Page Name contains "index:company"
]
AND
VISIT Container [
Page Name equals "index"
AND
Page Name contains "index:company"
]
]
Here I am using the Hit scope to ensure I only return matching hits, the first container will look for hits that are either "index" or "index:company", and the second container will apply the VISIT level logic of both hits must exist within the same Visit.