In additon to elisolution's solution above, this also checks whether we are literally on the home web site (not just if the canonical was set or not). I analyzed this Option a tad and in terms of I can see, it works as anticipated. Or else, make sure you let me https://sound-social.com/story9247425/5-simple-statements-about-automatyczne-tagi-hreflang-i-tagi-kanoniczne-seo-explained