Create Content Patterns create-content-patterns

When you set content patterns, content is auto-discovered when a web visitor clicks on the HTML web page relevant to the content pattern. It’s used to add HTML pages (blog posts, press releases, news articles) as content pieces to the All Content page. When auto-discovering is based on content patterns, it discovers and tracks HTML pages that are related to the defined URL pattern when a web visitor views or clicks a link to the page. This content piece (the URL, page name and meta data-including the image URL and description) is added to the All Content page to prepare predictive content. For auto-discovering other content, such as PDFs and embedded video, you need to enable content discovery.

  1. Go to Content Settings.

  2. Click URL Patterns.

  3. Click the + to open up a row where you can enter your information.

  4. Add the URL extension of the domain where the web page exists. Select the category (for example, Blog, Article, Data Sheet, Press Release).

    note note
    NOTE
    Items in the drop-down list on the right reflect the categories you set up when you created categories.
  5. Click + to add another path.

  6. Add the extension and catagory for the additional path and click Save.

Content Pattern Rules content-pattern-rules

  • You can use a wildcard anywhere in an expression (Example: domain.com/*, domain.com/*blog*)

  • We recommend using /* at the end of an expression to continue pattern discovery (Example: domain.com/blog/* discovers all posts in the Blog folder)

  • Content patterns are not case sensitive (Example: domain.com/Blog/* discovers all html pages on domain.com/Blog and domain.com/blog)

  • URL parameters are not discovered (this avoids discovering multiple items with the same content URL but different parameters)

Examples examples

For domain.com:

URL Pattern
Result
blog/*

Discovers all content that matches the pattern domain.com/blog/:

domain.com/blog/5-top-tricks

domain.com/blog/2017/new-year-solutions

domain.com/Blog/3-best-recipes

article/2017/*

Discovers all content that matches the pattern domain.com/article/2017/:

domain.com/article/2017/5-top-tricks

-- {width="80"}

Discovers any URL that contains the word "datasheets:"

domain.com/datasheets/5-top-tricks

domain.com/blog/5-top-datasheets

press-release

Only one exact match HTML page is discovered:

domain.com/press-release

If the URL expression is empty, the URL pattern discovers only the home page:

domain.com

recommendation-more-help
94ec3174-1d6c-4f51-822d-5424bedeecac