var schemaJson = { "@context": "http://schema.org", "@type": "AutoRepair", "additionalType":"AutoDealer", "name": "Abarth\u0020\u2013\u0020Sipa\u0020Automobiles\u0020\u2013\u0020Lescar", "address": { "@type": "PostalAddress", "addressLocality": "Lescar", "postalCode":"64230", "streetAddress": "3\u0020Rue\u0020Jean\u0020Jaur\xE8s" }, "geo": { "@type": "GeoCoordinates", "latitude": "43.319086", "longitude": "-0.430414" }, "aggregateRating": { "@type": "AggregateRating", "bestRating" : "10", "ratingValue": "8.71", "ratingCount": "7", "reviewCount": "7" }, "logo": "https://www.garagescore.com/certificate/Logo-h90px-Abarth.png", "image": "https://www.garagescore.com/certificate/Logo-h90px-Abarth.png", "url": "https://www.sipa-automobiles.fr/prendre-rdv-en-ligne/entretien-et-revision-chez-fiat-sipa-automobiles-lescar/" }; var script = document.createElement('script'); script.setAttribute('type', 'application/ld+json'); script.innerText = JSON.stringify(schemaJson); document.getElementsByTagName('head')[0].appendChild(script);