Preset Rules: Product Keywords

Product Keywords allows you to automatically tag your products in your Shopify store based on keywords found in the product information.

Smart Tags will look for the specified keyword in the product details, and tag the product if the keyword is found. If the product gets updated and the keyword was removed, the tag will be removed as well.

Smart Tags can be specified to search for the keyword in any of the following:

  • product title
  • product description text body
  • product description raw HTML body

You can create as many keywords as you like, and you can specify where to search for each keyword.


In this article


Edit and enable Product Keywords preset

  1. Select Presets tab in the Smart Tag Rules table
  2. For Product Keywords preset rule, click Edit
  3. Fill in the options available for Product Keyword preset rule to create your first keyword tag rule.
    Note: See Keyword tag rule options to learn about the options available.
  4. Optional: Click on Add another keyword to create additional keyword tag rules.
  5. Check Enable rule checkbox to enable the rule
  6. Remember to click Save to keep changes or Cancel to discard changes

Add keyword tag rule

  1. Select Presets tab in the Smart Tag Rules table
  2. For Product Keywords preset rule, click Edit
  3. In the edit page for Product Keywords, click Add another keyword
  4. Fill in the form fields for the keyword tag rule.
    Note: See Keyword tag rule options to learn about the options available.
  5. Remember to click Save to keep changes or Cancel to discard changes.

Keyword tag rule options

Product Keywords preset allows you to have multiple keyword tag rules. The following table shows the options available for each keyword tag rule:

Option Description Default Required?
Label Tag label to apply to product if the specified keyword is found Empty Yes
Keyword Keyword to look for in the product details.
It can be a single word or words forming a phrase.
Empty Yes
Keyword is case sensitive   Enable option if the keyword is case-sensitive. Disabled No
Search in... Select which product attributes to include in the search. You can select more than one attributes.

Available attributes:
  • Title: Product title
  • Body text: Body text of the product description
  • Raw body HTML: Raw HTML of the product description.
Title Yes
Filter Enable filter to only apply rule to selected products

Learn more about the filter option.
Disabled No

Example uses

Tag products that has keyword in the title

The following option will tag all products with the tag label red-shirt if the keyword Red Shirt is found in the product title.

Option Value
Label red-shirt
Keyword Red Shirt
Search in...
Title

Tag products that has keyword in the description

The following option will tag all products with the tag label red-shirt if the keyword Red Shirt is found in the product description body text.

Option Value
Label red-shirt
Keyword Red Shirt
Search in...
Body Text

Tag products that has keyword in the description HTML

The following option will tag all products with the tag label red-shirt if the keyword Red Shirt is found in the product body raw HTML.

Option Value
Label red-shirt
Keyword Red Shirt
Search in...
Raw Body HTML

Tag products that has keyword with multiple tag labels

You can apply multiple tag labels to product with a specified keyword by creating multiple keyword tag rules.

The following example shows options that will tag all product with tag labels red-shirt and shirt if the keyword Red Shirt is found in the product title.

Option Value
Keyword tag rule #1
Label red-shirt
Keyword Red Shirt
Search in...
Title
Keyword tag rule #2
Label shirt
Keyword Red Shirt
Search in...
Title

Tag products that has multiple keywords with the same tag label

You can apply the same tag to products that has different multiple keyword by creating multiple keyword tag rules.

The following example shows options that will tag all product with the tag label shirt if the keywords Red Shirt or Sleeved Top is found in the product title.

Option Value
Keyword tag rule #1
Label shirt
Keyword Red Shirt
Search in...
Title
Keyword tag rule #2
Label shirt
Keyword Sleeved Top
Search in...
Title