{"id":38,"date":"2023-07-07T16:23:23","date_gmt":"2023-07-07T16:23:23","guid":{"rendered":"https:\/\/www.veeform.com\/blog\/?page_id=38"},"modified":"2026-01-07T11:04:23","modified_gmt":"2026-01-07T11:04:23","slug":"how-are-recommendations-calculated","status":"publish","type":"page","link":"https:\/\/www.veeform.com\/blog\/how-are-recommendations-calculated\/","title":{"rendered":"How do recommendations work?"},"content":{"rendered":"<p>As you know, VeeForm quizzes for eCommerce can recommend products. Let&#8217;s see how the recommendations work.<\/p>\n<p>It is basically a <strong>voting system<\/strong> : votes are added to product variants depending on the visitor&#8217;s answers and <strong>we show the products that have the variants with the highest number of votes at the end<\/strong>.<\/p>\n<ul>\n<li>For each choice question, you can specify collections\/products\/variants to <b>upvote <\/b>and to <strong>exclude<\/strong>.<\/li>\n<li>When a visitor picks an answer, we upvote all variants in your &#8220;upvote&#8221; items and completely remove all variants in your &#8220;exclude&#8221; items.<\/li>\n<li>At the end, we show a list of products that have the variants with the highest number of votes (and at least 1 vote) and that have not been excluded.<\/li>\n<\/ul>\n<p><strong>By default, no product is upvoted<\/strong> : you need to set up &#8220;Question Products&#8221; settings for at least one question to see recommendation results.<\/p>\n<h2>Want more details?<\/h2>\n<p>Let&#8217;s get back to the basics first.<\/p>\n<p>In Shopify, you sell <strong>products<\/strong> : for instance a &#8220;Floral shirt&#8221; and a &#8220;Business shirt&#8221;. Those products can have <strong>variants<\/strong> : for instance the size of the shirt can be &#8220;S&#8221;, &#8220;M&#8221; or &#8220;L&#8221;. Those products can be organized into <strong>collections<\/strong> : for instance the &#8220;Shirts&#8221;.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-43 \" src=\"https:\/\/www.veeform.com\/blog\/wp-content\/uploads\/2023\/07\/definition2.jpg\" alt=\"\" width=\"982\" height=\"218\" srcset=\"https:\/\/www.veeform.com\/blog\/wp-content\/uploads\/2023\/07\/definition2.jpg 1314w, https:\/\/www.veeform.com\/blog\/wp-content\/uploads\/2023\/07\/definition2-300x67.jpg 300w, https:\/\/www.veeform.com\/blog\/wp-content\/uploads\/2023\/07\/definition2-1024x228.jpg 1024w, https:\/\/www.veeform.com\/blog\/wp-content\/uploads\/2023\/07\/definition2-768x171.jpg 768w\" sizes=\"(max-width: 982px) 100vw, 982px\" \/><\/p>\n<p>When shopping on your store, <strong>customers add variants to their cart<\/strong> (even if your product has no variant, Shopify creates a <a href=\"https:\/\/community.shopify.com\/c\/hydrogen-headless-and-storefront\/product-rest-api-product-with-no-variants\/m-p\/1017528\/highlight\/true#M882\">single default one<\/a> for it). Indeed, you may not add a &#8220;Floral Shirt&#8221; in your cart, you need to pick a size : you add the &#8220;Floral Shirt &#8211; Size M&#8221; variant.<\/p>\n<p>In your VeeForm builder, click on the &#8220;Question products&#8221; icon on any choice question and you&#8217;ll see inputs to upvote\/exclude products.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-46 \" src=\"https:\/\/www.veeform.com\/blog\/wp-content\/uploads\/2023\/07\/overview-1.jpg\" alt=\"\" width=\"779\" height=\"377\" srcset=\"https:\/\/www.veeform.com\/blog\/wp-content\/uploads\/2023\/07\/overview-1.jpg 1891w, https:\/\/www.veeform.com\/blog\/wp-content\/uploads\/2023\/07\/overview-1-300x145.jpg 300w, https:\/\/www.veeform.com\/blog\/wp-content\/uploads\/2023\/07\/overview-1-1024x495.jpg 1024w, https:\/\/www.veeform.com\/blog\/wp-content\/uploads\/2023\/07\/overview-1-768x372.jpg 768w, https:\/\/www.veeform.com\/blog\/wp-content\/uploads\/2023\/07\/overview-1-1536x743.jpg 1536w\" sizes=\"(max-width: 779px) 100vw, 779px\" \/><\/p>\n<p>Here, you&#8217;ll be able to select collections, products and variants (indicated by chips starting with &#8220;c&#8221;, &#8220;p&#8221; or &#8220;v&#8221;) :<\/p>\n<ul>\n<li>When a variant is selected, the upvote\/exclude will be applied only to the variant.<\/li>\n<\/ul>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-49 \" src=\"https:\/\/www.veeform.com\/blog\/wp-content\/uploads\/2023\/07\/plusone-variant.jpg\" alt=\"\" width=\"789\" height=\"214\" srcset=\"https:\/\/www.veeform.com\/blog\/wp-content\/uploads\/2023\/07\/plusone-variant.jpg 1364w, https:\/\/www.veeform.com\/blog\/wp-content\/uploads\/2023\/07\/plusone-variant-300x81.jpg 300w, https:\/\/www.veeform.com\/blog\/wp-content\/uploads\/2023\/07\/plusone-variant-1024x278.jpg 1024w, https:\/\/www.veeform.com\/blog\/wp-content\/uploads\/2023\/07\/plusone-variant-768x208.jpg 768w\" sizes=\"(max-width: 789px) 100vw, 789px\" \/><\/p>\n<ul>\n<li>When a product is selected, the upvote\/exclude will be applied to all the variants of the product.<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-50 \" src=\"https:\/\/www.veeform.com\/blog\/wp-content\/uploads\/2023\/07\/plusone-product.jpg\" alt=\"\" width=\"805\" height=\"216\" srcset=\"https:\/\/www.veeform.com\/blog\/wp-content\/uploads\/2023\/07\/plusone-product.jpg 1367w, https:\/\/www.veeform.com\/blog\/wp-content\/uploads\/2023\/07\/plusone-product-300x80.jpg 300w, https:\/\/www.veeform.com\/blog\/wp-content\/uploads\/2023\/07\/plusone-product-1024x274.jpg 1024w, https:\/\/www.veeform.com\/blog\/wp-content\/uploads\/2023\/07\/plusone-product-768x206.jpg 768w\" sizes=\"(max-width: 805px) 100vw, 805px\" \/><\/p>\n<ul>\n<li>When a collection is selected, the upvote\/exclude will be applied to all the variants of all the products of the collection.<\/li>\n<\/ul>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-48 \" src=\"https:\/\/www.veeform.com\/blog\/wp-content\/uploads\/2023\/07\/plusone-collection.jpg\" alt=\"\" width=\"802\" height=\"203\" srcset=\"https:\/\/www.veeform.com\/blog\/wp-content\/uploads\/2023\/07\/plusone-collection.jpg 1381w, https:\/\/www.veeform.com\/blog\/wp-content\/uploads\/2023\/07\/plusone-collection-300x76.jpg 300w, https:\/\/www.veeform.com\/blog\/wp-content\/uploads\/2023\/07\/plusone-collection-1024x259.jpg 1024w, https:\/\/www.veeform.com\/blog\/wp-content\/uploads\/2023\/07\/plusone-collection-768x194.jpg 768w\" sizes=\"(max-width: 802px) 100vw, 802px\" \/><\/p>\n<ul>\n<li>A variant can receive multiple votes at the same time.<\/li>\n<\/ul>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-65 \" src=\"https:\/\/www.veeform.com\/blog\/wp-content\/uploads\/2023\/07\/multi3.jpg\" alt=\"\" width=\"815\" height=\"225\" srcset=\"https:\/\/www.veeform.com\/blog\/wp-content\/uploads\/2023\/07\/multi3.jpg 1229w, https:\/\/www.veeform.com\/blog\/wp-content\/uploads\/2023\/07\/multi3-300x83.jpg 300w, https:\/\/www.veeform.com\/blog\/wp-content\/uploads\/2023\/07\/multi3-1024x283.jpg 1024w, https:\/\/www.veeform.com\/blog\/wp-content\/uploads\/2023\/07\/multi3-768x212.jpg 768w\" sizes=\"(max-width: 815px) 100vw, 815px\" \/><\/p>\n<ul>\n<li>When a variant is excluded, it will NEVER appear in the results, even if it&#8217;s upvoted afterwards.<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p>The visitor answers all questions, and for each question, we compute the score\/exclusion on the variants, and at the end, we take all the upvoted products that still have non-excluded variants, sort them by the max score of their variants and present the winner products (with the winner variant being focused in the dropdown that lists all non-excluded variants).<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-54 \" src=\"https:\/\/www.veeform.com\/blog\/wp-content\/uploads\/2023\/07\/reco.jpg\" alt=\"\" width=\"740\" height=\"552\" srcset=\"https:\/\/www.veeform.com\/blog\/wp-content\/uploads\/2023\/07\/reco.jpg 1052w, https:\/\/www.veeform.com\/blog\/wp-content\/uploads\/2023\/07\/reco-300x224.jpg 300w, https:\/\/www.veeform.com\/blog\/wp-content\/uploads\/2023\/07\/reco-1024x764.jpg 1024w, https:\/\/www.veeform.com\/blog\/wp-content\/uploads\/2023\/07\/reco-768x573.jpg 768w\" sizes=\"(max-width: 740px) 100vw, 740px\" \/><\/p>\n<p>If there is an equality between the top variants of 2 different products, we sort them randomly unless there is one product that you have explicitly mentioned in the upvote and not the other.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Tip :<\/strong> if you&#8217;d like to display an ending with <strong>products separated into sections<\/strong>, take a look at our <a href=\"https:\/\/www.veeform.com\/blog\/dynamic-screen-ending-overview\/\">dynamic ending<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>As you know, VeeForm quizzes for eCommerce can recommend products. Let&#8217;s see how the recommendations work. It is basically a voting system : votes are added to product variants depending on the visitor&#8217;s answers and we show the products that have the variants with the highest number of votes at the end. For each choice [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"powered_cache_disable_cache":false},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How do recommendations work? - VeeForm Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.veeform.com\/blog\/how-are-recommendations-calculated\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How do recommendations work? - VeeForm Blog\" \/>\n<meta property=\"og:description\" content=\"As you know, VeeForm quizzes for eCommerce can recommend products. Let&#8217;s see how the recommendations work. It is basically a voting system : votes are added to product variants depending on the visitor&#8217;s answers and we show the products that have the variants with the highest number of votes at the end. For each choice [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.veeform.com\/blog\/how-are-recommendations-calculated\/\" \/>\n<meta property=\"og:site_name\" content=\"VeeForm Blog\" \/>\n<meta property=\"article:modified_time\" content=\"2026-01-07T11:04:23+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.veeform.com\/blog\/wp-content\/uploads\/2023\/07\/definition2.jpg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.veeform.com\/blog\/how-are-recommendations-calculated\/\",\"url\":\"https:\/\/www.veeform.com\/blog\/how-are-recommendations-calculated\/\",\"name\":\"How do recommendations work? - VeeForm Blog\",\"isPartOf\":{\"@id\":\"https:\/\/www.veeform.com\/blog\/#website\"},\"datePublished\":\"2023-07-07T16:23:23+00:00\",\"dateModified\":\"2026-01-07T11:04:23+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.veeform.com\/blog\/how-are-recommendations-calculated\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.veeform.com\/blog\/how-are-recommendations-calculated\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.veeform.com\/blog\/how-are-recommendations-calculated\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.veeform.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How do recommendations work?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.veeform.com\/blog\/#website\",\"url\":\"https:\/\/www.veeform.com\/blog\/\",\"name\":\"VeeForm Blog\",\"description\":\"Everything you need to know about forms and quizzes.\",\"publisher\":{\"@id\":\"https:\/\/www.veeform.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.veeform.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.veeform.com\/blog\/#organization\",\"name\":\"VeeForm\",\"url\":\"https:\/\/www.veeform.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.veeform.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.veeform.com\/blog\/wp-content\/uploads\/2023\/04\/social.png\",\"contentUrl\":\"https:\/\/www.veeform.com\/blog\/wp-content\/uploads\/2023\/04\/social.png\",\"width\":1024,\"height\":1024,\"caption\":\"VeeForm\"},\"image\":{\"@id\":\"https:\/\/www.veeform.com\/blog\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How do recommendations work? - VeeForm Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.veeform.com\/blog\/how-are-recommendations-calculated\/","og_locale":"en_US","og_type":"article","og_title":"How do recommendations work? - VeeForm Blog","og_description":"As you know, VeeForm quizzes for eCommerce can recommend products. Let&#8217;s see how the recommendations work. It is basically a voting system : votes are added to product variants depending on the visitor&#8217;s answers and we show the products that have the variants with the highest number of votes at the end. For each choice [&hellip;]","og_url":"https:\/\/www.veeform.com\/blog\/how-are-recommendations-calculated\/","og_site_name":"VeeForm Blog","article_modified_time":"2026-01-07T11:04:23+00:00","og_image":[{"url":"https:\/\/www.veeform.com\/blog\/wp-content\/uploads\/2023\/07\/definition2.jpg"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.veeform.com\/blog\/how-are-recommendations-calculated\/","url":"https:\/\/www.veeform.com\/blog\/how-are-recommendations-calculated\/","name":"How do recommendations work? - VeeForm Blog","isPartOf":{"@id":"https:\/\/www.veeform.com\/blog\/#website"},"datePublished":"2023-07-07T16:23:23+00:00","dateModified":"2026-01-07T11:04:23+00:00","breadcrumb":{"@id":"https:\/\/www.veeform.com\/blog\/how-are-recommendations-calculated\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.veeform.com\/blog\/how-are-recommendations-calculated\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.veeform.com\/blog\/how-are-recommendations-calculated\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.veeform.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How do recommendations work?"}]},{"@type":"WebSite","@id":"https:\/\/www.veeform.com\/blog\/#website","url":"https:\/\/www.veeform.com\/blog\/","name":"VeeForm Blog","description":"Everything you need to know about forms and quizzes.","publisher":{"@id":"https:\/\/www.veeform.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.veeform.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.veeform.com\/blog\/#organization","name":"VeeForm","url":"https:\/\/www.veeform.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.veeform.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.veeform.com\/blog\/wp-content\/uploads\/2023\/04\/social.png","contentUrl":"https:\/\/www.veeform.com\/blog\/wp-content\/uploads\/2023\/04\/social.png","width":1024,"height":1024,"caption":"VeeForm"},"image":{"@id":"https:\/\/www.veeform.com\/blog\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/www.veeform.com\/blog\/wp-json\/wp\/v2\/pages\/38"}],"collection":[{"href":"https:\/\/www.veeform.com\/blog\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.veeform.com\/blog\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.veeform.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.veeform.com\/blog\/wp-json\/wp\/v2\/comments?post=38"}],"version-history":[{"count":18,"href":"https:\/\/www.veeform.com\/blog\/wp-json\/wp\/v2\/pages\/38\/revisions"}],"predecessor-version":[{"id":671,"href":"https:\/\/www.veeform.com\/blog\/wp-json\/wp\/v2\/pages\/38\/revisions\/671"}],"wp:attachment":[{"href":"https:\/\/www.veeform.com\/blog\/wp-json\/wp\/v2\/media?parent=38"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}