(function (w, d) { w.tsUpdateMetaDescription = function () { var existingTitle = document.querySelector('title').innerText; document.querySelector('title').innerText = "***** Rating: 4.9 - 42 Reviews - " + existingTitle; var existingDesc = document.querySelector('meta[name="description"]').getAttribute("content"); document.querySelector('meta[name="description"]').setAttribute("content", "***** Rating: 4.9 - 42 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 = "Puddle Ducks Hampshire"; 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/23c8bea4-d851-475c-a02d-169d9aad1f15.png\",\"image\":[\"https://content.trustist.com/brandlogos/23c8bea4-d851-475c-a02d-169d9aad1f15.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-puddleducks-hampshire-Reviews-23633.html\"],\"@context\":\"http://schema.org\",\"brand\":{\"@type\":\"Organization\",\"@id\":null,\"description\":null,\"logo\":\"https://content.trustist.com/brandlogos/23c8bea4-d851-475c-a02d-169d9aad1f15.png\",\"image\":[\"https://content.trustist.com/brandlogos/23c8bea4-d851-475c-a02d-169d9aad1f15.png\"],\"name\":\"Puddle Ducks\",\"alternateName\":null,\"hasMap\":null,\"geo\":null,\"telephone\":null,\"url\":\"https://www.puddleducks.com\",\"address\":null,\"branchOf\":null,\"openingHoursSpecification\":null,\"sameAs\":null},\"aggregateRating\":{\"@type\":\"AggregateRating\",\"ratingValue\":4.9,\"bestRating\":5,\"worstRating\":1,\"reviewCount\":42},\"review\":{\"@type\":\"Review\",\"url\":\"https://www.trustist.com/local-reviews/Review-puddleducks-hampshire-Reviews-23633.html\",\"author\":{\"@type\":\"Person\",\"name\":\"Kayla Menzies\",\"address\":{\"@type\":\"PostalAddress\",\"streetAddress\":null,\"addressLocality\":\"Portsmouth\",\"addressRegion\":\"England\",\"postalCode\":null,\"addressCountry\":null}},\"datePublished\":\"2023-03-28T10:16:14.000Z\",\"headline\":\"\",\"isBasedOn\":null,\"reviewBody\":\"The best swimming classes in the local area! Both our daughters have thrived with puddle ducks and their confidence in the water has been a joy to watch and be a part of. They both had teacher Vicky who is wonderful and makes every lesson fun and educational. The admin team are very efficient and friendly, we’re sad to say goodbye to puddle ducks! But have made lovely memories swimming with them.\",\"reviewRating\":{\"@type\":\"Rating\",\"ratingValue\":5,\"bestRating\":5,\"worstRating\":1},\"publisher\":{\"@type\":\"Organization\",\"name\":\"Trustist\",\"sameAs\":\"https://www.trustist.com\"},\"reply\":null,\"replyDate\":null,\"subject\":null},\"mpn\":\"{{url}}\",\"sku\":\"{{url}}\"},{\"@type\":\"LocalBusiness\",\"@id\":\"https://www.trustist.com/local-reviews/Review-puddleducks-hampshire-Reviews-23633.html\",\"description\":null,\"logo\":\"https://content.trustist.com/brandlogos/23c8bea4-d851-475c-a02d-169d9aad1f15.png\",\"image\":[\"https://content.trustist.com/brandlogos/23c8bea4-d851-475c-a02d-169d9aad1f15.png\"],\"name\":\"Puddle Ducks\",\"alternateName\":\"Puddle Ducks Hampshire\",\"hasMap\":\"https://maps.google.com/?cid=102083103290502661\",\"geo\":{\"@type\":\"GeoCoordinates\",\"latitude\":\"50.799500\",\"longitude\":\"-1.104474\"},\"telephone\":\"07837 715937\",\"url\":\"https://www.puddleducks.com\",\"address\":{\"@type\":\"PostalAddress\",\"streetAddress\":\"Queen St\",\"addressLocality\":\"Portsmouth\",\"addressRegion\":\"England\",\"postalCode\":\"PO1 3HS\",\"addressCountry\":\"GB\"},\"branchOf\":{\"@type\":\"Organization\",\"name\":\"Puddle Ducks\",\"sameAs\":\"https://www.puddleducks.com\"},\"openingHoursSpecification\":[{\"@type\":\"OpeningHoursSpecification\",\"closes\":\"12:00:00\",\"dayOfWeek\":\"http://schema.org/Thursday\",\"opens\":\"10:00:00\"}],\"sameAs\":[\"https://maps.google.com/?cid=102083103290502661\",\"https://www.facebook.com/PuddleDucksHantsWSussex/\"],\"@context\":\"http://schema.org\",\"aggregateRating\":null,\"review\":null,\"paymentAccepted\":null,\"makesOffer\":null}]"; 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/JAH5Obf2okGuOxa-BAvbDg/ratingsummary.js'; var x = document.getElementsByTagName('script')[0]; x.parentNode.insertBefore(s, x); })(window, document);