Last Updated 6/5/2018.
When building Full Site Segments, or any other URL Segments, it's important to make sure you're capturing all possible URL variations, so you don't miss anyone. Below are a few tips on different ways to use the various Segment Filters.
HTTP vs. HTTPS
Have you ever noticed when a site URL you're visiting changes from HTTP to HTTPS? Perhaps not, but it's an important change to notice. While HTTPS is essentially the same concept as HTTP, the “S” has one big difference between the two: security. HTTPS stands for Hypertext Transfer Protocol Secure.
Sites often change to HTTPS when secure information is being captured, through forms or registration vendors. So what does that mean for you? Well, you might be missing a segment of your site visitors by not including both HTTP and HTTPS in your filters. Before making any changes to your Segment(s), you should first click around your website(s) and see if you notice any changes in the URL.
Site Redirect URLs
Often times, we'll see websites that redirect to a different URL, or an identical page that can be accessed by multiple URLs. These are important to capture as well, as your Segments might be missing them. However, you need to make sure your Super Pixel is placed on the initial page that loads in order to capture those site visitors, otherwise, you will still have to use multiple when building your Segments to capture everyone.
For example, say you want to track a URL
https://feathr.co/blogpost42 In this case, you could use Equals as your segment filter. However, you might want to double check that the URL can't be accessed in other ways, even if it appears to lead to the same exact page. That might look like
https://feathr.co/blogpost42-f If you are using Equals in your Segment, it won't include visitors who land on the second URL.
It's important to check with your Web Developer or your site map to make sure you aren't missing any extra URLs that should be included in your Segments.
Edit your Segment to Capture HTTP & HTTPS
- Navigate to the 'Explore' section in the left side panel of Feathr.
- Click '+Change Filters' on the right side of the page to bring up the segment editor.
- Select 'Filter Audience Based on Activity', then URL. In the next section (the comparison), select 'Starts With', then copy/paste your main site's URL. Does it contain HTTP or HTTPS?
- Add another identical filter, but use the opposite URL prefix.
- Be sure to select match 'Any' filter in the top right corner.
6. Click Ok then create the segment by selecting '+Create Segment'.
Your Segment Filters should look something like the above, and now you are capturing all variations of your website.
Doesn't the wildcard capture all my possible URLs?
Adding a wildcard to the end or in the middle of a segment URL will capture any pages that contain the first part of the URL (or end of the URL, if using a wildcard in the middle). But, you need to place it in the correct spot to work correctly. When creating segments using a wildcard (*), make sure you are using the Wildcard filter. Reach out to your Customer Success Manager if you have questions, or check out this article on Using Segment Filters and Predicates.