document.addEventListener("DOMContentLoaded", function (event) {
const element = document.getElementsByClassName('oap_hairdiagStart_divbtn');
if (element.length > 0) {
let urlParams = new URLSearchParams(window.location.search);
if (urlParams != "" || urlParams != null) {
var keyValuepairs = urlParams.toString().split('&');
var qrUtmfound = 0;
keyValuepairs.forEach(function (item, index) {
if (item === "utm_source=pos" || item === "utm_medium=qrcode") {
qrUtmfound++;
}
});
if (qrUtmfound == 2) {
let relocHref = document.getElementById("hair_color_start_btn").getAttribute("href");
let relocUpdatedurl = relocHref + window.location.search;
document.getElementById("hair_color_start_btn").setAttribute("href", relocUpdatedurl);
}
}
}
});
{
"@context":"http://schema.org/",
"@type" :"Product",
"@id": "https://www.loreal-paris.com.mx/age-perfect/jalea-real/crema-de-dia",
"url" : "https://www.loreal-paris.com.mx/age-perfect/jalea-real/crema-de-dia",
"name": "Age Perfect Crema de dia",
"image": "https://www.loreal-paris.com.mx/-/media/project/loreal/brand-sites/oap/americas/mx/products/skin-care/face-care/age-perfect/intense-nutrition/day-cream/packshot/crema-dia-age-perfect-jalea-real-packshot-v3.png",
"description": "Crema de día, enriquecida con miel de Manuka para reducir la apariencia de la piel flácida y nutrir a profundidad tu piel.",
"sku": "7506078968912",
"gtin13": "7506078968912"
,
"aggregateRating": {
"@type": "AggregateRating",
"ratingValue": "5",
"reviewCount": "4",
"bestRating" : "5",
"worstRating": "1"
}
}
Age Perfect Jalea Real Cuidado de la piel Crema de día | L'Oréal Paris