/* 3-Second View Tracking (Early bounce check) NON-INTERACTION */ setTimeout("ga('send','event', 'Reading', ' Viewed 3 Seconds+', 'Page: '+ location.pathname.toLowerCase(),0,{'nonInteraction': 1})",3000); /* 5-Second View Tracking -- 'NON-BOUNCE' INTERACTION (ADJUSTED BOUNCE RATE) */ setTimeout("ga('send','event', 'Reading', ' Viewed 5 Seconds+', 'Page: '+ location.pathname.toLowerCase())",5000); /* 15-Second View Tracking -- 'STICK' INTERACTION */ setTimeout("ga('send','event', 'Reading', ' Viewed 15 Seconds+', 'Page: '+ location.pathname.toLowerCase())",15000); /* READING SCROLL BEHAVIOR ------------------------------------------------------------------------- Purpose: Log user page viewing time at the point they scroll beyond fold (area displayed for respective screen size) and scroll all the way to the bottom. >> REQUIRES jQuery code inclusion. << Code Author: Justin Cutroni / Modified by Angie Schottmuller. Original Source: http://cutroni.com/blog/2014/02/12/advanced-content-tracking-with-universal-analytics/ --------------------------------------------------------------------------------------------------- */ jQuery(function($) { /* Default time delay to every 0.1 seconds before checking location */ var callBackTime = 100; /* # px before tracking a reader */ var readerLocation = 150; /* Set some flags for tracking & execution */ var timer = 0; var scroller = false; var didComplete = false; /* Set some time variables to calculate reading time */ var startTime = new Date(); var beginning = startTime.getTime(); var totalTime = 0; var foldToBottomTime = 0; /* Get some information about the current page */ var eventLabel = "Page: " + location.pathname.toLowerCase(); var browserscreenheight = $(window).height(); /* Check the location and track user */ function trackLocation() { /* .scrollTop = The vertical scroll position is the same as the number of pixels that are hidden from view above the scrollable area. If the scroll bar is at the very top, or if the element is not scrollable, this number will be 0. */ /* Browser Viewport Height + Scrolled Pixels Out of View */ bottom = browserscreenheight + $(window).scrollTop(); /* HTML document height */ height = $(document).height(); /* If user starts to scroll send an event ("Scroll Beyond Fold", fka "StartReading") */ if (bottom > readerLocation && !scroller) { currentTime = new Date(); scrollStart = currentTime.getTime(); timeToScroll = Math.round((scrollStart - beginning) / 1000); ga('send', 'event', 'Reading', 'Scroll Beyond Fold', eventLabel + '; Fold: ' + browserscreenheight + 'px; Scroll Start: ' + timeToScroll + 's', browserscreenheight, {'nonInteraction': 1}); scroller = true; } /* If user has hit the bottom of page send an event ("Scroll to Bottom", fka "PageBottom") */ if (bottom >= height && !didComplete) { currentTime = new Date(); end = currentTime.getTime(); /* Total time to get to the bottom */ totalTime = Math.round((end - beginning) / 1000); /* Time from first scrolling to page bottom */ foldToBottomTime = Math.round((end - scrollStart) / 1000); ga('send', 'event', 'Reading', 'Scroll to Bottom', eventLabel + '; Top-to-Bottom Time: ' + totalTime + 's; Fold-to-Bottom Time: ' + foldToBottomTime + 's', totalTime, {'nonInteraction': 1}); didComplete = true; } } /* END: function trackLocation(); */ /* Track the scrolling with page view time ------------------------------------------------------------------- */ $(window).scroll(function() { /* Use a buffer so we don't call trackLocation too often. */ if (timer) { clearTimeout(timer);} /* Don't call if both events have been satisfied */ if (!scroller || !didComplete) { timer = setTimeout(trackLocation, callBackTime); } /* END: Check if both scroll events have been logged */ }); /* END: Add function to the window's scroll event */ }); /* END: READING SCROLL BEHAVIOR */ /* .-. "R2-D2, are you sure this will track key events /_ _\ / for optimization audits? It looks dreadful." |o^o| \ _ / .-'-'-. "BEE DEEP BLEEP BEE ARRR BLOOP" /`) . (`\ (a.k.a. Yes, Jedi Master Schottmuller would not lead us astray.) / /|.-'-.|\ \ / \ \| (_) |/ / .-""-. \_\'-.-'/_/ /[] _ _\ /_/ \_/ \_\ _|_o_LII|_ |'._.'| / | ==== | \ | | | |_| ==== |_| \_|_/ ||" || || |-|-| ||LI o || |_|_| ||'----'|| /_/ \_\ /__| |__\ DYNAMIC CLICK EVENT TRACKING ------------------------------------------------------------------------- Purpose: Upon click action, dynamically track events for: jump-to bookmarks/tabs, file downloads, mailto:, tel: click-to-call, and external domain links. Code Author: Angie Schottmuller Original Source: ? ------------------------------------------------------------------------------------------------------- */ function _gaLt(event){ var el = event.srcElement || event.target; /* Loop up the tree through parent elements if clicked element is not a link (eg: an image inside a link) */ while(el && (typeof el.tagName == 'undefined' || el.tagName.toLowerCase() != 'a' || !el.href)) el = el.parentNode; var track = false; var evCat = ""; var evAction = ""; var evLabel = ""; var filetypes = /\.(avi|doc.*|dmg|exe|flv|mov|mp3|pdf|ppt.*|rar|txt|wav|wma|wmv|xls.*|xlt.*|zip)$/i; if(el && el.href){ /* jump-to bookmark anchor for internal link */ if(el.hash !=="" && el.href.indexOf(location.host) != -1){ evCat = "Interact"; /* NOTE: Ensure all clickable page elements have ID attributes for this to log meaningful data */ evAction = "Jump to " + el.hash; if(el.id) { evAction = evAction + " from #" + el.id;} evLabel = "Page: " + document.location.pathname.toLowerCase(); track = true; } /* file download */ else if(el.href.match(filetypes)){ /* REVIEW: Determine if file downloads on the same server should be tracked as virtual page views, events, or both. */ var extension = el.href.substr( (el.href.lastIndexOf('.') +1) ); evCat = "Download"; evAction = "Download-" + extension.toUpperCase(); evLabel = "File: " + el.href.toLowerCase() + "; Page: " + document.location.pathname.toLowerCase(); track = true; } /* mailto: */ else if(el.href.match(/^mailto\:/i) ){ evCat = "Contact"; evAction = "Email Click"; evLabel = el.href + "; Page: " + document.location.pathname.toLowerCase(); track = true; } /* tel: click-to-call */ else if(el.href.match(/^tel\:/i) ){ evCat = "Contact"; evAction = "Click-to-Call"; evLabel = el.href + "; Page: " + document.location.pathname.toLowerCase(); track = true; } /* external link */ else if(el.href.indexOf(location.host) == -1){ evCat = "Outgoing Links"; evAction = el.href; evLabel = "Page: " + document.location.pathname.toLowerCase(); track = true; } /* Log the event */ if (track) { ga("send", "event", evCat, evAction, evLabel); /* if target not set then delay opening of window by 0.5s to allow time for tracking */ if(!el.target || el.target.match(/^_(self|parent|top)$/i)){ setTimeout(function(){ document.location.href = el.href; }.bind(el),500); /* Prevent standard click */ event.preventDefault ? event.preventDefault() : event.returnValue = !1; } } } } /* Attach the listener event to all clicks in the document after page has loaded */ var w = window; w.addEventListener ? w.addEventListener("load",function(){document.body.addEventListener("click",_gaLt,!1)},!1) : w.attachEvent && w.attachEvent("onload",function(){document.body.attachEvent("onclick",_gaLt)}); /* END: DYNAMIC CLICK EVENT TRACKING */ Consulenzadigitaledpt – Depot Official Store

