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/infaillible/infallible-24h-lipstick/labial-infinite-intimacy-806",
"url" : "https://www.loreal-paris.com.mx/infaillible/infallible-24h-lipstick/labial-infinite-intimacy-806",
"name": "Infaillible labial-infinite-intimacy-806",
"image": "https://www.loreal-paris.com.mx/-/media/project/loreal/brand-sites/oap/americas/mx/products/makeup/lip-makeup/infaillible/24hr/labial/806-infinite-intimacy/loreal-paris-infallible-x3-labial-packshot-infinite-intimacy.png",
"description": "¡Un labial duo de larga duración! Hasta 24h de color e hidratación. Paso 1: aplica el color. Paso 2: aplica el bálsamo para hidratar y retocar.",
"sku": "3600524079505",
"gtin13": "3600524079505"
}
Infallible 24h Labial 806 Infinite Intimacy