I have a custom CMS page with the url of /test
I tried pasting this in the Layout Update XML under Page Layout AND also tried under the Custom Theme Layout Update XML.. both options do not work
<referenceContainer name="before.body.end">
<block class="Magento\Cms\Block\Block">
<arguments>
<argument name="block_id" xsi:type="string">sale_campaign_canonical</argument>
</arguments>
</block>
</referenceContainer>
This sale_campaign_canonical
is a static block available on all storefronts and has
<link rel="canonical" href="/test" />
Inside of it
Thanks