Vuoi scoprire quali sono i prodotti più adatti a te?

Affidati ai professionisti dell' immagine maschile, semplifichiamo la scelta dei prodotti adatti alle tue esigenze.
 
Viso - Capelli- Barba

Cosa offriamo?
62 Prodotti Professionali

Per risolvere qualsiasi tua esigenza viso, barba e capelli.

Cosa offriamo?
Profumazioni Uniche
Le fragranze hanno un tocco vintage, nascono per essere ricordate!

Cosa offriamo?
Rispetto della Natura

Le nostre formule sono state studiate per rispettare te e l'ambiente.

1.
Rispondi al quiz
Rispondi ad 8 semplici domande e scopri quali sono i prodotti perfetti per le tue esigenze.


2.

Prova Gratis i prodotti

Avrai l'opportunità di provare tutti i prodotti che ti consigliamo con dei Tester.

3.
Scegli i migliori per te!
Una volta provati, protrai scegliere i prodotti che ti piacciono di più e goderti i risultati!

Inizia ora il Quiz

Vuoi provare i nostri prodotti con dei tester?

Ecco il kit giusto per te!

Contiene:
16 Tester
Di prodotti adatti alle tue esigenze

Assistenza WhatsApp
Per consigli personalizzati

Promozione esclusiva
Per il prossimo acquisto

MILANO - VARESE - UDINE - PARMA

LO SPAZIO DEDICATO ALL'UOMO.

Un’esperienza unica, dedicata a chi non si accontenta: ogni giorno.

Cosmetici e fragranze, abbigliamento
e accessori: prodotti creati con maestria artigiana, per l’uomo che sa cosa vuole e dove trovarlo