CINXE.COM
COVID-19: Travel, testing and borders - Travel.gc.ca
<!DOCTYPE html> <!--[if lt IE 9]><html class="no-js lt-ie9" lang="en" dir="ltr"><![endif]--> <!--[if gt IE 8]><!--> <html class="no-js" lang="en" dir="ltr"> <!--<![endif]--><head> <meta http-equiv="X-UA-Compatible" content="IE=edge"/> <meta charset="utf-8" /> <!-- Web Experience Toolkit (WET) / Boîte à outils de l'expérience Web (BOEW) wet-boew.github.io/wet-boew/License-en.html / wet-boew.github.io/wet-boew/Licence-fr.html --> <!-- Adobe Analytics RUN PROD 1of2 start --> <script src="//assets.adobedtm.com/be5dfd287373/0127575cd23a/launch-f7c3e6060667.min.js"></script> <!-- Adobe Analytics RUN PROD 1of2 end --> <title>COVID-19: Travel, testing and borders - Travel.gc.ca</title> <link href="/wet-boew/themes-dist-15.0.0-gcweb/GCWeb/assets/favicon.ico" rel="shortcut icon" /> <meta content="width=device-width, initial-scale=1" name="viewport" /> <meta name="description" content="COVID-19 border measures have ended as of October 1, 2022 for all travellers entering or returning to Canada by air, land or sea." /> <meta name="keywords" content="government,Canada,service,information, travel, quarantine, borders, travelling, citizenship, immigration, documents, transport, passports, coronavirus, covid-19"> <meta name="dcterms.creator" content="Global Affairs Canada" /> <meta name="dcterms.title" content="COVID-19: Travel, testing and borders - Travel.gc.ca" /> <meta name="dcterms.issued" title="W3CDTF" content="2020-12-17" /> <meta name="dcterms.modified" title="W3CDTF" content="2024-04-08" /> <meta name="dcterms.subject" title="scheme" content="Coronavirus, covid-19, quarantine, cruise" /> <meta name="dcterms.language" title="ISO639-2/T" content="eng" /> <meta name="dcterms:service" content="GAC-AMC_Travel" /> <meta name="dcterms.accessRights" content="2" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <!--[if gte IE 9 | !IE ]><!--> <link href="/wet-boew/themes-dist-15.0.0-gcweb/GCWeb/assets/favicon.ico" rel="icon" type="image/x-icon" /> <link rel="stylesheet" href="/wet-boew/themes-dist-15.0.0-gcweb/GCWeb/css/wet-boew.min.css" /> <!--<![endif]--> <link rel="stylesheet" href="/wet-boew/themes-dist-15.0.0-gcweb/GCWeb/css/theme.min.css" /> <!--[if lt IE 9]> <link href="/wet-boew/themes-dist-15.0.0-gcweb/GCWeb/assets/favicon.ico" rel="shortcut icon" /> <link rel="stylesheet" href="/wet-boew/themes-dist-15.0.0-gcweb/GCWeb/css/ie8-wet-boew.min.css" /> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> <script src="/wet-boew/themes-dist-15.0.0-gcweb/wet-boew/js/ie8-wet-boew.min.js"></script> <![endif]--> <!--[if lte IE 9]> <![endif]--> <noscript><link rel="stylesheet" href="/wet-boew/themes-dist-15.0.0-gcweb/GCWeb/css/noscript.min.css" /></noscript> <script>dataLayer1 = [];</script> <link rel="stylesheet" href="/vt/custom/css/site-wide.css?v=2.0.2" /> <!-- Canada.ca Invitation Manager 1 of 2 start --> <link rel="stylesheet" href="/vt/custom/css/Overlay.css" /> <!-- Canada.ca Invitation Manager 1 of 2 end --> <script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-3543698-9']); _gaq.push(['_gat._anonymizeIp']); _gaq.push(['_setAllowLinker', true]); _gaq.push(['_trackPageview']); _gaq.push(['_setAccount', 'UA-22842344-1']); _gaq.push(['_gat._anonymizeIp']); _gaq.push(['_setAllowLinker', true]); _gaq.push(['_trackPageview']); (function () { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); </script> <!-- Google Tag Manager GAC --> <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','GTM-TB8GZJ');</script> <!-- End Google Tag Manager GAC --> <!-- Global site tag (gtag.js) - Google Analytics - GAC Master (GA4) start --> <script async src="https://www.googletagmanager.com/gtag/js?id=G-MTE7792H4X"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-MTE7792H4X'); </script> <!-- Global site tag (gtag.js) - Google Analytics - GAC Master (GA4) end --> <!-- Global site tag (gtag.js) - Google Analytics – GAC Travel (GA4) start --> <script async src="https://www.googletagmanager.com/gtag/js?id=G-BLSLH9RRC0"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-BLSLH9RRC0'); </script> <!-- Global site tag (gtag.js) - Google Analytics – GAC Travel (GA4) end --> <link href="/vt/dynamic/eng/covid-19-pd/css/wizard.css" rel="stylesheet"> <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.1/css/all.css" integrity="sha384-50oBUHEmvpQ+1lW4y57PTFmhCaXp0ML5d60M1M7uH2+nqUivzIebhndOJK28anvf" crossorigin="anonymous"/> <body vocab="http://schema.org/" typeof="WebPage"> <!-- Google Tag Manager GAC (noscript) --> <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-TB8GZJ" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> <!-- End Google Tag Manager GAC (noscript) --> <ul id="wb-tphp"> <li class="wb-slc"> <a class="wb-sl" href="#wb-cont">Skip to main content</a> </li> <li class="wb-slc visible-sm visible-md visible-lg"> <a class="wb-sl" href="#wb-info">Skip to "About this site"</a> </li> </ul> <header> <div id="wb-bnr" class="container"> <section id="wb-lng" class="text-right"> <h2 class="wb-inv">Language selection</h2> <ul class="list-inline margin-bottom-none"> <li id="gcwu-gcnb-lang"><a href="http://voyage.gc.ca/voyage-covid" lang="fr">Français</a></li> </ul> </section> <div class="row"> <div class="brand col-xs-5 col-md-4"> <a href="https://www.canada.ca/en.html"><img src="/wet-boew/themes-dist-15.0.0-gcweb/GCWeb/assets/sig-blk-en.svg" alt="Government of Canada"><span class="wb-inv"> Government of Canada / <span lang="fr">Gouvernement du Canada</span></span></a> </div> <section id="wb-srch" class="col-lg-8 text-right"> <h2>Search Travel.gc.ca</h2> <form action="https://www.canada.ca/en/services/travel/search.html?#wb-land" method="get" name="cse-search-box" role="search" class="form-inline"> <div class="form-group"> <label for="wb-srch-q" class="wb-inv">Search website</label> <input name="cdn" value="canada" type="hidden"/> <input name="langs" value="eng" type="hidden"/> <input id="wb-srch-q" class="wb-srch-q form-control" name="q" type="search" value="" size="34" maxlength="170" placeholder="Search Travel.gc.ca"/> <input type="hidden" name="_charset_" value="UTF-8"/> <datalist id="wb-srch-q-ac"> </datalist> </div> <!--<form action="https://www.canada.ca/en/sr/srb/sra.html/rGs/s_r?#wb-land" method="get" name="cse-search-box" role="search" class="form-inline"> <div class="form-group"> <label for="wb-srch-q" class="wb-inv">Search website</label> <input name="cdn" value="canada" type="hidden"/> <input name="st" value="s" type="hidden"/> <input name="num" value="10" type="hidden"/> <input name="st1rt" value="1" type="hidden"/> <input name="langs" value="eng" type="hidden"/> <input name="st1rt" value="0" type="hidden"> <input name="s5bm3ts21rch" value="x" type="hidden"/> <input name="dmn" value="travel.gc.ca" type="hidden"/> <input id="wb-srch-q" class="wb-srch-q form-control" name="allq" type="search" value="" size="34" maxlength="170" placeholder="Search Travel.gc.ca"/> <input type="hidden" name="_charset_" value="UTF-8"/> <datalist id="wb-srch-q-ac"> </datalist> </div>--> <!--<div class="form-group"> <label for="wb-srch-q" class="wb-inv">Search website</label> <input name="cdn" value="canada" type="hidden" /> <input name="st" value="s" type="hidden" /> <input name="num" value="10" type="hidden" /> <input name="langs" value="eng" type="hidden" /> <input name="st1rt" value="0" type="hidden"> <input name="s5bm3ts21rch" value="x" type="hidden" /> <input id="wb-srch-q" class="wb-srch-q form-control" name="q" type="search" value="" size="34" maxlength="170" placeholder="Search Canada.ca" /> </div> --> <div class="form-group submit"> <button type="submit" id="wb-srch-sub" class="btn btn-primary btn-small" name="wb-srch-sub"><span class="glyphicon-search glyphicon"></span><span class="wb-inv">Search</span></button> </div> </form> </section> </div> </div> <nav class="gcweb-menu" typeof="SiteNavigationElement"> <div class="container"> <h2 class="wb-inv">Menu</h2> <button type="button" aria-haspopup="true" aria-expanded="false"><span class="wb-inv">Main </span>Menu <span class="expicon glyphicon glyphicon-chevron-down"></span></button> <ul role="menu" aria-orientation="vertical" data-ajax-replace="https://www.canada.ca/content/dam/canada/sitemenu/sitemenu-v2-en.html"> <li role="presentation"><a role="menuitem" href="https://www.canada.ca/en/services/jobs.html">Jobs and the workplace</a></li> <li role="presentation"><a role="menuitem" href="https://www.canada.ca/en/services/immigration-citizenship.html">Immigration and citizenship</a></li> <li role="presentation"><a role="menuitem" href="https://travel.gc.ca/">Travel and tourism</a></li> <li role="presentation"><a role="menuitem" href="https://www.canada.ca/en/services/business.html">Business and industry</a></li> <li role="presentation"><a role="menuitem" href="https://www.canada.ca/en/services/benefits.html">Benefits</a></li> <li role="presentation"><a role="menuitem" href="https://www.canada.ca/en/services/health.html">Health</a></li> <li role="presentation"><a role="menuitem" href="https://www.canada.ca/en/services/taxes.html">Taxes</a></li> <li role="presentation"><a role="menuitem" href="https://www.canada.ca/en/services/environment.html">Environment and natural resources</a></li> <li role="presentation"><a role="menuitem" href="https://www.canada.ca/en/services/defence.html">National security and defence</a></li> <li role="presentation"><a role="menuitem" href="https://www.canada.ca/en/services/culture.html">Culture, history and sport</a></li> <li role="presentation"><a role="menuitem" href="https://www.canada.ca/en/services/policing.html">Policing, justice and emergencies</a></li> <li role="presentation"><a role="menuitem" href="https://www.canada.ca/en/services/transport.html">Transport and infrastructure</a></li> <li role="presentation"><a role="menuitem" href="http://international.gc.ca/world-monde/index.aspx?lang=eng">Canada and the world</a></li> <li role="presentation"><a role="menuitem" href="https://www.canada.ca/en/services/finance.html">Money and finances</a></li> <li role="presentation"><a role="menuitem" href="https://www.canada.ca/en/services/finance.html">Science and innovation</a></li> </ul> </div> </nav> <nav role="navigation" id="wb-bc" class="" property="breadcrumb"> <h2>You are here:</h2> <div class="container"> <div class="row"> <ol class="breadcrumb"> <li><a href="http://canada.ca/en/index.html">Canada.ca</a></li> <li><a href="/">Travel</a></li> </ol> </div> </div> </nav> </header> <!--<div class="container"> <div class="row"> <section class="alert alert-info mrgn-bttm-0"> <p>Help us to improve our website. <a href="https://travel.gc.ca/survey" target="_blank">Take our survey</a>!</p> </section> </div> </div> <br /> --> <!-- GCWEB SEARCH CODE - START -- PLS. DO NOT REMOVE --> <span typeof="Organization"><meta property="legalName" content="Department_of_Foreign_Affairs__Trade_and_Development"></span> <!-- GCWEB SEARCH CODE - END --> <!-- GAC Survey START --> <!--<section id="surveyInvite" class="hidden-print wb-overlay modal-content overlay-def wb-popup-mid survey"> <header class="modal-header"> <h2 id="surveyInviteTitle" class="modal-title"></h2> </header> <div class="modal-body"> <div id="surveyInviteContent"></div> <ul class="list-inline mrgn-bttm-0"> <li class="mrgn-tp-md"> <a id="surveyInviteYes" class="btn btn-primary" href="" target="_blank"></a></li> <li class="mrgn-tp-md"> <a id="surveyInviteNo" class="btn btn-default overlay-close"></a> </li> </ul> </div> </section>--> <!-- GAC Survey END --> <main role="main" property="mainContentOfPage" class="container"> <div class="mwsmediaplayer section"> <h1 property="name" id="wb-cont" dir="ltr">COVID-19: Travel, testing and borders</h1> </div> <section class="well well-sm brdr-0 mrgn-bttm-0"> <div class="container"> <div class="col-md-3"> <h2 id="return-enter-Canada" class="mrgn-tp-sm h3">Return or travel to Canada</h2> </div> <div class="col-md-9"> <div class="mrgn-tp-sm"> <p><strong>For all travellers entering Canada by air, land or marine mode:</strong></p> <ul class="mrgn-tp-0 mrgn-bttm-md colcount-md-1"> <li>Proof of COVID-19 vaccination is <strong>not required</strong></li> <li>Pre-board testing is <strong>not required</strong> </li> <li>COVID-19 pre-entry and arrival tests are <strong>not required</strong></li> <li>Quarantine after you enter Canada is <strong>not required</strong></li> <li>Using ArriveCAN is <strong>not required, but</strong> <ul> <li>to save time at the border, you can use <a href="https://www.canada.ca/en/border-services-agency/services/arrivecan/declaration.html">Advance Declaration in ArriveCAN</a> to submit your customs and immigration declaration before flying into Canada</li> </ul> </li> <li>Pre-boarding tests for cruise passengers are <strong>not required</strong></li> <li>As always, <a href="https://www.cbsa-asfc.gc.ca/travel-voyage/td-dv-eng.html">travel documents </a> are required</li> <li>Health checks to board planes and trains are <strong>not required</strong></li> <li>Wearing masks on planes and trains is <strong>not required</strong> <ul> <li>It's strongly recommended that you wear a <a href="https://www.canada.ca/en/public-health/services/diseases/2019-novel-coronavirus-infection/prevention-risks.html#wm">well-constructed and well-fitted mask or respirator</a> while you travel</li> </ul> </li> </ul> <p>If you have <a href="https://www.canada.ca/en/public-health/services/diseases/2019-novel-coronavirus-infection/symptoms.html">symptoms of COVID-19</a>, you shouldn't travel to Canada.</p> <p>If you feel sick or experience any symptoms of COVID-19 during your travel to Canada or upon arrival, you should:</p> <ul> <li>inform the flight attendant, cruise staff or a border services officer upon arrival. You may be referred to a Quarantine Officer for a health assessment and further direction.</li> <li>avoid taking public transportation</li> <li>check <a href="https://www.canada.ca/en/public-health/services/diseases/2019-novel-coronavirus-infection/symptoms/provincial-territorial-resources-covid-19.html ">provincial or territorial requirements</a> for what you need to do if you’re symptomatic or have tested positive for COVID-19</li> </ul> </div> </div> </div> </section> <section class="well-sm"> <div class="container"> <div class="col-md-3"> <h2 class="mrgn-tp-sm h3" id="travelling-canada">Travelling in and out of Canada</h2> </div> <div class="col-md-9"> <ul class="mrgn-tp-0 mrgn-bttm-md colcount-md-1"> <li><a href="/travelling/advisories">International travel advice and advisories</a></li> <li><a href="https://travel.gc.ca/travelling/health-safety/travel-health-notices/513">COVID-19 and international travel</a></li> <li><a href="https://www.canada.ca/en/public-health/services/diseases/coronavirus-disease-covid-19/vaccines/life-after-vaccination/vaccine-proof.html">Proof of vaccination</a></li> <li><a href="https://ircc.canada.ca/english/visit/visas.asp">Find out if you need a visa</a></li> </ul> <p>Wearing masks on planes and trains in Canada is <strong>not required.</strong></p> <ul> <li>It's still strongly recommended that you wear a <a href="https://www.canada.ca/en/public-health/services/diseases/2019-novel-coronavirus-infection/prevention-risks.html#wm">high quality and well-fitted mask or respirator</a> while you travel</li> </ul> </div> </div> </section> <section class="well well-sm brdr-0 mrgn-bttm-0"> <div class="container"> <div class="col-md-3"> <h2 class="mrgn-tp-sm h3" id="situation">Situation in Canada</h2> </div> <div class="col-md-9"> <ul class="mrgn-tp-0 mrgn-bttm-md colcount-md-1"> <li><a href="https://www.canada.ca/en/public-health/services/diseases/coronavirus-disease-covid-19.html">COVID-19 guidance, vaccines, limiting the spread</a></li> <li><a href="https://www.canada.ca/en/public-health/services/diseases/coronavirus-disease-covid-19/testing-screening-contact-tracing/summary-data-travellers.html">Summary data about travellers, testing and compliance</a></li> </ul> <p>The Government of Canada will continue to monitor the situation. See the <a href="https://www.canada.ca/en/public-health/news/2022/09/covid-19-border-measures.html">COVID-19 border measures backgrounder</a>.</p> </div> </div> </section> <!-- Feedback, Page Share--> <div class="row row-no-gutters mrgn-tp-xl"> <div class="col-sm-7 col-lg-6"> </div> <div class="col-sm-3 col-sm-offset-1 col-lg-offset-3"> <!-- PAGE SHARE--> <div class="wb-share" data-wb-share="{"pnlId":"pnlShrPg", "lnkClass": "btn btn-default btn-block mrgn-tp-md"}"></div> </div> </div> <!-- Date Modified --> <!-- PAGE MODIFIED --> <div class="pagedetails"> <dl id="wb-dtmd"> <dt>Date modified: </dt> <dd><time property="dateModified">2024-04-08</time></dd> </dl> </div> </main> <footer id="wb-info"> <h2 class="wb-inv">About this site</h2> <div class="gc-contextual"> <div class="container"> <nav> <h3>Travel and tourism</h3> <ul class="list-col-xs-1 list-col-sm-2 list-col-md-3"> <li> <a href="/contact">Contact us</a> </li> </nav> </div> </div> <div class="gc-main-footer"> <div class="container"> <nav> <h3>Government of Canada</h3> <ul class="list-col-xs-1 list-col-sm-2 list-col-md-3"><li><a href="https://www.canada.ca/en/contact.html">All contacts</a></li> <li><a href="https://www.canada.ca/en/government/dept.html">Departments and agencies</a></li> <li><a href="https://www.canada.ca/en/government/system.html">About government</a></li></ul> <h4><span class="wb-inv">Themes and topics</span></h4> <ul class="list-unstyled colcount-sm-2 colcount-md-3"><li><a href="https://www.canada.ca/en/services/jobs.html">Jobs</a></li> <li><a href="https://www.canada.ca/en/services/immigration-citizenship.html">Immigration and citizenship</a></li> <li><a href="https://travel.gc.ca/">Travel and tourism</a></li> <li><a href="https://www.canada.ca/en/services/business.html">Business</a></li> <li><a href="https://www.canada.ca/en/services/benefits.html">Benefits</a></li> <li><a href="https://www.canada.ca/en/services/health.html">Health</a></li> <li><a href="https://www.canada.ca/en/services/taxes.html">Taxes</a></li> <li><a href="https://www.canada.ca/en/services/environment.html">Environment and natural resources</a></li> <li><a href="https://www.canada.ca/en/services/defence.html">National security and defence</a></li> <li><a href="https://www.canada.ca/en/services/culture.html">Culture, history and sport</a></li> <li><a href="https://www.canada.ca/en/services/policing.html">Policing, justice and emergencies</a></li> <li><a href="https://www.canada.ca/en/services/transport.html">Transport and infrastructure</a></li> <li><a href="https://international.gc.ca/world-monde/index.aspx?lang=eng">Canada and the world</a></li> <li><a href="https://www.canada.ca/en/services/finance.html">Money and finance</a></li> <li><a href="https://www.canada.ca/en/services/science.html">Science and innovation</a></li> <li><a href="https://www.canada.ca/en/services/indigenous-peoples.html">Indigenous peoples</a></li> <li><a href="https://www.canada.ca/en/services/veterans.html">Veterans and military</a></li> <li><a href="https://www.canada.ca/en/services/youth.html">Youth</a></li></ul> </nav> </div> </div> <div class="gc-sub-footer"> <div class="container d-flex align-items-center"> <nav> <h3 class="wb-inv">Government of Canada Corporate</h3> <ul> <li><a href="https://www.canada.ca/en/social.html">Social media</a></li> <li><a href="https://www.canada.ca/en/mobile.html">Mobile applications</a></li> <li><a href="https://www.canada.ca/en/government/about.html">About Canada.ca</a></li><li><a href="https://www.canada.ca/en/transparency/terms.html">Terms and conditions</a></li> <li><a href="https://www.canada.ca/en/transparency/privacy.html">Privacy</a></li></ul> </nav> <div class="wtrmrk align-self-end"> <img src="https://wet-boew.github.io/themes-dist/GCWeb/GCWeb/assets/wmms-blk.svg" alt="Symbol of the Government of Canada" /> </div> </div> </div> </footer><!-- Adobe Analytics RUN PROD 2of2 start --> <script type="text/javascript">_satellite.pageBottom();</script> <!-- Adobe Analytics RUN PROD 2of2 end --> <!--[if gte IE 9 | !IE ]><!--> <script src="/wet-boew/themes-dist-15.0.0-gcweb/wet-boew/js/jquery/2.2.4/jquery.min.js"></script> <script src="/wet-boew/themes-dist-15.0.0-gcweb/wet-boew/js/wet-boew.min.js"></script> <!--<![endif]--> <!--[if lt IE 9]> <script arc="/wet-boew/themes-dist-15.0.0-gcweb/GCWeb/js/ie8-wet-boew2.min.js"></script> <![endif]--> <script src="/wet-boew/themes-dist-15.0.0-gcweb/GCWeb/js/theme.min.js"></script> <script> function randomlink(elem){ var randomlinks=new Array() randomlinks[0]="http://www.loop11.com/usability-test/27493/introduction/" randomlinks[1]="https://uo2bu602.optimalworkshop.com/optimalsort/atvu7sd2-0" elem.href = randomlinks[Math.floor(Math.random()*randomlinks.length)]; return false; } function randomlink2(elem){ var randomlinks2=new Array() randomlinks2[0]="http://www.loop11.com/usability-test/27902/introduction/" randomlinks2[1]="https://uo2bu602.optimalworkshop.com/optimalsort/x0rfm3a1" elem.href = randomlinks2[Math.floor(Math.random()*randomlinks2.length)]; return false; } </script> <!-- Canada.ca Invitation Manager 2 of 2 start --> <script src="/vt/custom/js/Overlay.js"></script> <script src="/vt/custom/js/InvitationManager.js"></script> <!-- Canada.ca Invitation Manager 2 of 2 end --> <!--<script> var randomlinks=new Array() randomlinks[0]="http://www.loop11.com/usability-test/27493/introduction/" randomlinks[1]="https://uo2bu602.optimalworkshop.com/optimalsort/atvu7sd2-0" function randomlink(){ window.location=randomlinks[Math.floor(Math.random()*randomlinks.length)] } </script> <script> var randomlinks2=new Array() randomlinks2[0]="http://www.loop11.com/usability-test/27902/introduction/" randomlinks2[1]="https://uo2bu602.optimalworkshop.com/optimalsort/x0rfm3a1" function randomlink2(){ window.location=randomlinks2[Math.floor(Math.random()*randomlinks2.length)] } </script> --> <!-- START SCRIPT PAGE FEEDBACK WIDGET --> <script> $(document).on("wb-ready.wb", function() { $("#btnno").click(function(e) { $(".gc-pg-hlpfl-no").removeClass("nojs-show"); $(".gc-pg-hlpfl-btn").addClass("hide"); $("#helpful").val("No"); }); $("#gc-pg-hlpfl-frm").submit(function(e) { e.preventDefault(); $(".gc-pg-hlpfl-thnk").removeClass("hide"); $("#gc-pg-hlpfl-frm").addClass("hide nojs-show"); $.ajax({ url: 'https://pagesuccessemailqueue.azurewebsites.net/api/QueueProblemForm', type: 'POST', dataType: 'text', data: $('form#gc-pg-hlpfl-frm').serialize(), success: function(data) {}, error: function(xhr, status, err) { console.log(xhr.responseText); } }); }); }); </script> <!-- END SCRIPT PAGE FEEDBACK WIDGET --> </body> </html>