I wrote a custom script on our site that appends a Query String to the Contact us Page URL with the product name the customer is asking about. For example, clicking the button redirects the user to this page:
https://www.domain.com/contact-us/?product_name=Cool Product Name Here
I use JS to grab the product name and put it in the contact us textbox so our reps know what product the customer is asking about.
I'm now getting hundreds of results in SEMRush, and I'd like to know the best way to handle these URL's from an SEO perspective.
Should I:
- Figure out a way to add a Canonical tag to reference the Contact Us Page to these urls
- Disavow these urls from being indexed in the first place
Despite the solution you recommend, what would be the best way to solve it?