{"id":10371,"date":"2025-04-01T19:05:34","date_gmt":"2025-04-01T11:05:34","guid":{"rendered":"https:\/\/help.ptengine.com\/?post_type=docs&#038;p=10371"},"modified":"2025-04-01T19:23:54","modified_gmt":"2025-04-01T11:23:54","slug":"create-a-redirecting-test","status":"publish","type":"docs","link":"https:\/\/help.ptengine.com\/docs\/create-a-redirecting-test\/","title":{"rendered":"Create a redirecting test"},"content":{"rendered":"<p>In this section, we will explain in detail what Redirect Tests are and how Ptengine implements them. Before reading this section, we highly recommend reviewing the content on A\/B Testing.<\/p>\n<h2>Quickly Understand Redirect Tests<\/h2>\n<p>When optimizing pages, we often encounter multiple influencing factors. Focusing on a single element may not yield scientifically sound results. In these cases, we strongly recommend using Redirect Tests. By setting up multiple page versions with different URLs (e.g.,\u00a0www.ptengine.com\/new-in,\u00a0www.ptengine.com\/new-in-1,\u00a0www.ptengine.com\/new-in-2) using URL rules, we can test whether page modifications have a measurable impact on our GOAL metrics.<\/p>\n<p>Example:\u00a0Product Listing Page: We currently have multiple product lines with similar target audiences, but with significantly different original prices and themes. We've created multiple listing pages, each featuring different product lines prominently at the top. We want the URLs of these pages to remain distinct, so users don't perceive them as the same page. We can then use Ptengine Redirect Tests to validate which product line resonates most with our users.<\/p>\n<p>How to Configure a Redirect Test Experiment<\/p>\n<p>To conduct a Redirect Test, you will need to prepare at least two page versions: the original version and a test version containing your modifications, each with a distinct URL.<\/p>\n<p>Tip:\u00a0For the original page being redirected, ensure the Ptengine Basic Tag is installed within the\u00a0<head>\u00a0tag of the page's HTML file.<\/p>\n<ol>\n<li>Prepare the URLs for Testing.<\/li>\n<\/ol>\n<ul>\n<li>Control Group:\u00a0<a href=\"https:\/\/www.google.com\/url?sa=E&amp;q=http%3A%2F%2Fwww.ptengine.com%2Fnew-in\"><strong>www.ptengine.com\/new-in<\/strong><\/a><\/li>\n<li>Test Group:\u00a0<a href=\"https:\/\/www.google.com\/url?sa=E&amp;q=http%3A%2F%2Fwww.ptengine.com%2Fnew-in-1\"><strong>www.ptengine.com\/new-in-1<\/strong><\/a>\n<ol start=\"2\">\n<li>Create a new experience and select Redirect Test.<br \/>\n<img src=\"https:\/\/help.ptengine.com\/wp-content\/uploads\/2025\/04\/image-2025-04-01T190318.153.png\" alt=\"\" \/><\/li>\n<li>Enter the original URL to redirect and the test page URL.<br \/>\n<img src=\"https:\/\/help.ptengine.com\/wp-content\/uploads\/2025\/04\/image-2025-04-01T190408.662.png\" alt=\"\" \/><br \/>\nIf you want to restrict the page conditions for testing, refer to the following example.<br \/>\n<img src=\"https:\/\/help.ptengine.com\/wp-content\/uploads\/2025\/04\/image-2025-04-01T190410.770.png\" alt=\"\" \/><\/li>\n<\/ol>\n<\/li>\n<\/ul>\n<p>Note:\u00a0If parameters are configured for the URLs mentioned above, please refer to the following parameter passing rules:<\/p>\n<p>Example: Redirecting from &quot;a.com&quot; to &quot;b.com&quot;<\/p>\n<ul>\n<li>If b.com has no parameters:\u00a0Parameters from a.com are fully inherited.<\/li>\n<\/ul>\n<p>Original page\uff1aa.com?utm_source=xxx <\/p>\n<p>Redirect page\uff1ab.com<\/p>\n<p>Result\uff1aa.com?utm_source=xxx \u2192 b.com?utm_source=xxx<\/p>\n<ul>\n<li><strong>If a.com and b.com have different parameters:<\/strong>\u00a0Parameters are merged.<\/li>\n<\/ul>\n<p>Original Page: <a href=\"http:\/\/a.com\/?utm_source=xxx\">a.com?utm_source=xxx<\/a><\/p>\n<p>Redirect Target Page: <a href=\"http:\/\/b.com\/?utm_medium=yyy\">b.com?utm_medium=yyy<\/a><\/p>\n<p>Result: <a href=\"http:\/\/a.com\/?utm_source=xxx\">a.com?utm_source=xxx<\/a> \u2192 <a href=\"http:\/\/b.com\/?utm_medium=yyy&amp;utm_source=xxx\">b.com?utm_medium=yyy&amp;utm_source=xxx<\/a><\/p>\n<ul>\n<li><strong>If a.com and b.com have the same parameters:<\/strong>\u00a0Parameters from a.com will be overwritten by b.com's parameters.<\/li>\n<\/ul>\n<p>Original Page: <a href=\"http:\/\/a.com\/?utm_source=xxx\">a.com?utm_source=xxx<\/a><\/p>\n<p>Redirect Target Page: <a href=\"http:\/\/b.com\/?utm_source=yyy\">b.com?utm_source=yyy<\/a><\/p>\n<p>Result: <a href=\"http:\/\/a.com\/?utm_source=xxx\">a.com?utm_source=xxx<\/a> \u2192 <a href=\"http:\/\/b.com\/?utm_source=yyy\">b.com?utm_source=yyy<\/a><\/p>\n<h3>Edit Experience, One-Click Publish<\/h3>\n<p>Enter the Experience editing interface to configure settings such as &quot;Target Audience,&quot; &quot;Experience Goals,&quot; and &quot;Publish Time.&quot;<\/p>\n<p>Once you have confirmed everything is correct, publish your Experience.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this section, we will explain in detail what Redirec&hellip;&nbsp;<a href=\"https:\/\/help.ptengine.com\/docs\/create-a-redirecting-test\/\" class=\"\" rel=\"bookmark\">\u9605\u8bfb\u66f4\u591a &raquo;<span class=\"screen-reader-text\">Create a redirecting test<\/span><\/a><\/p>\n","protected":false},"author":32,"featured_media":0,"parent":0,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"doc_category":[104],"doc_tag":[],"_links":{"self":[{"href":"https:\/\/help.ptengine.com\/wp-json\/wp\/v2\/docs\/10371"}],"collection":[{"href":"https:\/\/help.ptengine.com\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/help.ptengine.com\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/help.ptengine.com\/wp-json\/wp\/v2\/users\/32"}],"replies":[{"embeddable":true,"href":"https:\/\/help.ptengine.com\/wp-json\/wp\/v2\/comments?post=10371"}],"version-history":[{"count":1,"href":"https:\/\/help.ptengine.com\/wp-json\/wp\/v2\/docs\/10371\/revisions"}],"predecessor-version":[{"id":10375,"href":"https:\/\/help.ptengine.com\/wp-json\/wp\/v2\/docs\/10371\/revisions\/10375"}],"wp:attachment":[{"href":"https:\/\/help.ptengine.com\/wp-json\/wp\/v2\/media?parent=10371"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/help.ptengine.com\/wp-json\/wp\/v2\/doc_category?post=10371"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/help.ptengine.com\/wp-json\/wp\/v2\/doc_tag?post=10371"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}