{"_id":"@adv-ui/re-universal-consents-cookies-widget","_rev":"39-0e2c48a6b1ab126c09e034dae74230f1","name":"@adv-ui/re-universal-consents-cookies-widget","dist-tags":{"latest":"1.9.0"},"versions":{"1.6.0":{"name":"@adv-ui/re-universal-consents-cookies-widget","version":"1.6.0","keywords":[],"author":"","license":"ISC","_id":"@adv-ui/re-universal-consents-cookies-widget@1.6.0","maintainers":[{"name":"oscar-raig-adevinta","email":"oscar.raig@adevinta.com"},{"name":"arnau.guell","email":"arnau.guell@adevinta.com"},{"name":"estefania_garcia","email":"estefania.garcia.ext@adevinta.com"},{"name":"alfredo.narvaez","email":"alfredo.narvaez@adevinta.com"},{"name":"sendami.luque.ext","email":"sendami.luque.ext@adevinta.com"},{"name":"oscar.gomez","email":"oscar.gomez@adevinta.com"},{"name":"sebastian.badea.adevinta","email":"sebastian.badea@adevinta.com"},{"name":"thomas.page.ext","email":"thomas.page.ext@adevinta.com"},{"name":"victoria.pasichnyk.ext","email":"victoria.pasichnyk.ext@adevinta.com"},{"name":"andresadv","email":"andres.alvarez@adevinta.com"},{"name":"daniel.perez.ext","email":"daniel.perez.ext@adevinta.com"},{"name":"albert.peiro","email":"albert.peiro.ext@adevinta.com"},{"name":"frandelacasa-adevinta","email":"francisco.delacasa@adevinta.com"},{"name":"mariapaula.forero.ext","email":"mariapaula.forero.ext@adevinta.com"},{"name":"sziauberyte","email":"simona.ziauberyte@adevinta.com"},{"name":"oriol.hilari","email":"oriol.hilari@adevinta.com"},{"name":"victor.perez.adevinta","email":"victor.perez@adevinta.com"},{"name":"carlos-barroso-ext","email":"carlos.barroso.ext@adevinta.com"},{"name":"carolina.mallo.ext","email":"carolina.mallo.ext@adevinta.com"},{"name":"carlos.gonzalezl","email":"carlos.gonzalezl@adevinta.com"},{"name":"david.nieto","email":"david.nieto@adevinta.com"},{"name":"ferran.simon","email":"ferran.simon@adevinta.com"},{"name":"sergi.quintela","email":"sergi.quintela@adevinta.com"},{"name":"jamile.radloff","email":"jamile.radloff.ext@adevinta.com"},{"name":"luz_adv","email":"luz.marina.ext@adevinta.com"},{"name":"ignacio.rodriguez","email":"ignacio.rodriguez@adevinta.com"},{"name":"izaskunpena","email":"izaskun.pena@adevinta.com"},{"name":"carlosvillu-adevinta","email":"carlos.villuendas@adevinta.com"},{"name":"andresin87.adevinta","email":"andres.lucas@adevinta.com"},{"name":"emiliovz","email":"emilio.villuendas@adevinta.com"},{"name":"ruben-martin","email":"ruben.martin@adevinta.com"},{"name":"cristina.rodriguez.duque","email":"cr.rodriguez.ext@adevinta.com"},{"name":"pol.valls","email":"pol.valls@adevinta.com"},{"name":"lolaruf","email":"lola.rufino@adevinta.com"},{"name":"arturo.vicente","email":"arturo.vicente@adevinta.com"},{"name":"sergio.escano","email":"sergio.escano@adevinta.com"},{"name":"marc.benito","email":"marc.benito@adevinta.com"},{"name":"tomasadevinta","email":"tomas.madariaga@adevinta.com"},{"name":"alex.castells","email":"alex.castells@adevinta.com"},{"name":"beatrizip","email":"beatriz.iglesias@adevinta.com"},{"name":"pablo.rey-adevinta","email":"pablo.rey@adevinta.com"},{"name":"sergiocollado","email":"sergio.collado.ext@adevinta.com"},{"name":"cristhianb","email":"cristhian.benitez@adevinta.com"},{"name":"alisa_bayanova","email":"alisa.bayanova@adevinta.com"},{"name":"davidmartin2108","email":"david.martin@adevinta.com"},{"name":"alfredo.arronte","email":"alfredo.arronte@adevinta.com"},{"name":"joanleon-adv","email":"joan.leon@adevinta.com"},{"name":"luis-garrido","email":"luis.garrido@adevinta.com"},{"name":"aitor.rodriguez","email":"aitor.rodriguez@adevinta.com"},{"name":"oscar_ramirez","email":"oscar.ramirez@adevinta.com"},{"name":"jordi.munoz","email":"jordi.munoz@adevinta.com"},{"name":"ignacio_navarro","email":"ignacio.navarro@adevinta.com"},{"name":"serena.mejias","email":"serena.mejias@adevinta.com"},{"name":"luard-adv","email":"luard.castellanos@adevinta.com"},{"name":"izeller","email":"irene.zeller@adevinta.com"},{"name":"alejandro.ferrante","email":"alejandro.ferrante@adevinta.com"},{"name":"pa.chruscinski.ext","email":"pa.chruscinski.ext@adevinta.com"},{"name":"jenifer.lopez","email":"jenifer.lopez@adevinta.com"},{"name":"a.ferrer","email":"aleix.ferrer@adevinta.com"},{"name":"ivanmlaborda","email":"ivan.martinez@adevinta.com"},{"name":"pablogs","email":"pablo.gonzalez@adevinta.com"},{"name":"javier.miguel","email":"manuel.miguel@adevinta.com"},{"name":"marian.lucaci","email":"marian.lucaci@adevinta.com"},{"name":"oriol.puig","email":"oriol.puig@adevinta.com"},{"name":"hpintos_adevinta","email":"hernan.pintos@adevinta.com"},{"name":"nacho_torrella","email":"ignacio.torrella@adevinta.com"},{"name":"isabelgomez87","email":"isabel.gomez@adevinta.com"},{"name":"sabri-castelli","email":"sabrina.castelli@adevinta.com"},{"name":"xavi.murcia","email":"xavi.murcia@adevinta.com"},{"name":"mario.fernandez.ext","email":"mario.fernandez.ext@adevinta.com"},{"name":"azahara","email":"azahara.martinez@adevinta.com"},{"name":"javiauso","email":"javier.auso@adevinta.com"},{"name":"francisco.ruiz.lloret","email":"francisco.ruiz@adevinta.com"},{"name":"schibstedspain","email":"enablers-frontend@adevinta.com"}],"dist":{"shasum":"e649a216577c9b9ce2e0a12ddeffad0fb36f4f15","tarball":"https://registry.npmjs.org/@adv-ui/re-universal-consents-cookies-widget/-/re-universal-consents-cookies-widget-1.6.0.tgz","fileCount":19,"integrity":"sha512-Aa6Fx9e+uGA6IM/Qsf8cSSCU8Fi/JotiI4bnx7mNUtB+7DJm2pMOE3YNWmU9Vmp5yXbmA7wlBPCl6z0ompmB2g==","signatures":[{"sig":"MEUCIQD6aRCt9ZKw1NixIn1z/lMBGvEJV7sOqjAW4vz06VP5ygIgGc4BDL4MM2SmKLk25X04sxzfA+BQtGUCxoDQ5f+N+cA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":826129},"main":"lib/app.js","husky":{"hooks":{"pre-commit":"sui-precommit run"}},"config":{"sui-mono":{"access":"public"}},"gitHead":"65501c3f37e59e177539e52ea51de5dfe2420e2a","scripts":{"ci":"npm ci --prefer-offline --no-audit --no-fund --production=false","co":"sui-mono commit","dev":"sui-bundler dev","lib":"npm run lib:js && npm run lib:scss","umd":"rm -rf umd && npm run umd:segment && npm run umd:withoutsegment","lint":"sui-lint js","test":"echo \"no test specified\"","build":"sui-bundler build","lib:js":"rm -rf ./lib && sui-js-compiler","fixlock":"npm install --package-lock-only --legacy-peer-deps --no-audit --no-fund --ignore-scripts --production=false","umd:dev":"NODE_ENV=development sui-bundler lib src-umd/index.js -o umd/ -p / --root --chunk-css","lib:scss":"node scripts/copy-scss-to-umd.js","updatelock":"npm update --package-lock-only --legacy-peer-deps --no-audit --no-fund --ignore-scripts --production=false","umd:segment":"NODE_ENV=production sui-bundler lib src-umd/index.js -o umd/ -p https://unpkg.com/@adv-ui/re-universal-consents-cookies-widget@latest/umd/ --root --chunk-css","prepublishOnly":"rm -rf ./public && npm run build && npm run umd && npm run lib","security-checks":"vulcan-local -c vulcan.yaml","umd:withoutsegment":"NODE_ENV=production sui-bundler lib src-umd/without-segment.js -o umd/without-segment -p https://unpkg.com/@adv-ui/re-universal-consents-cookies-widget@latest/umd/ --root --chunk-css"},"_npmUser":{"name":"schibstedspain","email":"enablers-frontend@adevinta.com"},"prettier":"./node_modules/@s-ui/lint/.prettierrc.js","stylelint":{"extends":"./node_modules/@s-ui/lint/stylelint.config.js"},"repository":{"url":"git@github.mpi-internal.com:adevinta-realestate/frontend-common--universal-consents-cookies-widget.git","type":"git"},"_npmVersion":"10.2.3","description":"## How to use?","directories":{},"_nodeVersion":"20.10.0","dependencies":{"react":"17","react-dom":"17","@s-ui/theme":"8","@adv-ui/fc-theme":"10","@s-ui/react-context":"1","@s-ui/segment-wrapper":"3","@adv-ui/adit-boros-tcf-ui-consent":"3","@adv-ui/vendor-by-consents-loader":"1"},"eslintConfig":{"extends":["./node_modules/@s-ui/lint/eslintrc.js"]},"_hasShrinkwrap":false,"devDependencies":{"glob":"10.3.10","husky":"4.3.0","@s-ui/lint":"4","@s-ui/mono":"2","@s-ui/bundler":"9","@s-ui/precommit":"2","@s-ui/js-compiler":"1"},"_npmOperationalInternal":{"tmp":"tmp/re-universal-consents-cookies-widget_1.6.0_1730977244451_0.42674724790442675","host":"s3://npm-registry-packages"}},"1.7.0":{"name":"@adv-ui/re-universal-consents-cookies-widget","version":"1.7.0","keywords":[],"author":"","license":"ISC","_id":"@adv-ui/re-universal-consents-cookies-widget@1.7.0","maintainers":[{"name":"andresin87.adevinta","email":"andres.lucas@adevinta.com"},{"name":"joanleon-adv","email":"joan.leon@adevinta.com"},{"name":"izeller","email":"irene.zeller@adevinta.com"},{"name":"luard-adv","email":"luard.castellanos@adevinta.com"},{"name":"serena.mejias","email":"serena.mejias@adevinta.com"},{"name":"ignacio_navarro","email":"ignacio.navarro@adevinta.com"},{"name":"jordi.munoz","email":"jordi.munoz@adevinta.com"},{"name":"oscar_ramirez","email":"oscar.ramirez@adevinta.com"},{"name":"aitor.rodriguez","email":"aitor.rodriguez@adevinta.com"},{"name":"luis-garrido","email":"luis.garrido@adevinta.com"},{"name":"ivanmlaborda","email":"ivan.martinez@adevinta.com"},{"name":"a.ferrer","email":"aleix.ferrer@adevinta.com"},{"name":"jenifer.lopez","email":"jenifer.lopez@adevinta.com"},{"name":"pa.chruscinski.ext","email":"pa.chruscinski.ext@adevinta.com"},{"name":"alejandro.ferrante","email":"alejandro.ferrante@adevinta.com"},{"name":"alfredo.arronte","email":"alfredo.arronte@adevinta.com"},{"name":"francisco.ruiz.lloret","email":"francisco.ruiz@adevinta.com"},{"name":"arnau.guell","email":"arnau.guell@adevinta.com"},{"name":"jamile.radloff","email":"jamile.radloff.ext@adevinta.com"},{"name":"schibstedspain","email":"enablers-frontend@adevinta.com"},{"name":"davidmartin2108","email":"david.martin@adevinta.com"},{"name":"sergi.quintela","email":"sergi.quintela@adevinta.com"},{"name":"carlosvillu-adevinta","email":"carlos.villuendas@adevinta.com"},{"name":"izaskunpena","email":"izaskun.pena@adevinta.com"},{"name":"oscar-raig-adevinta","email":"oscar.raig@adevinta.com"},{"name":"ferran.simon","email":"ferran.simon@adevinta.com"},{"name":"mariapaula.forero.ext","email":"mariapaula.forero.ext@adevinta.com"},{"name":"carlos.gonzalezl","email":"carlos.gonzalezl@adevinta.com"},{"name":"oriol.puig","email":"oriol.puig@adevinta.com"},{"name":"david.nieto","email":"david.nieto@adevinta.com"},{"name":"nacho_torrella","email":"ignacio.torrella@adevinta.com"},{"name":"xavi.murcia","email":"xavi.murcia@adevinta.com"},{"name":"sabri-castelli","email":"sabrina.castelli@adevinta.com"},{"name":"pablogs","email":"pablo.gonzalez@adevinta.com"},{"name":"ignacio.rodriguez","email":"ignacio.rodriguez@adevinta.com"},{"name":"isabelgomez87","email":"isabel.gomez@adevinta.com"},{"name":"sziauberyte","email":"simona.ziauberyte@adevinta.com"},{"name":"oriol.hilari","email":"oriol.hilari@adevinta.com"},{"name":"hpintos_adevinta","email":"hernan.pintos@adevinta.com"},{"name":"javiauso","email":"javier.auso@adevinta.com"},{"name":"azahara","email":"azahara.martinez@adevinta.com"},{"name":"mario.fernandez.ext","email":"mario.fernandez.ext@adevinta.com"},{"name":"marian.lucaci","email":"marian.lucaci@adevinta.com"},{"name":"alisa_bayanova","email":"alisa.bayanova@adevinta.com"},{"name":"cristhianb","email":"cristhian.benitez@adevinta.com"},{"name":"sergiocollado","email":"sergio.collado.ext@adevinta.com"},{"name":"pablo.rey-adevinta","email":"pablo.rey@adevinta.com"},{"name":"beatrizip","email":"beatriz.iglesias@adevinta.com"},{"name":"alex.castells","email":"alex.castells@adevinta.com"},{"name":"tomasadevinta","email":"tomas.madariaga@adevinta.com"},{"name":"marc.benito","email":"marc.benito@adevinta.com"},{"name":"sergio.escano","email":"sergio.escano@adevinta.com"},{"name":"arturo.vicente","email":"arturo.vicente@adevinta.com"},{"name":"lolaruf","email":"lola.rufino@adevinta.com"},{"name":"pol.valls","email":"pol.valls@adevinta.com"},{"name":"frandelacasa-adevinta","email":"francisco.delacasa@adevinta.com"},{"name":"andresadv","email":"andres.alvarez@adevinta.com"},{"name":"carlos-barroso-ext","email":"carlos.barroso.ext@adevinta.com"},{"name":"carolina.mallo.ext","email":"carolina.mallo.ext@adevinta.com"},{"name":"daniel.perez.ext","email":"daniel.perez.ext@adevinta.com"},{"name":"cristina.rodriguez.duque","email":"cr.rodriguez.ext@adevinta.com"},{"name":"estefania_garcia","email":"estefania.garcia.ext@adevinta.com"},{"name":"albert.peiro","email":"albert.peiro.ext@adevinta.com"},{"name":"victor.perez.adevinta","email":"victor.perez@adevinta.com"},{"name":"thomas.page.ext","email":"thomas.page.ext@adevinta.com"},{"name":"sebastian.badea.adevinta","email":"sebastian.badea@adevinta.com"},{"name":"luz_adv","email":"luz.marina.ext@adevinta.com"},{"name":"victoria.pasichnyk.ext","email":"victoria.pasichnyk.ext@adevinta.com"},{"name":"sendami.luque.ext","email":"sendami.luque.ext@adevinta.com"},{"name":"oscar.gomez","email":"oscar.gomez@adevinta.com"},{"name":"alfredo.narvaez","email":"alfredo.narvaez@adevinta.com"},{"name":"ruben-martin","email":"ruben.martin@adevinta.com"},{"name":"emiliovz","email":"emilio.villuendas@adevinta.com"},{"name":"dann41","email":"daniel.gomez@adevinta.com"},{"name":"sergi.martinez.adevinta","email":"sergi.martinez@adevinta.com"},{"name":"guillemgc3","email":"guillem.catala@adevinta.com"},{"name":"adevinta-motor-frontend","email":"gp.es.dev.front.motor.scmspain.com@adevinta.com"},{"name":"frontend-jobs","email":"gp.es.int.frontend-jobs@adevinta.com"},{"name":"adv-re-bot","email":"gp.es.dev.front.realestate.scmspain.com@adevinta.com"},{"name":"javiermiguel","email":"manuel.miguel@adevinta.com"},{"name":"eric-darbra","email":"eric.darbra@adevinta.com"},{"name":"alverd004","email":"albert.font@adevinta.com"},{"name":"atilioscolaroadv","email":"atilio.scolaro.ext@adevinta.com"},{"name":"crotundu.adevinta","email":"cristian.rotundu.ext@adevinta.com"}],"dist":{"shasum":"3c20508e876c5a6895752c5e9a2653ca675261cd","tarball":"https://registry.npmjs.org/@adv-ui/re-universal-consents-cookies-widget/-/re-universal-consents-cookies-widget-1.7.0.tgz","fileCount":25,"integrity":"sha512-VGLlHXY4lABxETReAu6o7Ri0jVG6Z7dpc2XSi2cIDXASsi2PCqsP7IDwuvcdaLtw6ZFGTQOl+7PHbAPTTH1K8A==","signatures":[{"sig":"MEUCIQC7ZOnZ6i6qzSLTLCUqNIppxEuUgxAYJbZqianbhCR8dAIgGWr1D4u9fIwTdnruyoAzr0bEttu8fC6dvmQPQd6tIro=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":995245},"main":"lib/app.js","husky":{"hooks":{"pre-commit":"sui-precommit run"}},"config":{"sui-mono":{"access":"public"}},"gitHead":"d748f7b0b754295758334b7720ee4399ad62dc03","scripts":{"ci":"npm ci --prefer-offline --no-audit --no-fund --production=false","co":"sui-mono commit","dev":"sui-bundler dev","lib":"npm run lib:js && npm run lib:scss","umd":"rm -rf umd && npm run umd:segment && npm run umd:withoutsegment","lint":"sui-lint js","test":"echo \"no test specified\"","build":"sui-bundler build","lib:js":"rm -rf ./lib && sui-js-compiler","fixlock":"npm install --package-lock-only --legacy-peer-deps --no-audit --no-fund --ignore-scripts --production=false","umd:dev":"NODE_ENV=development sui-bundler lib src-umd/index.js -o umd/ -p / --root --chunk-css","lib:scss":"node scripts/copy-scss-to-umd.js","updatelock":"npm update --package-lock-only --legacy-peer-deps --no-audit --no-fund --ignore-scripts --production=false","umd:segment":"NODE_ENV=production sui-bundler lib src-umd/index.js -o umd/ -p https://unpkg.com/@adv-ui/re-universal-consents-cookies-widget@latest/umd/ --root --chunk-css","prepublishOnly":"rm -rf ./public && npm run build && npm run umd && npm run lib","security-checks":"vulcan-local -c vulcan.yaml","umd:withoutsegment":"NODE_ENV=production sui-bundler lib src-umd/without-segment.js -o umd/without-segment -p https://unpkg.com/@adv-ui/re-universal-consents-cookies-widget@latest/umd/ --root --chunk-css"},"_npmUser":{"name":"schibstedspain","email":"enablers-frontend@adevinta.com"},"prettier":"./node_modules/@s-ui/lint/.prettierrc.js","stylelint":{"extends":"./node_modules/@s-ui/lint/stylelint.config.js"},"repository":{"url":"git@github.mpi-internal.com:adevinta-realestate/frontend-common--universal-consents-cookies-widget.git","type":"git"},"_npmVersion":"10.2.3","description":"## How to use?","directories":{},"_nodeVersion":"20.10.0","dependencies":{"react":"17","react-dom":"17","@s-ui/theme":"8","@didomi/react":"1.8.4","@adv-ui/fc-theme":"10","@s-ui/react-context":"1","@s-ui/react-atom-tag":"2","@s-ui/segment-wrapper":"3","@s-ui/react-atom-button":"1","@adv-ui/vendor-by-consents-loader":"1"},"eslintConfig":{"extends":["./node_modules/@s-ui/lint/eslintrc.js"]},"_hasShrinkwrap":false,"devDependencies":{"glob":"10.3.10","husky":"4.3.0","@s-ui/lint":"4","@s-ui/mono":"2","@s-ui/bundler":"9","@s-ui/precommit":"2","@s-ui/js-compiler":"1"},"_npmOperationalInternal":{"tmp":"tmp/re-universal-consents-cookies-widget_1.7.0_1738671017625_0.30895151607673","host":"s3://npm-registry-packages-npm-production"}},"1.8.0":{"name":"@adv-ui/re-universal-consents-cookies-widget","version":"1.8.0","keywords":[],"author":"","license":"ISC","_id":"@adv-ui/re-universal-consents-cookies-widget@1.8.0","maintainers":[{"name":"andresin87.adevinta","email":"andres.lucas@adevinta.com"},{"name":"joanleon-adv","email":"joan.leon@adevinta.com"},{"name":"izeller","email":"irene.zeller@adevinta.com"},{"name":"luard-adv","email":"luard.castellanos@adevinta.com"},{"name":"serena.mejias","email":"serena.mejias@adevinta.com"},{"name":"ignacio_navarro","email":"ignacio.navarro@adevinta.com"},{"name":"jordi.munoz","email":"jordi.munoz@adevinta.com"},{"name":"oscar_ramirez","email":"oscar.ramirez@adevinta.com"},{"name":"aitor.rodriguez","email":"aitor.rodriguez@adevinta.com"},{"name":"luis-garrido","email":"luis.garrido@adevinta.com"},{"name":"ivanmlaborda","email":"ivan.martinez@adevinta.com"},{"name":"a.ferrer","email":"aleix.ferrer@adevinta.com"},{"name":"jenifer.lopez","email":"jenifer.lopez@adevinta.com"},{"name":"pa.chruscinski.ext","email":"pa.chruscinski.ext@adevinta.com"},{"name":"alejandro.ferrante","email":"alejandro.ferrante@adevinta.com"},{"name":"alfredo.arronte","email":"alfredo.arronte@adevinta.com"},{"name":"francisco.ruiz.lloret","email":"francisco.ruiz@adevinta.com"},{"name":"arnau.guell","email":"arnau.guell@adevinta.com"},{"name":"jamile.radloff","email":"jamile.radloff.ext@adevinta.com"},{"name":"schibstedspain","email":"enablers-frontend@adevinta.com"},{"name":"davidmartin2108","email":"david.martin@adevinta.com"},{"name":"sergi.quintela","email":"sergi.quintela@adevinta.com"},{"name":"carlosvillu-adevinta","email":"carlos.villuendas@adevinta.com"},{"name":"izaskunpena","email":"izaskun.pena@adevinta.com"},{"name":"oscar-raig-adevinta","email":"oscar.raig@adevinta.com"},{"name":"ferran.simon","email":"ferran.simon@adevinta.com"},{"name":"mariapaula.forero.ext","email":"mariapaula.forero.ext@adevinta.com"},{"name":"carlos.gonzalezl","email":"carlos.gonzalezl@adevinta.com"},{"name":"oriol.puig","email":"oriol.puig@adevinta.com"},{"name":"david.nieto","email":"david.nieto@adevinta.com"},{"name":"nacho_torrella","email":"ignacio.torrella@adevinta.com"},{"name":"xavi.murcia","email":"xavi.murcia@adevinta.com"},{"name":"sabri-castelli","email":"sabrina.castelli@adevinta.com"},{"name":"pablogs","email":"pablo.gonzalez@adevinta.com"},{"name":"ignacio.rodriguez","email":"ignacio.rodriguez@adevinta.com"},{"name":"isabelgomez87","email":"isabel.gomez@adevinta.com"},{"name":"sziauberyte","email":"simona.ziauberyte@adevinta.com"},{"name":"oriol.hilari","email":"oriol.hilari@adevinta.com"},{"name":"hpintos_adevinta","email":"hernan.pintos@adevinta.com"},{"name":"javiauso","email":"javier.auso@adevinta.com"},{"name":"azahara","email":"azahara.martinez@adevinta.com"},{"name":"mario.fernandez.ext","email":"mario.fernandez.ext@adevinta.com"},{"name":"marian.lucaci","email":"marian.lucaci@adevinta.com"},{"name":"alisa_bayanova","email":"alisa.bayanova@adevinta.com"},{"name":"cristhianb","email":"cristhian.benitez@adevinta.com"},{"name":"sergiocollado","email":"sergio.collado.ext@adevinta.com"},{"name":"pablo.rey-adevinta","email":"pablo.rey@adevinta.com"},{"name":"beatrizip","email":"beatriz.iglesias@adevinta.com"},{"name":"alex.castells","email":"alex.castells@adevinta.com"},{"name":"tomasadevinta","email":"tomas.madariaga@adevinta.com"},{"name":"marc.benito","email":"marc.benito@adevinta.com"},{"name":"sergio.escano","email":"sergio.escano@adevinta.com"},{"name":"arturo.vicente","email":"arturo.vicente@adevinta.com"},{"name":"lolaruf","email":"lola.rufino@adevinta.com"},{"name":"pol.valls","email":"pol.valls@adevinta.com"},{"name":"frandelacasa-adevinta","email":"francisco.delacasa@adevinta.com"},{"name":"andresadv","email":"andres.alvarez@adevinta.com"},{"name":"carlos-barroso-ext","email":"carlos.barroso.ext@adevinta.com"},{"name":"carolina.mallo.ext","email":"carolina.mallo.ext@adevinta.com"},{"name":"daniel.perez.ext","email":"daniel.perez.ext@adevinta.com"},{"name":"cristina.rodriguez.duque","email":"cr.rodriguez.ext@adevinta.com"},{"name":"estefania_garcia","email":"estefania.garcia.ext@adevinta.com"},{"name":"albert.peiro","email":"albert.peiro.ext@adevinta.com"},{"name":"victor.perez.adevinta","email":"victor.perez@adevinta.com"},{"name":"thomas.page.ext","email":"thomas.page.ext@adevinta.com"},{"name":"sebastian.badea.adevinta","email":"sebastian.badea@adevinta.com"},{"name":"luz_adv","email":"luz.marina.ext@adevinta.com"},{"name":"victoria.pasichnyk.ext","email":"victoria.pasichnyk.ext@adevinta.com"},{"name":"sendami.luque.ext","email":"sendami.luque.ext@adevinta.com"},{"name":"oscar.gomez","email":"oscar.gomez@adevinta.com"},{"name":"alfredo.narvaez","email":"alfredo.narvaez@adevinta.com"},{"name":"ruben-martin","email":"ruben.martin@adevinta.com"},{"name":"emiliovz","email":"emilio.villuendas@adevinta.com"},{"name":"dann41","email":"daniel.gomez@adevinta.com"},{"name":"sergi.martinez.adevinta","email":"sergi.martinez@adevinta.com"},{"name":"guillemgc3","email":"guillem.catala@adevinta.com"},{"name":"adevinta-motor-frontend","email":"gp.es.dev.front.motor.scmspain.com@adevinta.com"},{"name":"frontend-jobs","email":"gp.es.int.frontend-jobs@adevinta.com"},{"name":"adv-re-bot","email":"gp.es.dev.front.realestate.scmspain.com@adevinta.com"},{"name":"javiermiguel","email":"manuel.miguel@adevinta.com"},{"name":"eric-darbra","email":"eric.darbra@adevinta.com"},{"name":"alverd004","email":"albert.font@adevinta.com"},{"name":"atilioscolaroadv","email":"atilio.scolaro.ext@adevinta.com"},{"name":"crotundu.adevinta","email":"cristian.rotundu.ext@adevinta.com"}],"dist":{"shasum":"b3467b41a184fae2ffbecf35beb5ac048871858c","tarball":"https://registry.npmjs.org/@adv-ui/re-universal-consents-cookies-widget/-/re-universal-consents-cookies-widget-1.8.0.tgz","fileCount":25,"integrity":"sha512-Q9KUgFyatrIPiRP9G9cMq6wtKfDSjBBeNJcCEXAysxkh6vnsEEnqYdAfOCyJOFkQFTHj+0TaV+xiGFfA/8JmCA==","signatures":[{"sig":"MEYCIQC2IBNWZBc5vjmqFgwe6J/hlM9Dlnxgzv+8mgrRzclbhgIhALRV3Ju4U43qwZ1yTgMNpx/1tpNL41pRCKHDK9bH27fI","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":995829},"main":"lib/app.js","husky":{"hooks":{"pre-commit":"sui-precommit run"}},"config":{"sui-mono":{"access":"public"}},"gitHead":"468bf8471b93fd20ccd3ea1097881194f1bf3025","scripts":{"ci":"npm ci --prefer-offline --no-audit --no-fund --production=false","co":"sui-mono commit","dev":"sui-bundler dev","lib":"npm run lib:js && npm run lib:scss","umd":"rm -rf umd && npm run umd:segment && npm run umd:withoutsegment","lint":"sui-lint js","test":"echo \"no test specified\"","build":"sui-bundler build","lib:js":"rm -rf ./lib && sui-js-compiler","fixlock":"npm install --package-lock-only --legacy-peer-deps --no-audit --no-fund --ignore-scripts --production=false","umd:dev":"NODE_ENV=development sui-bundler lib src-umd/index.js -o umd/ -p / --root --chunk-css","lib:scss":"node scripts/copy-scss-to-umd.js","updatelock":"npm update --package-lock-only --legacy-peer-deps --no-audit --no-fund --ignore-scripts --production=false","umd:segment":"NODE_ENV=production sui-bundler lib src-umd/index.js -o umd/ -p https://unpkg.com/@adv-ui/re-universal-consents-cookies-widget@latest/umd/ --root --chunk-css","prepublishOnly":"rm -rf ./public && npm run build && npm run umd && npm run lib","security-checks":"vulcan-local -c vulcan.yaml","umd:withoutsegment":"NODE_ENV=production sui-bundler lib src-umd/without-segment.js -o umd/without-segment -p https://unpkg.com/@adv-ui/re-universal-consents-cookies-widget@latest/umd/ --root --chunk-css"},"_npmUser":{"name":"schibstedspain","email":"enablers-frontend@adevinta.com"},"prettier":"./node_modules/@s-ui/lint/.prettierrc.js","stylelint":{"extends":"./node_modules/@s-ui/lint/stylelint.config.js"},"repository":{"url":"git@github.mpi-internal.com:adevinta-realestate/frontend-common--universal-consents-cookies-widget.git","type":"git"},"_npmVersion":"10.2.3","description":"## How to use?","directories":{},"_nodeVersion":"20.10.0","dependencies":{"react":"17","react-dom":"17","@s-ui/theme":"8","@didomi/react":"1.8.4","@adv-ui/fc-theme":"10","@s-ui/react-context":"1","@s-ui/react-atom-tag":"2","@s-ui/segment-wrapper":"3","@s-ui/react-atom-button":"1","@adv-ui/vendor-by-consents-loader":"1"},"eslintConfig":{"extends":["./node_modules/@s-ui/lint/eslintrc.js"]},"_hasShrinkwrap":false,"devDependencies":{"glob":"10.3.10","husky":"4.3.0","@s-ui/lint":"4","@s-ui/mono":"2","@s-ui/bundler":"9","@s-ui/precommit":"2","@s-ui/js-compiler":"1"},"_npmOperationalInternal":{"tmp":"tmp/re-universal-consents-cookies-widget_1.8.0_1738676500277_0.6658587925411246","host":"s3://npm-registry-packages-npm-production"}},"1.9.0":{"name":"@adv-ui/re-universal-consents-cookies-widget","version":"1.9.0","keywords":[],"author":"","license":"ISC","_id":"@adv-ui/re-universal-consents-cookies-widget@1.9.0","maintainers":[{"name":"andresin87.adevinta","email":"andres.lucas@adevinta.com"},{"name":"joanleon-adv","email":"joan.leon@adevinta.com"},{"name":"izeller","email":"irene.zeller@adevinta.com"},{"name":"luard-adv","email":"luard.castellanos@adevinta.com"},{"name":"serena.mejias","email":"serena.mejias@adevinta.com"},{"name":"ignacio_navarro","email":"ignacio.navarro@adevinta.com"},{"name":"jordi.munoz","email":"jordi.munoz@adevinta.com"},{"name":"oscar_ramirez","email":"oscar.ramirez@adevinta.com"},{"name":"aitor.rodriguez","email":"aitor.rodriguez@adevinta.com"},{"name":"luis-garrido","email":"luis.garrido@adevinta.com"},{"name":"ivanmlaborda","email":"ivan.martinez@adevinta.com"},{"name":"a.ferrer","email":"aleix.ferrer@adevinta.com"},{"name":"jenifer.lopez","email":"jenifer.lopez@adevinta.com"},{"name":"pa.chruscinski.ext","email":"pa.chruscinski.ext@adevinta.com"},{"name":"alejandro.ferrante","email":"alejandro.ferrante@adevinta.com"},{"name":"alfredo.arronte","email":"alfredo.arronte@adevinta.com"},{"name":"francisco.ruiz.lloret","email":"francisco.ruiz@adevinta.com"},{"name":"arnau.guell","email":"arnau.guell@adevinta.com"},{"name":"jamile.radloff","email":"jamile.radloff.ext@adevinta.com"},{"name":"schibstedspain","email":"enablers-frontend@adevinta.com"},{"name":"davidmartin2108","email":"david.martin@adevinta.com"},{"name":"sergi.quintela","email":"sergi.quintela@adevinta.com"},{"name":"carlosvillu-adevinta","email":"carlos.villuendas@adevinta.com"},{"name":"izaskunpena","email":"izaskun.pena@adevinta.com"},{"name":"oscar-raig-adevinta","email":"oscar.raig@adevinta.com"},{"name":"ferran.simon","email":"ferran.simon@adevinta.com"},{"name":"mariapaula.forero.ext","email":"mariapaula.forero.ext@adevinta.com"},{"name":"carlos.gonzalezl","email":"carlos.gonzalezl@adevinta.com"},{"name":"oriol.puig","email":"oriol.puig@adevinta.com"},{"name":"david.nieto","email":"david.nieto@adevinta.com"},{"name":"nacho_torrella","email":"ignacio.torrella@adevinta.com"},{"name":"xavi.murcia","email":"xavi.murcia@adevinta.com"},{"name":"sabri-castelli","email":"sabrina.castelli@adevinta.com"},{"name":"pablogs","email":"pablo.gonzalez@adevinta.com"},{"name":"ignacio.rodriguez","email":"ignacio.rodriguez@adevinta.com"},{"name":"isabelgomez87","email":"isabel.gomez@adevinta.com"},{"name":"sziauberyte","email":"simona.ziauberyte@adevinta.com"},{"name":"oriol.hilari","email":"oriol.hilari@adevinta.com"},{"name":"hpintos_adevinta","email":"hernan.pintos@adevinta.com"},{"name":"javiauso","email":"javier.auso@adevinta.com"},{"name":"azahara","email":"azahara.martinez@adevinta.com"},{"name":"mario.fernandez.ext","email":"mario.fernandez.ext@adevinta.com"},{"name":"marian.lucaci","email":"marian.lucaci@adevinta.com"},{"name":"alisa_bayanova","email":"alisa.bayanova@adevinta.com"},{"name":"cristhianb","email":"cristhian.benitez@adevinta.com"},{"name":"sergiocollado","email":"sergio.collado.ext@adevinta.com"},{"name":"pablo.rey-adevinta","email":"pablo.rey@adevinta.com"},{"name":"beatrizip","email":"beatriz.iglesias@adevinta.com"},{"name":"alex.castells","email":"alex.castells@adevinta.com"},{"name":"tomasadevinta","email":"tomas.madariaga@adevinta.com"},{"name":"marc.benito","email":"marc.benito@adevinta.com"},{"name":"sergio.escano","email":"sergio.escano@adevinta.com"},{"name":"arturo.vicente","email":"arturo.vicente@adevinta.com"},{"name":"lolaruf","email":"lola.rufino@adevinta.com"},{"name":"pol.valls","email":"pol.valls@adevinta.com"},{"name":"frandelacasa-adevinta","email":"francisco.delacasa@adevinta.com"},{"name":"andresadv","email":"andres.alvarez@adevinta.com"},{"name":"carlos-barroso-ext","email":"carlos.barroso.ext@adevinta.com"},{"name":"carolina.mallo.ext","email":"carolina.mallo.ext@adevinta.com"},{"name":"daniel.perez.ext","email":"daniel.perez.ext@adevinta.com"},{"name":"cristina.rodriguez.duque","email":"cr.rodriguez.ext@adevinta.com"},{"name":"estefania_garcia","email":"estefania.garcia.ext@adevinta.com"},{"name":"albert.peiro","email":"albert.peiro.ext@adevinta.com"},{"name":"victor.perez.adevinta","email":"victor.perez@adevinta.com"},{"name":"thomas.page.ext","email":"thomas.page.ext@adevinta.com"},{"name":"sebastian.badea.adevinta","email":"sebastian.badea@adevinta.com"},{"name":"luz_adv","email":"luz.marina.ext@adevinta.com"},{"name":"victoria.pasichnyk.ext","email":"victoria.pasichnyk.ext@adevinta.com"},{"name":"sendami.luque.ext","email":"sendami.luque.ext@adevinta.com"},{"name":"oscar.gomez","email":"oscar.gomez@adevinta.com"},{"name":"alfredo.narvaez","email":"alfredo.narvaez@adevinta.com"},{"name":"ruben-martin","email":"ruben.martin@adevinta.com"},{"name":"emiliovz","email":"emilio.villuendas@adevinta.com"},{"name":"dann41","email":"daniel.gomez@adevinta.com"},{"name":"sergi.martinez.adevinta","email":"sergi.martinez@adevinta.com"},{"name":"guillemgc3","email":"guillem.catala@adevinta.com"},{"name":"adevinta-motor-frontend","email":"gp.es.dev.front.motor.scmspain.com@adevinta.com"},{"name":"frontend-jobs","email":"gp.es.int.frontend-jobs@adevinta.com"},{"name":"adv-re-bot","email":"gp.es.dev.front.realestate.scmspain.com@adevinta.com"},{"name":"javiermiguel","email":"manuel.miguel@adevinta.com"},{"name":"eric-darbra","email":"eric.darbra@adevinta.com"},{"name":"alverd004","email":"albert.font@adevinta.com"},{"name":"atilioscolaroadv","email":"atilio.scolaro.ext@adevinta.com"},{"name":"crotundu.adevinta","email":"cristian.rotundu.ext@adevinta.com"},{"name":"candymd","email":"candy.montero@adevinta.com"}],"dist":{"shasum":"7ccd497059eab39615cc3ee36ca2ce40d006a99f","tarball":"https://registry.npmjs.org/@adv-ui/re-universal-consents-cookies-widget/-/re-universal-consents-cookies-widget-1.9.0.tgz","fileCount":25,"integrity":"sha512-RfEDMpsR2BblhAGMeRA2X2vkxRtK6knZJ55YnleweAOrEwBWX6z7gc6NUTMOclE5UBnlQ4sFH7jhtAOpMJGsEg==","signatures":[{"sig":"MEYCIQCXdgFhcL2PYSdZiytgGXC2Dj/xCVza97u9Opm2uRIWQQIhAJPWbKjvxTkHPVy8eUNeiqYbYQZJMxf/jw6/vwn6kNJp","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":995829},"main":"lib/app.js","husky":{"hooks":{"pre-commit":"sui-precommit run"}},"config":{"sui-mono":{"access":"public"}},"gitHead":"81e2972cb3660377a99a82a419e604dec66a012c","scripts":{"ci":"npm ci --prefer-offline --no-audit --no-fund --production=false","co":"sui-mono commit","dev":"sui-bundler dev","lib":"npm run lib:js && npm run lib:scss","umd":"rm -rf umd && npm run umd:segment && npm run umd:withoutsegment","lint":"sui-lint js","test":"echo \"no test specified\"","build":"sui-bundler build","lib:js":"rm -rf ./lib && sui-js-compiler","fixlock":"npm install --package-lock-only --legacy-peer-deps --no-audit --no-fund --ignore-scripts --production=false","umd:dev":"NODE_ENV=development sui-bundler lib src-umd/index.js -o umd/ -p / --root --chunk-css","lib:scss":"node scripts/copy-scss-to-umd.js","updatelock":"npm update --package-lock-only --legacy-peer-deps --no-audit --no-fund --ignore-scripts --production=false","umd:segment":"NODE_ENV=production sui-bundler lib src-umd/index.js -o umd/ -p https://unpkg.com/@adv-ui/re-universal-consents-cookies-widget@latest/umd/ --root --chunk-css","prepublishOnly":"rm -rf ./public && npm run build && npm run umd && npm run lib","security-checks":"vulcan-local -c vulcan.yaml","umd:withoutsegment":"NODE_ENV=production sui-bundler lib src-umd/without-segment.js -o umd/without-segment -p https://unpkg.com/@adv-ui/re-universal-consents-cookies-widget@latest/umd/ --root --chunk-css"},"_npmUser":{"name":"schibstedspain","email":"enablers-frontend@adevinta.com"},"prettier":"./node_modules/@s-ui/lint/.prettierrc.js","stylelint":{"extends":"./node_modules/@s-ui/lint/stylelint.config.js"},"repository":{"url":"git@github.mpi-internal.com:adevinta-realestate/frontend-common--universal-consents-cookies-widget.git","type":"git"},"_npmVersion":"10.2.3","description":"## How to use?","directories":{},"_nodeVersion":"20.10.0","dependencies":{"react":"17","react-dom":"17","@s-ui/theme":"8","@didomi/react":"1.8.4","@adv-ui/fc-theme":"10","@s-ui/react-context":"1","@s-ui/react-atom-tag":"2","@s-ui/segment-wrapper":"3","@s-ui/react-atom-button":"1","@adv-ui/vendor-by-consents-loader":"1"},"eslintConfig":{"extends":["./node_modules/@s-ui/lint/eslintrc.js"]},"_hasShrinkwrap":false,"devDependencies":{"glob":"10.3.10","husky":"4.3.0","@s-ui/lint":"4","@s-ui/mono":"2","@s-ui/bundler":"9","@s-ui/precommit":"2","@s-ui/js-compiler":"1"},"_npmOperationalInternal":{"tmp":"tmp/re-universal-consents-cookies-widget_1.9.0_1738835033581_0.43042706054287017","host":"s3://npm-registry-packages-npm-production"}}},"time":{"created":"2024-11-07T11:00:44.312Z","modified":"2025-11-20T08:44:53.972Z","1.6.0":"2024-11-07T11:00:44.722Z","1.7.0":"2025-02-04T12:10:17.929Z","1.8.0":"2025-02-04T13:41:40.502Z","1.9.0":"2025-02-06T09:43:53.808Z"},"license":"ISC","keywords":[],"repository":{"url":"git@github.mpi-internal.com:adevinta-realestate/frontend-common--universal-consents-cookies-widget.git","type":"git"},"description":"## How to use?","maintainers":[{"email":"andres.lucas@adevinta.com","name":"andresin87.adevinta"},{"email":"francisco.ruiz@adevinta.com","name":"francisco.ruiz.lloret"},{"email":"enablers-frontend@adevinta.com","name":"schibstedspain"}],"readme":"# @adv-ui/re-universal-consents-cookies-widget [![Build Status](https://travis.mpi-internal.com/scmspain/frontend-all--consents-cookies-widget-pack.svg?token=rg6VMzkvzMeJr1v4tr6s&branch=master)](https://travis.mpi-internal.com/scmspain/frontend-all--consents-cookies-widget-pack)\n\n## How to use?\n\nAdd the next code on the `<head>` of your website in order to show the Consent Cookies Widget in case it's needed for the user.\n\n```html\n<!-- DIDOMI STUB -->\n<script type=\"text/javascript\">(function(){function i(e){if(!window.frames[e]){if(document.body&&document.body.firstChild){var t=document.body;var n=document.createElement(\"iframe\");n.style.display=\"none\";n.name=e;n.title=e;t.insertBefore(n,t.firstChild)}else{setTimeout(function(){i(e)},5)}}}function e(n,o,r,f,s){function e(e,t,n,i){if(typeof n!==\"function\"){return}if(!window[o]){window[o]=[]}var a=false;if(s){a=s(e,i,n)}if(!a){window[o].push({command:e,version:t,callback:n,parameter:i})}}e.stub=true;e.stubVersion=2;function t(i){if(!window[n]||window[n].stub!==true){return}if(!i.data){return}var a=typeof i.data===\"string\";var e;try{e=a?JSON.parse(i.data):i.data}catch(t){return}if(e[r]){var o=e[r];window[n](o.command,o.version,function(e,t){var n={};n[f]={returnValue:e,success:t,callId:o.callId};if(i.source){i.source.postMessage(a?JSON.stringify(n):n,\"*\")}},o.parameter)}}if(typeof window[n]!==\"function\"){window[n]=e;if(window.addEventListener){window.addEventListener(\"message\",t,false)}else{window.attachEvent(\"onmessage\",t)}}}e(\"__tcfapi\",\"__tcfapiBuffer\",\"__tcfapiCall\",\"__tcfapiReturn\");i(\"__tcfapiLocator\")})();</script>\n<script defer src='https://unpkg.com/@adv-ui/re-universal-consents-cookies-widget/umd/index.js'></script>\n```\n\n‼️ Do not duplicate the first line(stub) several times. It's only needed once.\n\nAlso, you need to have a `div` element with the needed `id` where the widget will be rendered. Please, try to keep this div on the root level of your `body` in order to avoid problems with the modal.\n\n```html\n<div id=\"adevinta_consents_cookies_universal_widget\"></div>\n```\n\nWhen the user accepts or rejects it, the modal will disappear.\n\nCheck a working demo: https://codesandbox.io/s/long-star-62xc9?file=/index.html\n\n### Adding a link to open manually Consents Cookies Widget\n\nYou must offer to the user the possibility to open the widget to change the consents anytime. For that, you could add this HTML in order to give this feature to the user.\n\n```html\n<a\n  href=\"#\"\n  alt=\"Gestionar consentimientos de cookies\"\n  onclick=\"window.__callUniversalConsentsCookiesWidget()\"\n  >Gestionar consentimientos de cookies</a\n>\n```\n\n## Configuration\n\nYou could config some aspects of the widget by using a window object called `universalConsentsCookiesWidget`.\n\n**Important:** Config should be placed BEFORE loading the widget.\n\n```html\n<script>\n  window.__mpi.universalConsentsCookiesWidget = {\n    cookiePolicyUrl: 'https://your-domain.com/cookie-policy?disable-cmp',\n    logo: 'https://your-domain.com/logo.png',\n    site: 'fotocasa'\n  }\n</script>\n<script defer src='https://unpkg.com/@adv-ui/re-universal-consents-cookies-widget/umd/index.js'></script>\n```\n\n**site**\nThe allowed sites are a map to resolve the notice id. Check [here](/src/settings.js)\n\nIf you consider that you need to add a new site(because some configuration is different than the vertical main site), please, contact with the team owner of CMP.\n\n**cookiePolicyUrl** \n\n🚧 This is not working properly now. The cookie policy is set in the notice on the Didomi console.\n\n- if set, will add a link to the cookie policy page, opened in a new tab. Normally this page is configured in the Didomi console on notice settings. Probably you don't need to set this.\n- use the `disable-cmp` query param to disable the CMP if it's included in the cookie policy page\n\n## Using Segment Wrapper\n\n**The widget comes with Segment Wrapper.** You only need to add the needed snippet for Segment SDK with the expected write key in order to use it. **This needs to be done before loading the widget.**\n\nAfter that, you could safely use the `window.sui.analytics` method in order to track with Segment Wrapper and it will send the correct tracking with the consents well informed.\n\nThis snippet should be placed **BEFORE** the one mentioned before.\n\n```html\n<script>\n  !function(){var analytics=window.analytics=window.analytics||[];if(!analytics.initialize)if(analytics.invoked)window.console&&console.error&&console.error(\"Segment snippet included twice.\");else{analytics.invoked=!0;analytics.methods=[\"trackSubmit\",\"trackClick\",\"trackLink\",\"trackForm\",\"pageview\",\"identify\",\"reset\",\"group\",\"track\",\"ready\",\"alias\",\"debug\",\"page\",\"once\",\"off\",\"on\"];analytics.factory=function(t){return function(){var e=Array.prototype.slice.call(arguments);e.unshift(t);analytics.push(e);return analytics}};for(var t=0;t<analytics.methods.length;t++){var e=analytics.methods[t];analytics[e]=analytics.factory(e)}analytics.load=function(t,e){var n=document.createElement(\"script\");n.type=\"text/javascript\";n.async=!0;n.src=\"https://cdn.segment.com/analytics.js/v1/\"+t+\"/analytics.min.js\";var a=document.getElementsByTagName(\"script\")[0];a.parentNode.insertBefore(n,a);analytics._loadOptions=e};analytics.SNIPPET_VERSION=\"4.1.0\";\n\n  analytics.load(\"YOUR_WRITE_KEY\");  // your write key must be set here\n  }}();\n</script>\n\n<script>\n  window.onload = () => {\n      window.sui.analytics.identify('your user id', {});\n      window.sui.analytics.track('Your Event', {});\n      window.sui.analytics.reset();\n  }\n</script>\n```\n\nYou could then use the config from Segment Wrapper. This should be placed before loading the widget.\n\n```\n<script>\n  window.__mpi = {\n    segmentWrapper: {\n      googleAdsPixelId: '1054970353',\n      facebookPixelId: '448176625351232',\n      importAdobeVisitorId: true,\n      defaultProperties: {\n        site: 'infojobs'\n      }\n    }\n  }\n</script>\n```\n\n\n## Load scripts for some consents\n\nOnce you have the consents widget implemented in your site, you'll be able to listen when the user has consented some purposes in order to load some specific tags.\n\nFor example, for adding loading tealium after user is giving consents you should do:\n\n```html\n<script>\n  // init vendors loader by consents\n    window.onload = () => {\n      window.sui.vendors.initVendorConsentsLoader({\n        vendors: {\n          tealium: {\n            // script to load\n            script: 'https://frtassets.fotocasa.es/external-scripts/utag-pro.js',\n            // consents needed for this script\n            consents: {\n              purposes: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10],\n              specialFeatureOptins: [1]\n            }\n          },\n          addThis: {\n            // script to load\n            script: 'https://www.addthis.com/script.js',\n            // consents needed for this script\n            consents: {\n              purposes: [1], // example of a script with a single purpose\n              specialFeatureOptins: [1]\n            }\n          }\n        }\n      })\n    }\n</script>\n```\n\nPlease, **keep in mind that if the user doesn't provide needed consents the script won't be loaded.**\n\n[Check list of purposes by ID.](https://github.mpi-internal.com/scmspain/frontend-all--vendor-by-consents-loader#list-of-purposes).\n","readmeFilename":"README.md"}