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/agua-micelar/para-todo-tipo-de-piel",
"url" : "https://www.loreal-paris.com.mx/agua-micelar/para-todo-tipo-de-piel",
"name": "agua-micelar Para todo tipo de piel",
"image": "https://www.loreal-paris.com.mx/-/media/project/loreal/brand-sites/oap/americas/mx/products/skin-care/face-care/micellar-cleansing-water/para-todo-tipo-de-piel/packshot/agua-micelar-piel-sensible-400-packshot.png",
"description": "Agua Micelar 5 en 1: Limpia, desmaquilla, previene irritaciones, hidrata y suaviza. Sin dejar sensación grasosa.
",
"sku": "7509552915419",
"gtin13": "7509552915419"
,
"aggregateRating": {
"@type": "AggregateRating",
"ratingValue": "4",
"reviewCount": "1",
"bestRating" : "5",
"worstRating": "1"
}
}
Agua Micelar Para Todo Tipo de Piel 5 en 1 L'Oréal Paris