Liquid Template Variables - canonical url

From Spiffy Stores Knowledge Base

It is recommended that you include the following tag in the head section of your theme.liquid file in order to indicate to search engines that your content may be available under a number of different domain names, and should not be considered duplicate content.

<link rel="canonical" href="{{ canonical_url }}" />