In additon to elisolution's solution higher than, this also checks whether or not we are literally on the home web page (not simply if the canonical was established or not). I analyzed this Answer a little and in terms of I can see, it works as envisioned. Usually, you should allow https://addons.prestashop.com/it/seo-indicizzazione-naturale/31857-google-rich-snippet-automatico-json-ld-open-graph-seo.html