For instance, you might want to do analysis on your blog, and so you need to isolate a subdomain such as blog.yourwebsite.com, or you might want to create a special Google Analytics remarketing list that only hits visitors of a certain subdomain, such as “training.yoursite.com.” Either of these scenarios can be accomplished with RegEx, and I wanted to provide a blog post here that gives you an example that you can apply to your own account.
So, here goes:
Isolate a subdomain such as “blog” on a website like “blog.yourwebsite.com”:
- Include Filter
- Filter Field: Hostname
- Filter Pattern: ^blog\.yourwebsite\.com$
And this is what it looks like:
<img class=”size-full wp-image-1977 alignleft” style=”border: 2px solid black;” src=”https://willmarlow.com/wp-content/uploads/2013/11/Screen-Shot-2013-11-17-at-5.04.03-PM.png” alt=”Marketing Certification Badges” width=”538″ height=”88″ />