Faisabilité
Chief Digital Officer (CDO) 0 (0)
Descubre el papel esencial del Chief Digital Officer (CDO) en liderar la estrategia y transformación digital de las empresas. Conoce sus responsabilidades clave y por qué su presencia es crucial en la era digital.
Lire la suite
EL FUTURO DE LA CIBERSEGURIDAD: INNOVACIÓN ABIERTA 0 (0)
Descubre cómo grandes empresas en España, como Telefónica, Banco Santander y BBVA, lideran la innovación abierta en ciberseguridad al colaborar con startups y desarrollar soluciones efectivas. Aprende cómo la práctica de la innovación abierta impulsa el éxito de startups de ciberseguridad, con ejemplos como CrowdStrike y Darktrace. Además, explora cómo
Lire la suite
Responsable de la ciberseguridad en una empresa 0 (0)
Encuentra al mejor Chief Information Security Officer (CISO) para tu empresa con nuestra guía completa. Descubre cómo contratar, retener y atraer talento en ciberseguridad. Consejos prácticos y estrategias efectivas.
Lire la suite
Diferencias entre CNAE e IAE 0 (0)
Découvrez les différences entre la CNAE et l'IAE. Clarifiez votre compréhension des classifications d'entreprises dans notre article informatif.
Lire la suite
Los 50 conceptos importantes sobre innovación que una startup debe conocer 0 (0)
Découvrez les 50 concepts clés de l'innovation que toute startup doit connaître. Élargissez vos connaissances grâce à notre article informatif.
Lire la suite
Growth loans 0 (0)
Explorez le monde des prêts à la croissance des entreprises et découvrez comment ils peuvent favoriser la réussite de votre entreprise.
Lire la suite
Escalera de la innovación 5 (1)
Découvrez les différents niveaux de l'échelle de l'innovation et comment progresser à chaque étape. Apprenez à stimuler l'innovation dans votre entreprise
Lire la suite
Bonos de crowdfunding 5 (1)
Découvrez comment utiliser les bons de crowdfunding pour financer votre projet ou votre entreprise. Découvrez comment cela fonctionne
Lire la suite
Innovación tecnológica 5 (1)
Découvrez les concepts clés et les dernières tendances de l'innovation technologique. Apprenez à l'appliquer de manière stratégique afin d'améliorer la qualité de vie de vos clients.
Lire la suite
Ecosistema de innovación 5 (1)
Explorez l'écosystème de l'innovation et découvrez comment vous pouvez l'exploiter pour stimuler la croissance et la transformation de votre entreprise.
Lire la suite

  • mentorVIRTUAL: Soy tu mentorVIRTUAL. ¿alguna pregunta?

La respuesta tardará unos 20 segundos. Generando respuesta ...

ENJEUX

