For paperwork like PDFs, there’s no way to position canonical tags while in the web page header mainly because there isn't a page segment. In these types of circumstances, you’ll ought to use HTTP headers to established canonicals. The JS redirect looks like a little a messy situation, but to https://addons.prestashop.com/it/seo-indicizzazione-naturale/31857-google-rich-snippet-automatico-json-ld-open-graph-seo.html