Pin rules for search

This is for:

Merchandiser

In the Search manager of the Coveo Merchandising Hub (CMH), merchandisers can define Pin ranking rules to make products that match specific criteria appear at the top of the search results when a specific query is performed.

Pin ranking rules can also be used to enforce a specific order of products in the search results when a specific query is performed.

Pin rules | Coveo

Use case examples

Pin ranking rules can be used to address a variety of use cases. Here are a few examples:

  • Enforce a specific order: Pin products to the top of the search results to enforce a specific order when a specific query is performed.

  • Pin best sellers: Pin best-selling products to the top of the search results when a specific query is performed.

  • Pin clearance items: Pin clearance items to the top of the search results when a specific query is performed.

Prerequisites

To create rules, merchandisers must ensure they have properly configured their query pipeline and chosen the correct tracking ID to ensure that their changes impact the intended queries.

Create a pin rule

To create a rule:

  1. In the CMH, access the Search manager.

  2. From the navigation tabs, select Ranking rules.

  3. Click Create ranking rule, and then select For a specific query. Pin rules can only apply to specific queries.

  4. Select the Locale for which the pin rule will apply. By default, a rule applies to all available locales.

  5. Type or select the Query to which the pin rule will apply, and then click Done.

  6. Under Choose an action, select Pin.

  7. To pin a product, you can either search for the product or use the Preview editor to select the products to pin:

    • To search for a product:

      1. Under Product ID or name, select the product to pin.

      2. Under Position number, enter the position number where the product will appear in the search results.

      3. (Optional) If you want to pin more than one product, click Pin another product and repeat the previous steps.

    • When using the Preview editor, drag a product and drop it at the desired position to pin it there.

  8. Click Done.

    Tip
    Leading practice

    You can preview the effect of your rules by using the Preview panel on the right side of the page.

  9. Review the rule configuration, and then click Publish.

  10. In the Publish now panel, enter a meaningful name for the rule, and then click Publish. The rule now applies.

Manage existing pin rules

To manage an existing pin rule:

  1. In the CMH, access the Search manager.

  2. From the navigation tabs, select Ranking rules.

  3. Locate the rule you want to manage.

  4. Click Modify. You now have to option to modify the rule configuration, modify the publish settings, or delete the rule:

    • To modify the rule configuration, click Rule.

    • To modify the publish settings, click Publish settings.

    • To delete the rule, click Delete.