Aller au contenu principal function ZFAdvLead(){ } ZFAdvLead.utmPValObj = ZFAdvLead.utmPValObj || {}; ZFAdvLead.utmPNameArr = new Array('utm_source','utm_medium','utm_campaign','utm_term','utm_content');ZFAdvLead.utmcustPNameArr = new Array();ZFAdvLead.isSameDomian = false; ZFAdvLead.prototype.zfautm_sC = function( paramName,path,domain,secure ){ var value = ZFAdvLead.utmPValObj[paramName]; if ( typeof value !== "undefined" && value !== null ){ var cookieStr = paramName + "=" + encodeURIComponent( value ); var exdate=new Date(); exdate.setDate(exdate.getDate()+7); cookieStr += "; expires=" + exdate.toGMTString(); cookieStr += "; path=/"; if ( domain ) { cookieStr += "; domain=" + encodeURIComponent( domain ); } if ( secure ) { cookieStr += "; secure"; } document.cookie = cookieStr; } }; ZFAdvLead.prototype.zfautm_ini = function (){ this.zfautm_bscPCap(); var url_search = document.location.search; for (var i = 0; i < ZFAdvLead.utmcustPNameArr.length ; i ++){ var zf_pN = ZFAdvLead.utmcustPNameArr[i]; var zf_pV; if ( zf_pN == 'referrername' ) { zf_pV = ( document.URL || '' ).slice( 0, 1500 ); } else { zf_pV = this.zfautm_gP(url_search, zf_pN); if (zf_pV == undefined || zf_pV == ''){ zf_pV = this.zfautm_gC(zf_pN); } } if ( typeof zf_pV !== "undefined" && zf_pV !== null & zf_pV != "" ) { ZFAdvLead.utmPValObj[ zf_pN ] = zf_pV; } } for (var pkey in ZFAdvLead.utmPValObj) { this.zfautm_sC(pkey); } }; ZFAdvLead.prototype.zfautm_bscPCap = function () { var trafSrc = this.zfautm_calcTrafSrc(); if ( trafSrc.source != "" ) { ZFAdvLead.utmPValObj.utm_source = trafSrc.source; } if ( trafSrc.medium != "" ) { ZFAdvLead.utmPValObj.utm_medium = trafSrc.medium; } if ( trafSrc.campaign != "" ) { ZFAdvLead.utmPValObj.utm_campaign = trafSrc.campaign; } if ( trafSrc.term != "" ) { ZFAdvLead.utmPValObj.utm_term = trafSrc.term; } if ( trafSrc.content != "" ) { ZFAdvLead.utmPValObj.utm_content = trafSrc.content; } } ZFAdvLead.prototype.zfautm_calcTrafSrc = function() { var u1='', u2='', u3='', u4='', u5=''; var search_engines = [['bing', 'q'], ['google', 'q'], ['yahoo', 'q'], ['baidu', 'q'], ['yandex', 'q'], ['ask', 'q']]; //List of search engines var ref = document.referrer; ref = ref.substr(ref.indexOf('//')+2); ref_domain = ref; ref_path = '/'; ref_search = ''; // Checks for campaign parameters var url_search = document.location.search; if(url_search.indexOf('utm_source') > -1 || url_search.indexOf('utm_medium') > -1 || url_search.indexOf('utm_campaign') > -1 || url_search.indexOf('utm_term') > -1 || url_search.indexOf('utm_content') > -1) { u1 = this.zfautm_gP(url_search, 'utm_source'); u2 = this.zfautm_gP(url_search, 'utm_medium'); u3 = this.zfautm_gP(url_search, 'utm_campaign'); u4 = this.zfautm_gP(url_search, 'utm_term'); u5 = this.zfautm_gP(url_search, 'utm_content'); } else if ( this.zfautm_gP(url_search, 'gclid')) { u1 = 'Google Ads'; u2 = 'cpc'; u3 = '(not set)'; if ( !ZFAdvLead.utmcustPNameArr.includes('gclid') ) { ZFAdvLead.utmcustPNameArr.push('gclid'); } } else if(ref) { var r_u1 = this.zfautm_gC('utm_source'); var r_u2 = this.zfautm_gC('utm_medium'); var r_u3 = this.zfautm_gC('utm_campaign'); var r_u4 = this.zfautm_gC('utm_term'); var r_u5 = this.zfautm_gC('utm_content'); if ( typeof r_u1 === "undefined" && typeof r_u2 === "undefined" && typeof r_u3 === "undefined" && typeof r_u4 === "undefined" && typeof r_u5 === "undefined") { // separate domain, path and query parameters if (ref.indexOf('/') > -1) { ref_domain = ref.substr(0,ref.indexOf('/')); ref_path = ref.substr(ref.indexOf('/')); if (ref_path.indexOf('?') > -1) { ref_search = ref_path.substr(ref_path.indexOf('?')); ref_path = ref_path.substr(0, ref_path.indexOf('?')); } } u2 = 'referral'; u1 = ref_domain; // Extract term for organic source for (var i=0; i -1){ u2 = 'organic'; u1 = search_engines[i][0]; u4 = this.zfautm_gP(ref_search, search_engines[i][1]) || '(not provided)'; break; } } } else { if ( typeof r_u1 !== "undefined" ) { u1 = r_u1; } if ( typeof r_u2 !== "undefined" ) { u2 = r_u2; } if ( typeof r_u3 !== "undefined" ) { u3 = r_u3; } if ( typeof r_u4 !== "undefined" ) { u4 = r_u4; } if ( typeof r_u5 !== "undefined" ) { u5 = r_u5; } } } else { var r_u1 = this.zfautm_gC('utm_source'); var r_u2 = this.zfautm_gC('utm_medium'); var r_u3 = this.zfautm_gC('utm_campaign'); var r_u4 = this.zfautm_gC('utm_term'); var r_u5 = this.zfautm_gC('utm_content'); if ( typeof r_u1 === "undefined" && typeof r_u2 === "undefined" && typeof r_u3 === "undefined" && typeof r_u4 === "undefined" && typeof r_u5 === "undefined") { var locRef = document.URL; locRef = locRef.substr(locRef.indexOf('//')+2); if (locRef.indexOf('/') > -1) { locRef = locRef.substr(0,locRef.indexOf('/')); } u1 = locRef; u2 = 'referral'; } else { if ( typeof r_u1 !== "undefined" ) { u1 = r_u1; } if ( typeof r_u2 !== "undefined" ) { u2 = r_u2; } if ( typeof r_u3 !== "undefined" ) { u3 = r_u3; } if ( typeof r_u4 !== "undefined" ) { u4 = r_u4; } if ( typeof r_u5 !== "undefined" ) { u5 = r_u5; } } } return { 'source' : u1, 'medium' : u2, 'campaign': u3, 'term' : u4, 'content' : u5 }; } ZFAdvLead.prototype.zfautm_gP = function(s, q) { try{ var match = s.match('[?&]' + q + '=([^&]+)'); return match ? decodeURIComponent(match[1]) : ''; } catch(e){ return ''; } } ZFAdvLead.prototype.zfautm_gC = function( cookieName ){ var cookieArr = document.cookie.split('; '); for ( var i = 0 ; i < cookieArr.length ; i ++ ){ var cookieVals = cookieArr[i].split('='); if ( cookieVals[0] === cookieName && cookieVals[1] ) { return decodeURIComponent(cookieVals[1]); } } }; ZFAdvLead.prototype.zfautm_gC_enc = function( cookieName ){ var cookieArr = document.cookie.split('; '); for ( var i = 0 ; i < cookieArr.length ; i ++ ){ var cookieVals = cookieArr[i].split('='); if ( cookieVals[0] === cookieName && cookieVals[1] ) { return cookieVals[1]; } } }; ZFAdvLead.prototype.zfautm_iframeSprt = function () { var zf_frame = document.getElementsByTagName("iframe"); for(var i = 0; i < zf_frame.length; ++i){ if((zf_frame[i].src).indexOf('formperma') > 0 ){ var zf_src = zf_frame[i].src; for( var prmIdx = 0 ; prmIdx < ZFAdvLead.utmPNameArr.length ; prmIdx ++ ) { var utmPm = ZFAdvLead.utmPNameArr[ prmIdx ]; utmPm = ( ZFAdvLead.isSameDomian && ( ZFAdvLead.utmcustPNameArr.indexOf(utmPm) == -1 ) ) ? "zf_" + utmPm : utmPm; var utmVal = this.zfautm_gC_enc( ZFAdvLead.utmPNameArr[ prmIdx ] ); if ( typeof utmVal !== "undefined" ) { if ( utmVal != "" ){ if(zf_src.indexOf('?') > 0){ zf_src = zf_src+'&'+utmPm+'='+ utmVal; }else{ zf_src = zf_src+'?'+utmPm+'='+ utmVal; } } } } if ( zf_frame[i].src.length < zf_src.length ) { zf_frame[i].src = zf_src; } } } }; ZFAdvLead.prototype.zfautm_DHtmlSprt = function () { var zf_formsArr = document.forms; for ( var frmInd = 0 ; frmInd < zf_formsArr.length ; frmInd ++ ) { var zf_form_act = zf_formsArr[frmInd].action; if ( zf_form_act && zf_form_act.indexOf('formperma') > 0 ){ for( var prmIdx = 0 ; prmIdx < ZFAdvLead.utmPNameArr.length ; prmIdx ++ ) { var utmPm = ZFAdvLead.utmPNameArr[ prmIdx ]; var utmVal = this.zfautm_gC( ZFAdvLead.utmPNameArr[ prmIdx ] ); if ( typeof utmVal !== "undefined" ) { if ( utmVal != "" ) { var fieldObj = zf_formsArr[frmInd][utmPm]; if ( fieldObj ) { fieldObj.value = utmVal; } } } } } } }; ZFAdvLead.prototype.zfautm_jsEmbedSprt = function ( id ) { document.getElementById('zforms_iframe_id').removeAttribute("onload"); var jsEmbdFrm = document.getElementById("zforms_iframe_id"); var embdSrc = jsEmbdFrm.src; for( var prmIdx = 0 ; prmIdx < ZFAdvLead.utmPNameArr.length ; prmIdx ++ ) { var utmPm = ZFAdvLead.utmPNameArr[ prmIdx ]; utmPm = ( ZFAdvLead.isSameDomian && ( ZFAdvLead.utmcustPNameArr.indexOf(utmPm) == -1 ) ) ? "zf_" + utmPm : utmPm; var utmVal = this.zfautm_gC_enc( ZFAdvLead.utmPNameArr[ prmIdx ] ); if ( typeof utmVal !== "undefined" ) { if ( utmVal != "" ) { if(embdSrc.indexOf('?') > 0){ embdSrc = embdSrc+'&'+utmPm+'='+utmVal; }else{ embdSrc = embdSrc+'?'+utmPm+'='+utmVal; } } } } jsEmbdFrm.src = embdSrc; }; var zfutm_zfAdvLead = new ZFAdvLead(); zfutm_zfAdvLead.zfautm_ini(); if( document.readyState == "complete" ){ zfutm_zfAdvLead.zfautm_iframeSprt(); zfutm_zfAdvLead.zfautm_DHtmlSprt(); } else { window.addEventListener('load', function (){ zfutm_zfAdvLead.zfautm_iframeSprt(); zfutm_zfAdvLead.zfautm_DHtmlSprt(); }, false); } Si estás usando la biblioteca jQuery, entonces no olvides envolver tu código dentro de jQuery.ready() así: jQuery(document).ready(function( $ ){ // Tu código aquí dentro }); -- Si quieres enlazar a un archivo JavaScript que resida en otro servidor (como ), entonces, por favor, usa la página «Añadir código HTML» , ya que es un código HTML que enlaza a un archivo JavaScript. Fin del comentario */