Can I add a custom canonical URL to a page if also using SEOmatic? SEOmatic puts a canonical on every page. But some pages I need to be able to add a custom canonical, but not sure how to overide SEOmatic's otherwise there will be two.
Robin's answer above is valid, but I have managed to create an override in my main _layout template like this:

{% if entry.canonicalUrl|length &gt; 0 %}
    {% set seomaticMeta = seomaticMeta | merge({'canonicalUrl': entry.canonicalUrl}) %}
{% endif %}

{% hook 'seomaticRender' %}