(function (w, d) { w.tsUpdateMetaDescription = function () { var existingTitle = document.querySelector('title').innerText; document.querySelector('title').innerText = "***** Rating: 4.9 - 1464 Reviews - " + existingTitle; var existingDesc = document.querySelector('meta[name="description"]').getAttribute("content"); document.querySelector('meta[name="description"]').setAttribute("content", "***** Rating: 4.9 - 1464 Reviews - " + existingDesc); }; var timestamp = document.createElement("meta"); timestamp.setAttribute("name", "ts-timestamp"); timestamp.setAttribute("content", new Date().toLocaleString()); document.head.appendChild(timestamp); if (d.getElementById("ts-json") === null) { var filter = Array.prototype.filter; var productName = "The Lock Father Chelmsford"; var title = document.querySelector("title"); if (title === null || title.innerText.match(/^ *$/) !== null) { title = filter.call(d.querySelectorAll('h1'), function (node) { return node.innerText != ""; })[0]; } if (typeof title !== "undefined") { productName = title.innerText; } var json = "[{\"@type\":\"Product\",\"@id\":\"{{url}}#trustist\",\"description\":null,\"logo\":\"https://content.trustist.com/brandlogos/e7c00252-60e6-4014-a734-1871b6d18fa1.png\",\"image\":[\"https://content.trustist.com/brandlogos/e7c00252-60e6-4014-a734-1871b6d18fa1.png\"],\"name\":\"{{productName}}\",\"alternateName\":null,\"hasMap\":null,\"geo\":null,\"telephone\":null,\"url\":\"{{url}}\",\"address\":null,\"branchOf\":null,\"openingHoursSpecification\":null,\"sameAs\":[\"https://www.trustist.com/local-reviews/Review-the-lock-father-chelmsford-Reviews-25872.html\"],\"@context\":\"http://schema.org\",\"brand\":{\"@type\":\"Organization\",\"@id\":null,\"description\":null,\"logo\":\"https://content.trustist.com/brandlogos/e7c00252-60e6-4014-a734-1871b6d18fa1.png\",\"image\":[\"https://content.trustist.com/brandlogos/e7c00252-60e6-4014-a734-1871b6d18fa1.png\"],\"name\":\"The Lock Father\",\"alternateName\":null,\"hasMap\":null,\"geo\":null,\"telephone\":null,\"url\":\"https://thelockfather.co.uk/\",\"address\":null,\"branchOf\":null,\"openingHoursSpecification\":null,\"sameAs\":null},\"aggregateRating\":{\"@type\":\"AggregateRating\",\"ratingValue\":4.9,\"bestRating\":5,\"worstRating\":1,\"reviewCount\":1464},\"review\":null,\"mpn\":\"{{url}}\",\"sku\":\"{{url}}\"},{\"@type\":\"LocalBusiness\",\"@id\":\"https://www.trustist.com/local-reviews/Review-the-lock-father-chelmsford-Reviews-25872.html\",\"description\":null,\"logo\":\"https://content.trustist.com/brandlogos/e7c00252-60e6-4014-a734-1871b6d18fa1.png\",\"image\":[\"https://content.trustist.com/brandlogos/e7c00252-60e6-4014-a734-1871b6d18fa1.png\"],\"name\":\"The Lock Father\",\"alternateName\":\"The Lock Father Chelmsford\",\"hasMap\":\"https://maps.google.com/?cid=7217899799983523469\",\"geo\":{\"@type\":\"GeoCoordinates\",\"latitude\":\"51.734720\",\"longitude\":\"0.471905\"},\"telephone\":\"01245 701139\",\"url\":\"https://thelockfather.co.uk/\",\"address\":{\"@type\":\"PostalAddress\",\"streetAddress\":\"88 Duke St\",\"addressLocality\":\"Chelmsford\",\"addressRegion\":\"England\",\"postalCode\":\"CM1 1HJ\",\"addressCountry\":\"GB\"},\"branchOf\":{\"@type\":\"Organization\",\"name\":\"The Lock Father\",\"sameAs\":\"https://thelockfather.co.uk/\"},\"openingHoursSpecification\":[{\"@type\":\"OpeningHoursSpecification\",\"closes\":\"00:00:00\",\"dayOfWeek\":\"http://schema.org/Sunday\",\"opens\":\"00:00:00\"}],\"sameAs\":[\"https://maps.google.com/?cid=7217899799983523469\",\"https://www.yell.com/biz/the-lock-father-chelmsford-9842388/\",\"https://www.trustatrader.com/traders/the-lock-father-ltd-locksmiths-maldonchelmsford\",\"https://www.checkatrade.com/trades/TheLockFather326639/reviews.aspx\"],\"@context\":\"http://schema.org\",\"aggregateRating\":null,\"review\":null,\"paymentAccepted\":null,\"makesOffer\":{\"@type\":\"Offer\",\"@id\":\"#services\",\"itemOffered\":{\"@type\":\"Service\",\"name\":\"Locksmith\",\"url\":\"https://thelockfather.co.uk/\",\"areaServed\":[{\"@type\":\"City\",\"name\":\"Chelmsford\"}]}}}]"; var a = d; var c = a.createElement("script"); c.type = 'application/ld+json'; c.id = 'ts-json'; c.innerText = json .replace(new RegExp("{{url}}", 'g'), w.location.href) .replace("\"{{productName}}\"", JSON.stringify(productName).replace(/[^ -~]+/g, "")); a = a.getElementsByTagName("head")[0]; a.appendChild(c); } var s = document.createElement('script'); s.type = 'text/javascript'; s.defer = true; s.src = 'https://widget.trustist.com/E-eCYqw8XUO0HRhxttGPpA/ratingsummary.js'; var x = document.getElementsByTagName('script')[0]; x.parentNode.insertBefore(s, x); })(window, document);