{"id":779,"date":"2024-08-26T22:02:28","date_gmt":"2024-08-26T22:02:28","guid":{"rendered":"https:\/\/www.smashpops.com\/blog\/?page_id=779"},"modified":"2024-08-26T22:07:24","modified_gmt":"2024-08-26T22:07:24","slug":"a-b-testing-alternative","status":"publish","type":"page","link":"https:\/\/www.smashpops.com\/blog\/a-b-testing-alternative\/","title":{"rendered":"A\/B testing alternative"},"content":{"rendered":"<p dir=\"ltr\">Unfortunately, we have no built-in A\/B testing feature.<\/p>\n<p dir=\"ltr\">The alternative could be to set up the segmentation manually.<\/p>\n<p>To do so, you could copy your main popup and make the modifications you want (change the title for instance), and then change the &#8220;Display Rules&#8221; targeting (&#8220;Settings &gt; Display rules&#8221;, &#8220;Target &gt; Specific Visitors&#8221;) so that the main popup is displayed when the copied one is not and vice-versa.<\/p>\n<div><\/div>\n<h3>Using the _shopify_y cookie<\/h3>\n<p>If you have a Shopify store, you could take advantage of the <strong>_shopify_y<\/strong> <a href=\"https:\/\/www.shopify.com\/legal\/cookies\" target=\"_blank\" rel=\"noopener noreferrer\">cookie<\/a> : this is a long-lasting cookie (it is stored for one year) that contains a <a href=\"https:\/\/en.wikipedia.org\/wiki\/Universally_unique_identifier\" target=\"_blank\" rel=\"noopener noreferrer\">GUID<\/a> for analytics purposes. A GUID starts with one of these characters : 0 1 2 3 4 5 6 7 8 9 a b c d e f (16 possibilities), so if we want to split the traffic 50\/50 we could set up the copied popup to be displayed if the cookie starts with 0 1 2 3 4 5 6 or 7 (half of the possibilities).<\/p>\n<p>Here is the setup that we would have for the main popup and the copied popup.<\/p>\n<div><\/div>\n<div><img loading=\"lazy\" class=\"alignnone wp-image-780\" src=\"https:\/\/www.smashpops.com\/blog\/wp-content\/uploads\/2024\/08\/image-26.png\" alt=\"\" width=\"562\" height=\"412\" srcset=\"https:\/\/www.smashpops.com\/blog\/wp-content\/uploads\/2024\/08\/image-26.png 996w, https:\/\/www.smashpops.com\/blog\/wp-content\/uploads\/2024\/08\/image-26-300x220.png 300w, https:\/\/www.smashpops.com\/blog\/wp-content\/uploads\/2024\/08\/image-26-768x563.png 768w\" sizes=\"(max-width: 562px) 100vw, 562px\" \/><\/div>\n<div>As you can see, we entered the following text in the cookie targeting :<\/div>\n<pre><em>_shopify_y=0*<\/em>\r\n<em>_shopify_y=1*<\/em>\r\n<em>_shopify_y=2*<\/em>\r\n<em>_shopify_y=3*<\/em>\r\n<em>_shopify_y=4*<\/em>\r\n<em>_shopify_y=5*<\/em>\r\n<em>_shopify_y=6*<\/em>\r\n<em>_shopify_y=7*<\/em><\/pre>\n<p>There is nothing else to set up if those 2 popups are the only active ones.<\/p>\n<p>&nbsp;<\/p>\n<h3>Other alternatives<\/h3>\n<p>If you feel like the _shopify_y cookie method is too complicated or if you don&#8217;t have a Shopify store, you could try one of those configurations :<\/p>\n<p>&#8211; Display the main popup on desktop and the copied one on mobile\/tablet.<\/p>\n<p><img loading=\"lazy\" class=\"alignnone wp-image-783\" src=\"https:\/\/www.smashpops.com\/blog\/wp-content\/uploads\/2024\/08\/image-27.png\" alt=\"\" width=\"557\" height=\"328\" srcset=\"https:\/\/www.smashpops.com\/blog\/wp-content\/uploads\/2024\/08\/image-27.png 1086w, https:\/\/www.smashpops.com\/blog\/wp-content\/uploads\/2024\/08\/image-27-300x177.png 300w, https:\/\/www.smashpops.com\/blog\/wp-content\/uploads\/2024\/08\/image-27-1024x603.png 1024w, https:\/\/www.smashpops.com\/blog\/wp-content\/uploads\/2024\/08\/image-27-768x453.png 768w\" sizes=\"(max-width: 557px) 100vw, 557px\" \/><\/p>\n<p>&#8211; Display the copied popup on a specific page and the main one on the other pages.<\/p>\n<div><img loading=\"lazy\" class=\"alignnone wp-image-784\" src=\"https:\/\/www.smashpops.com\/blog\/wp-content\/uploads\/2024\/08\/image-28.png\" alt=\"\" width=\"543\" height=\"299\" srcset=\"https:\/\/www.smashpops.com\/blog\/wp-content\/uploads\/2024\/08\/image-28.png 1012w, https:\/\/www.smashpops.com\/blog\/wp-content\/uploads\/2024\/08\/image-28-300x165.png 300w, https:\/\/www.smashpops.com\/blog\/wp-content\/uploads\/2024\/08\/image-28-768x423.png 768w\" sizes=\"(max-width: 543px) 100vw, 543px\" \/><\/div>\n<div>&#8211; If you&#8217;re running an ads campaign, you could display the copied popup only if the &#8220;utm_campaign=my_campaign&#8221; query parameter is in the URL.<\/div>\n<div><img loading=\"lazy\" class=\"alignnone wp-image-785\" src=\"https:\/\/www.smashpops.com\/blog\/wp-content\/uploads\/2024\/08\/image-29.png\" alt=\"\" width=\"539\" height=\"302\" srcset=\"https:\/\/www.smashpops.com\/blog\/wp-content\/uploads\/2024\/08\/image-29.png 1000w, https:\/\/www.smashpops.com\/blog\/wp-content\/uploads\/2024\/08\/image-29-300x168.png 300w, https:\/\/www.smashpops.com\/blog\/wp-content\/uploads\/2024\/08\/image-29-768x430.png 768w\" sizes=\"(max-width: 539px) 100vw, 539px\" \/><\/div>\n<p>&#8211; Display the copied popup only in certain countries (and the main ones in all the other countries).<\/p>\n<p>Feel free to reach out to us if you need more information at <a href=\"mailto:support@smashpops.com\">support@smashpops.com<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Unfortunately, we have no built-in A\/B testing feature. The alternative could be to set up the segmentation manually. To do so, you could copy your main popup and make the modifications you want (change the title for instance), and then change the &#8220;Display Rules&#8221; targeting (&#8220;Settings &gt; Display rules&#8221;, &#8220;Target &gt; Specific Visitors&#8221;) so that [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v14.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>A\/B testing alternative - SmashPops Blog<\/title>\n<meta name=\"robots\" content=\"index, follow\" \/>\n<meta name=\"googlebot\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<meta name=\"bingbot\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.smashpops.com\/blog\/a-b-testing-alternative\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"A\/B testing alternative - SmashPops Blog\" \/>\n<meta property=\"og:description\" content=\"Unfortunately, we have no built-in A\/B testing feature. The alternative could be to set up the segmentation manually. To do so, you could copy your main popup and make the modifications you want (change the title for instance), and then change the &#8220;Display Rules&#8221; targeting (&#8220;Settings &gt; Display rules&#8221;, &#8220;Target &gt; Specific Visitors&#8221;) so that [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.smashpops.com\/blog\/a-b-testing-alternative\/\" \/>\n<meta property=\"og:site_name\" content=\"SmashPops Blog\" \/>\n<meta property=\"article:modified_time\" content=\"2024-08-26T22:07:24+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.smashpops.com\/blog\/wp-content\/uploads\/2024\/08\/image-26.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.smashpops.com\/blog\/#organization\",\"name\":\"SmashPops\",\"url\":\"https:\/\/www.smashpops.com\/blog\/\",\"sameAs\":[],\"logo\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/www.smashpops.com\/blog\/#logo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/www.smashpops.com\/blog\/wp-content\/uploads\/2020\/04\/icon1024.png\",\"width\":1024,\"height\":1024,\"caption\":\"SmashPops\"},\"image\":{\"@id\":\"https:\/\/www.smashpops.com\/blog\/#logo\"}},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.smashpops.com\/blog\/#website\",\"url\":\"https:\/\/www.smashpops.com\/blog\/\",\"name\":\"SmashPops Blog\",\"description\":\"Everything you need to know about e-commerce and email collection.\",\"publisher\":{\"@id\":\"https:\/\/www.smashpops.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":\"https:\/\/www.smashpops.com\/blog\/?s={search_term_string}\",\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/www.smashpops.com\/blog\/a-b-testing-alternative\/#primaryimage\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/www.smashpops.com\/blog\/wp-content\/uploads\/2024\/08\/image-26.png\",\"width\":996,\"height\":730},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.smashpops.com\/blog\/a-b-testing-alternative\/#webpage\",\"url\":\"https:\/\/www.smashpops.com\/blog\/a-b-testing-alternative\/\",\"name\":\"A\/B testing alternative - SmashPops Blog\",\"isPartOf\":{\"@id\":\"https:\/\/www.smashpops.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.smashpops.com\/blog\/a-b-testing-alternative\/#primaryimage\"},\"datePublished\":\"2024-08-26T22:02:28+00:00\",\"dateModified\":\"2024-08-26T22:07:24+00:00\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.smashpops.com\/blog\/a-b-testing-alternative\/\"]}]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","_links":{"self":[{"href":"https:\/\/www.smashpops.com\/blog\/wp-json\/wp\/v2\/pages\/779"}],"collection":[{"href":"https:\/\/www.smashpops.com\/blog\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.smashpops.com\/blog\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.smashpops.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.smashpops.com\/blog\/wp-json\/wp\/v2\/comments?post=779"}],"version-history":[{"count":8,"href":"https:\/\/www.smashpops.com\/blog\/wp-json\/wp\/v2\/pages\/779\/revisions"}],"predecessor-version":[{"id":792,"href":"https:\/\/www.smashpops.com\/blog\/wp-json\/wp\/v2\/pages\/779\/revisions\/792"}],"wp:attachment":[{"href":"https:\/\/www.smashpops.com\/blog\/wp-json\/wp\/v2\/media?parent=779"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}