Does anyone know where I can put the canonical code?

Supposed to go in the header but no spot in the headings for it in the dash. There is a spot in settings>tracking tools where you can input code into the header but it wont save..

<link rel="canonical" href="https://sports-addict.com" />

 

This is the error message.

Invalid HTML detected. Only <script> <noscript> <meta> are allowed as root HTML tags.

 

Thank you for the help.. Mike

4,262 Views
Message 1 of 7
Report
6 REPLIES 6
Square Champion

@mlgaspar 

 

Is this the area you are talking about?

 

 

https://squareup.com/help/us/en/article/6957-add-custom-tracking-code-to-your-website

Donnie
Multi-Unit Manager | Founder, Table & Ledger
tableandledger.com

Square AI Champion | Using Square since July, 2017

"Good judgment comes from experience, and experience comes from bad judgment."

"You can have everything in life you want, if you will just help other people get what they want." - Z.Z.

"AI doesn't replace your judgment. It gives your judgment better information to work with."
4,228 Views
Message 2 of 7
Report

That's an article but doesn't explain why you can't enter the canonical code in the proper spot. Amazed that nobody knows.. 

4,174 Views
Message 3 of 7
Report
Alumni

Hello, @mlgaspar

 

We escalated your case to our Square Online Team to take a closer look at your issue. It seems like you have figured it out. Please let us know if you still need assistance with your website. We'd be happy to continue helping you. 

 

Have a great day!  

Sayra
Community Moderator, Square // Moderadora de la Comunidad, Square
Sign in and click Mark as Best Answer if my reply answers your question.
Inicie seción y haga clic en Marcar como "Mejor Respuesta" si mi respuesta contesta su pregunta.
4,130 Views
Message 4 of 7
Report

Hello Sayra.. thank you for the message but what did I figure out?

4,126 Views
Message 5 of 7
Report
Alumni

Our apologies for the confusion @mlgaspar. We can see that you were able to successfully save the code under Settings > Tracking Tools. If this was not the case, please let us know. 

Sayra
Community Moderator, Square // Moderadora de la Comunidad, Square
Sign in and click Mark as Best Answer if my reply answers your question.
Inicie seción y haga clic en Marcar como "Mejor Respuesta" si mi respuesta contesta su pregunta.
4,066 Views
Message 6 of 7
Report

Hello Sayra.. I did put the proper code in but it doesn't work. How can I get my site to show sports-addict.com and not www.sports-addict.com? 

3,394 Views
Message 7 of 7
Report