(function (w, d) { w.tsUpdateMetaDescription = function () { var existingTitle = document.querySelector('title').innerText; document.querySelector('title').innerText = "***** Rating: 4.5 - 40 Reviews - " + existingTitle; var existingDesc = document.querySelector('meta[name="description"]').getAttribute("content"); document.querySelector('meta[name="description"]').setAttribute("content", "***** Rating: 4.5 - 40 Reviews - " + existingDesc); }; var timestamp = document.createElement("meta"); timestamp.setAttribute("name", "ts-timestamp"); timestamp.setAttribute("content", new Date().toLocaleString()); document.head.appendChild(timestamp); var businessKey = "b22246wk"; var locationKey = "v8q68112"; var tenantKey = ""; var months = ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"]; var accessToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6InY4cTY4MTEyIiwiZXhwIjoxNzM4NzI5MjY0LCJpc3MiOiJUcnVzdGlzdCIsImF1ZCI6IldpZGdldHMifQ.wShtCzhSoSFVSzOXAPUY9zoTOVpVNK7U9Z1SIzKf6wg"; function start(f) { /in/.test(document.readyState) ? setTimeout(start, 5, f) : f(); } tsAddCssTag("https://fonts.googleapis.com/css2?family=Poppins&display=swap");; tsAddCssTag("https://wassets.trustist.com/assets/css/cleanslate.css"); tsAddCssTag("https://wassets.trustist.com/assets/css/sidebar.css"); w.trustist ??= {}; w.trustist.sidebar = { draw: function () { if (d.getElementById("ts-json") === null) { var filter = Array.prototype.filter; var els = d.querySelectorAll('h1,title,h2'); var productName = "Caremark Solihull"; var field = filter.call(els, function (node) { return node.innerText != ""; })[0]; if (typeof field !== "undefined") { productName = field.innerText; } var json = "[{\"@type\":\"Product\",\"@id\":\"{{url}}#trustist\",\"description\":null,\"logo\":\"https://content.trustist.com/brandlogos/dddb17da-d7fc-4500-84ac-f4bbe068ec4d.png\",\"image\":[\"https://content.trustist.com/brandlogos/dddb17da-d7fc-4500-84ac-f4bbe068ec4d.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-caremark-Solihull-Reviews-40356.html\"],\"@context\":\"http://schema.org\",\"brand\":{\"@type\":\"Organization\",\"@id\":null,\"description\":null,\"logo\":\"https://content.trustist.com/brandlogos/dddb17da-d7fc-4500-84ac-f4bbe068ec4d.png\",\"image\":[\"https://content.trustist.com/brandlogos/dddb17da-d7fc-4500-84ac-f4bbe068ec4d.png\"],\"name\":\"Caremark\",\"alternateName\":null,\"hasMap\":null,\"geo\":null,\"telephone\":null,\"url\":\"https://www.caremark.co.uk/locations\",\"address\":null,\"branchOf\":null,\"openingHoursSpecification\":null,\"sameAs\":null},\"aggregateRating\":{\"@type\":\"AggregateRating\",\"ratingValue\":4.5,\"bestRating\":5,\"worstRating\":1,\"reviewCount\":40},\"review\":{\"@type\":\"Review\",\"url\":\"https://www.trustist.com/local-reviews/Review-caremark-Solihull-Reviews-40356.html\",\"author\":{\"@type\":\"Person\",\"name\":\"Maisie Gould\",\"address\":{\"@type\":\"PostalAddress\",\"streetAddress\":null,\"addressLocality\":null,\"addressRegion\":null,\"postalCode\":null,\"addressCountry\":null}},\"datePublished\":\"2024-10-22T14:36:09.000Z\",\"headline\":\"\",\"isBasedOn\":null,\"reviewBody\":\"I loved my ladies and I wish I could go back home. They looked after me very well and I’m lucky to have such good people in my life that they still come to visit me in my care home. If I could go home I would love to have my ladies back again\",\"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-caremark-Solihull-Reviews-40356.html\",\"description\":null,\"logo\":\"https://content.trustist.com/brandlogos/dddb17da-d7fc-4500-84ac-f4bbe068ec4d.png\",\"image\":[\"https://content.trustist.com/brandlogos/dddb17da-d7fc-4500-84ac-f4bbe068ec4d.png\"],\"name\":\"Caremark\",\"alternateName\":\"Caremark Solihull\",\"hasMap\":\"https://maps.google.com/maps?cid=9250963194505077820\",\"geo\":{\"@type\":\"GeoCoordinates\",\"latitude\":\"\",\"longitude\":\"\"},\"telephone\":\"\",\"url\":\"https://www.caremark.co.uk/locations\",\"address\":{\"@type\":\"PostalAddress\",\"streetAddress\":\"\",\"addressLocality\":\"\",\"addressRegion\":null,\"postalCode\":null,\"addressCountry\":null},\"branchOf\":{\"@type\":\"Organization\",\"name\":\"Caremark\",\"sameAs\":\"https://www.caremark.co.uk/locations\"},\"openingHoursSpecification\":[{\"@type\":\"OpeningHoursSpecification\",\"closes\":\"17:00:00\",\"dayOfWeek\":\"http://schema.org/Monday\",\"opens\":\"09:00:00\"},{\"@type\":\"OpeningHoursSpecification\",\"closes\":\"17:00:00\",\"dayOfWeek\":\"http://schema.org/Tuesday\",\"opens\":\"09:00:00\"},{\"@type\":\"OpeningHoursSpecification\",\"closes\":\"17:00:00\",\"dayOfWeek\":\"http://schema.org/Wednesday\",\"opens\":\"09:00:00\"},{\"@type\":\"OpeningHoursSpecification\",\"closes\":\"17:00:00\",\"dayOfWeek\":\"http://schema.org/Thursday\",\"opens\":\"09:00:00\"},{\"@type\":\"OpeningHoursSpecification\",\"closes\":\"17:00:00\",\"dayOfWeek\":\"http://schema.org/Friday\",\"opens\":\"09:00:00\"}],\"sameAs\":[\"https://maps.google.com/maps?cid=9250963194505077820\",\"https://www.facebook.com/355828968520313\",\"https://www.homecare.co.uk/homecare/agency.cfm/id/65432193437\"],\"@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}}", productName) .replace("\"{{productDesc}}\"", JSON.stringify((d.body.innerText || d.body.textContent).replace(/[^ -~]+/g, "").substring(0, 200) + "...")); a = a.getElementsByTagName("head")[0]; a.appendChild(c); } // iterate over all widgets on the page and render var div = document.querySelector("[ts-sidebarWidget],div.ts-sidebarWidget"); if (div) { tsDisplayWidget(div, businessKey, locationKey, tenantKey); } else { } } }; start(w.trustist.sidebar.draw); function tsDisplayWidget(target) { // get options before cleanslate var options = tsReadAttributes(target); // draw the main template var template = '