var checkparams = window.location.search; if (checkparams != "") { duplicate = document.createElement('link'); duplicate.href= "https://1.flexiple.com/customer-form"; duplicate.rel='canonical'; document.getElementsByTagName('head')[0].appendChild(duplicate); }

Let's get you started quickly!