Visitor ID - Dynamic Tag Manager DTM - Duplicate visits

Avatar

Avatar

julià_pujol_ar1

Avatar

julià_pujol_ar1

julià_pujol_ar1

15-10-2015

Hi all,

I'm testing Dynamic Tag Manager on Test rsuite for apply it in future implementation, really is a good good tool.

So, a pair of week ago, I can see updates on Visitor ID implemention, and I did it (http://microsite.omniture.com/t2/help/en_US/mcvid/mcvid_implement.html). My surpise is when implement this, visites was multiplied for 10 :S, yes I make a mistake sure, but I'm not able to see error, and neither I can found nothing page that use the same sistem (put VisitorAPI.js into Appmesurement into DTM manage code). So, this is my code:

____________________________________________________________________________________________________________________________________

// 1.1 - <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< Unique visitor configuration code >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> var visitor = new Visitor("F050097853468AB40A490D4C@AdobeOrg");   // Provided from Client Care. visitor.trackingServer = "seat.d3.sc.omtrdc.net";                 // Same as s.trackingServer. visitor.trackingServerSecure = "seat.d3.sc.omtrdc.net";           // Same as s.trackingServerSecure. // 1.2 - <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< MODULE 0: Visitor API v 1.2.1 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Visitor API code... /*******************************************************+****** -2- ****************************************************************/ /******************************************************** DYNAMIC S_ACCOUNT ********************************************************/ /***********************************************************************************************************************************/ /*     This part of code assigns dinamically smetrics.accounts (formely s.accounts) that was assigned into Dynamic Tag Manager     */ /***********************************************************************************************************************************/ smetrics = new AppMeasurement(); function getAnalyticsAccount() { for(var toolid in _satellite.tools) { if(_satellite.tools[toolid].settings.engine == "sc") { return _satellite.tools[toolid].settings.account; } } } smetrics.account = getAnalyticsAccount(); smetrics.visitorNamespace = "seat"; smetrics.trackingServer = "seat.d3.sc.omtrdc.net"; /*******************************************************+****** -3- ****************************************************************/ /*************************************** VISITOR ID SERVICE CONFIG - REQUIRES VisitorAPI.js ****************************************/ /***********************************************************************************************************************************/ /*     This part of code tells to Appmesaurment that visitor cookie must used, in this case as Visitor ID is installed, use it.    */ /***********************************************************************************************************************************/ smetrics.visitor = Visitor.getInstance("F050097853468AB40A490D4C@AdobeOrg","seat"); /*******************************************************+****** -4- ****************************************************************/ /********************************************************* CONFIG SECTION **********************************************************/ /***********************************************************************************************************************************/ /*  This part of code contains the main configuration/personalization of AppMesaurment. This section contains _doPlugins function  */ /*            whose is called each time that each page is charged. Normally is used for automate some kinds of process.            */ /***********************************************************************************************************************************/ // 4.1 - <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< General Configuration >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> smetrics.linkTrackVars = "None"; smetrics.linkTrackEvents = "None"; smetrics.linkInternalFilters = "javascript:,seat.com,seat.lu"; // 4.2 - <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< Activate "_doPlugins" function >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> smetrics.usePlugins=true;          // This parameter allowed use/not use do_Plugins function. function smetrics_doPlugins(smetrics) { if (typeof window['dataLayer'] != "undefined"){                         // if (typeof window['dataLayer']=='object') {                   // for (var v in window['dataLayer']) {                      // if (window['dataLayer'].hasOwnProperty(v)) {      // This loop prepare script for smetrics[v] = window['dataLayer'][v];         // understand Data Layer object }                                                 // if it's defined on HTML code. }                                                         // }                                                                 // }                                                                       // smetrics.prop2="Entire Site"; smetrics.prop4 = (typeof(Visitor) != "undefined" ? "Cookies Present" : "Cookies Missing:" + document.location.href); } smetrics.doPlugins = smetrics_doPlugins; /*******************************************************+***** -7- *****************************************************************/ /******************************************************* CORE CODE v.1.3 ***********************************************************/ /***********************************************************************************************************************************/ /*  This part of code is core code, called AppMesaurment. It controlls a huge part of metrics that was sended on Report&Analytics  */ /*                            Be carefull, this code must be changed when Adobe lunch new version.                                 */ /***********************************************************************************************************************************/ Appmesaurement core code....

____________________________________________________________________________________________________________________________________

Also I can observe that cookies AMCV_ is created on my domain, but I see more than once s_vi in many different domains:

[img]cookies.png[/img]

I imagine that my mistake is referent to order of codes into Appmesaurement or maybe on trackinServer, visitor vars... but sincerly I don't know. I'm glad if someone can help me, probably other people can have same problem 😄

Many thanks in advance,

Julià.

View Entire Topic

Avatar

Avatar

julià_pujol_ar1

Avatar

julià_pujol_ar1

julià_pujol_ar1

15-10-2015

Hi,

Any idea? I believe this subject is very important, seem that on future all Adobe Marketing tools will use same cookie (that provides VisitorAPI.js, AMCV_). In documentation explicit that implement VisitorAPI into Appmesaurment is possible and let us some instructions, but I cannot see an example, maybe is for that I use DTM?

I will be grateful if someone have any idea,

Julià.