![]() | ||
forums.webtrends.com
Webtrends Online Forums
Webtrends On Demand
Configuration and Administration
Total Newbie - Help with Splitting Tag|
Go
![]() |
New
![]() |
Find
![]() |
Notify
![]() |
Tools
![]() |
Reply
![]() |
|
Dear all
I feel I want to apologise in advance. I only opened a WT OnDemand account yesterday and I am floundering. Will somebody please tell me where in the following code I should split to create the 3 files required to collect stats: <!-- START OF SDC Advanced Tracking Code --> <!-- Copyright (c) 1996-2008 WebTrends Inc. All rights reserved. --> <!-- V8.0 --> <!-- $DateTime: 2007/02/20 09:30:16 $ --> <SCRIPT TYPE="text/javascript"><!-- var gService = true; var gTimeZone = 0; // Code section for Enable First-Party Cookie Tracking function dcsCookie(){ if (typeof(dcsOther)=="function"){ dcsOther(); } else if (typeof(dcsPlugin)=="function"){ dcsPlugin(); } else if (typeof(dcsFPC)=="function"){ dcsFPC(gTimeZone); } } function dcsGetCookie(name){ var cookies=document.cookie.split("; "); var cmatch=[]; var idx=0; var i=0; var namelen=name.length; var clen=cookies.length; for (i=0;i<clen;i++){ var c=cookies[i]; if ((c.substring(0,namelen+1))==(name+"=")){ cmatch[idx++]=c; } } var cmatchCount=cmatch.length; if (cmatchCount>0){ idx=0; if ((cmatchCount>1)&&(typeof(gFpc)!="undefined")&&(name==gFpc)){ var dLatest=new Date(0); for (i=0;i<cmatchCount;i++){ var lv=parseInt(dcsGetCrumb(cmatch[i],"lv")); var dLst=new Date(lv); if (dLst>dLatest){ dLatest.setTime(dLst.getTime()); idx=i; } } } return unescape(cmatch[idx].substring(namelen+1)); } else{ return null; } } function dcsGetCrumb(cval,crumb){ var aCookie=cval.split(":"); for (var i=0;i<aCookie.length;i++){ var aCrumb=aCookie[i].split("="); if (crumb==aCrumb[0]){ return aCrumb[1]; } } return null; } function dcsGetIdCrumb(cval,crumb){ var id=cval.substring(0,cval.indexOf(":lv=")); var aCrumb=id.split("="); for (var i=0;i<aCrumb.length;i++){ if (crumb==aCrumb[0]){ return aCrumb[1]; } } return null; } function dcsIsFpcSet(name,id,lv,ss){ var c=dcsGetCookie(name); if (c){ return ((id==dcsGetIdCrumb(c,"id"))&&(lv==dcsGetCrumb(c,"lv"))&&(ss==dcsGetCrumb(c,"ss")))?0:3; } return 2; } function dcsFPC(offset){ if (typeof(offset)=="undefined"){ return; } if (document.cookie.indexOf("WTLOPTOUT=")!=-1){ return; } var name=gFpc; var dCur=new Date(); var adj=(dCur.getTimezoneOffset()*60000)+(offset*3600000); dCur.setTime(dCur.getTime()+adj); var dExp=new Date(dCur.getTime()+315360000000); var dSes=new Date(dCur.getTime()); WT.co_f=WT.vt_sid=WT.vt_f=WT.vt_f_a=WT.vt_f_s=WT.vt_f_d=WT.vt_f_tlh=WT.vt_f_tlv=""; if (document.cookie.indexOf(name+"=")==-1){ if ((typeof(gWtId)!="undefined")&&(gWtId!="")){ WT.co_f=gWtId; } else if ((typeof(gTempWtId)!="undefined")&&(gTempWtId!="")){ WT.co_f=gTempWtId; WT.vt_f="1"; } else{ WT.co_f="2"; var cur=dCur.getTime().toString(); for (var i=2;i<=(32-cur.length);i++){ WT.co_f+=Math.floor(Math.random()*16.0).toString(16); } WT.co_f+=cur; WT.vt_f="1"; } if (typeof(gWtAccountRollup)=="undefined"){ WT.vt_f_a="1"; } WT.vt_f_s=WT.vt_f_d="1"; WT.vt_f_tlh=WT.vt_f_tlv="0"; } else{ var c=dcsGetCookie(name); var id=dcsGetIdCrumb(c,"id"); var lv=parseInt(dcsGetCrumb(c,"lv")); var ss=parseInt(dcsGetCrumb(c,"ss")); if ((id==null)||(id=="null")||isNaN(lv)||isNaN(ss)){ return; } WT.co_f=id; var dLst=new Date(lv); WT.vt_f_tlh=Math.floor((dLst.getTime()-adj)/1000); dSes.setTime(ss); if ((dCur.getTime()>(dLst.getTime()+1800000))||(dCur.getTime()>(dSes.getTime()+28800000))){ WT.vt_f_tlv=Math.floor((dSes.getTime()-adj)/1000); dSes.setTime(dCur.getTime()); WT.vt_f_s="1"; } if ((dCur.getDay()!=dLst.getDay())||(dCur.getMonth()!=dLst.getMonth())||(dCur.getYear()!=dLst.getYear())){ WT.vt_f_d="1"; } } WT.co_f=escape(WT.co_f); WT.vt_sid=WT.co_f+"."+(dSes.getTime()-adj); var expiry="; expires="+dExp.toGMTString(); var cur=dCur.getTime().toString(); var ses=dSes.getTime().toString(); document.cookie=name+"="+"id="+WT.co_f+":lv="+cur+":ss="+ses+expiry+"; path=/"+(((typeof(gFpcDom)!="undefined")&&(gFpcDom!=""))?("; domain="+gFpcDom) var rc=dcsIsFpcSet(name,WT.co_f,cur,ses); if (rc!=0){ WT.co_f=WT.vt_sid=WT.vt_f_s=WT.vt_f_d=WT.vt_f_tlh=WT.vt_f_tlv=""; WT.vt_f=WT.vt_f_a=rc; } } // Code section for Use the new first-party cookie generated with this tag. var gFpc="WT_FPC"; var gConvert=true; function dcsAdv(){ dcsFunc("dcsET"); dcsFunc("dcsCookie"); dcsFunc("dcsAdSearch"); dcsFunc("dcsTP"); } //--> </SCRIPT> <!-- END OF SDC Advanced Tracking Code --> <!-- START OF SmartSource Data Collector TAG --> <!-- Copyright (c) 1996-2008 WebTrends Inc. All rights reserved. --> <!-- V8.0 --> <!-- $DateTime: 2007/03/05 13:33:14 $ --> <!-- ----------------------------------------------------------------------------------- --> <!-- Warning: The two script blocks below must remain inline. Moving them to an external --> <!-- JavaScript include file can cause serious problems with cross-domain tracking. --> <!-- ----------------------------------------------------------------------------------- --> <SCRIPT TYPE="text/javascript"><!-- var gDomain="statse.webtrendslive.com"; var gDcsId="dcs8ugw1r000004nsg3akegqx_5r3q"; if ((typeof(gConvert)!="undefined")&&gConvert&&(document.cookie.indexOf(gFpc+"=")==-1)&&(document.cookie.indexOf("WTLOPTOUT=")==-1)){ document.write("<SCR"+"IPT TYPE='text/javascript' SRC='"+"http"+(window.location.protocol.indexOf('https:')==0?'s':'')+"://"+gDomain+"/"+gDcsId+"/wtid.js"+"'><\/SCR"+"IPT>"); } //--> </SCRIPT> <SCRIPT TYPE="text/javascript"><!-- var gImages=new Array; var gIndex=0; var DCS=new Object(); var WT=new Object(); var DCSext=new Object(); var gQP=new Array(); var gI18n=false; if (window.RegExp){ var RE=gI18n?{"%25":/\%/g}:{"%09":/\t/g,"%20":/ /g,"%23":/\#/g,"%26":/\&/g,"%2B":/\+/g,"%3F":/\?/g,"%5C":/\\/g,"%22":/\"/g,"%7F":/\x7F/g,"%A0":/\xA0/g}; if (gI18n){ var EXRE=/dcs(uri)|(ref)|(aut)|(met)|(sta)|(sip)|(pro)|(byt)|(dat)|(p3p)|(cfg)|(redirect)|(cip)/i; } } // Add customizations here function dcsVar(){ var dCurrent=new Date(); WT.tz=(dCurrent.getTimezoneOffset()/60*-1)||"0"; WT.bh=dCurrent.getHours()||"0"; WT.ul=navigator.appName=="Netscape"?navigator.language:navigator.userLanguage; if (typeof(screen)=="object"){ WT.cd=navigator.appName=="Netscape"?screen.pixelDepth:screen.colorDepth; WT.sr=screen.width+"x"+screen.height; } if (typeof(navigator.javaEnabled())=="boolean"){ WT.jo=navigator.javaEnabled()?"Yes":"No"; } if (document.title){ if (window.RegExp){ var tire=new RegExp("^"+window.location.protocol+"//"+window.location.hostname+"\\s-\\s"); WT.ti=document.title.replace(tire,""); } else{ WT.ti=document.title; } } WT.js="Yes"; WT.jv=dcsJV(); if (document.body&&document.body.addBehavior){ document.body.addBehavior("#default#clientCaps"); WT.ct=document.body.connectionType||"unknown"; document.body.addBehavior("#default#homePage"); WT.hp=document.body.isHomePage(location.href)?"1":"0"; } else{ WT.ct="unknown"; } if (document.all){ WT.bs=document.body?document.body.offsetWidth+"x"+document.body.offsetHeight:"unknown"; } else{ WT.bs=window.innerWidth+"x"+window.innerHeight; } WT.fi="No"; if (window.ActiveXObject){ for(var i=10;i>0;i--){ try{ var flash = new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+i); WT.fi="Yes"; WT.fv=i+".0"; break; } catch(e){ } } } else if (navigator.plugins&&navigator.plugins.length){ for (var i=0;i<navigator.plugins.length;i++){ if (navigator.plugins[i].name.indexOf('Shockwave Flash')!=-1){ WT.fi="Yes"; WT.fv=navigator.plugins[i].description.split(" ")[2]; break; } } } if (gI18n){ if (typeof(document.defaultCharset)=="string"){ WT.le=document.defaultCharset; } else if (typeof(document.characterSet)=="string"){ WT.le=document.characterSet; } else{ WT.le="unknown"; } } WT.tv="8.0.3"; WT.sp="@@SPLITVALUE@@"; DCS.dcsdat=dCurrent.getTime(); DCS.dcssip=window.location.hostname; DCS.dcsuri=window.location.pathname; if (window.location.search){ DCS.dcsqry=window.location.search; if (gQP.length>0){ for (var i=0;i<gQP.length;i++){ var pos=DCS.dcsqry.indexOf(gQP[i]); if (pos!=-1){ var front=DCS.dcsqry.substring(0,pos); var end=DCS.dcsqry.substring(pos+gQP[i].length,DCS.dcsqry.length); DCS.dcsqry=front+end; } } } } if ((window.document.referrer!="")&&(window.document.referrer!="-")){ if (!(navigator.appName=="Microsoft Internet Explorer"&&parseInt(navigator.appVersion)<4)){ DCS.dcsref=window.document.referrer; } } } function dcsA(N,V){ if (gI18n&&!EXRE.test(N)){ if (N=="dcsqry"){ var newV=""; var params=V.substring(1).split("&"); for (var i=0;i<params.length;i++){ var pair=params[i]; var pos=pair.indexOf("="); if (pos!=-1){ var key=pair.substring(0,pos); var val=pair.substring(pos+1); if (i!=0){ newV+="&"; } newV+=key+"="+dcsEncode(val); } } V=V.substring(0,1)+newV; } else{ V=dcsEncode(V); } } return "&"+N+"="+dcsEscape(V, RE); } function dcsEscape(S, REL){ if (typeof(REL)!="undefined"){ S=S.toString(); for (var R in REL){ S=S.replace(REL[R],R); } return S; } else{ return escape(S); } } function dcsEncode(S){ return (typeof(encodeURIComponent)=="function")?encodeURIComponent(S):escape(S); } function dcsCreateImage(dcsSrc){ if (document.images){ gImages[gIndex]=new Image; gImages[gIndex].src=dcsSrc; gIndex++; } else{ document.write('<IMG ALT="" BORDER="0" NAME="DCSIMG" WIDTH="1" HEIGHT="1" SRC="'+dcsSrc+'">'); } } function dcsMeta(){ var elems; if (document.all){ elems=document.all.tags("meta"); } else if (document.documentElement){ elems=document.getElementsByTagName("meta"); } if (typeof(elems)!="undefined"){ var length=elems.length; for (var i=0;i<length;i++){ var name=elems.item(i).name; var content=elems.item(i).content; var equiv=elems.item(i).httpEquiv; if (name.length>0){ if (name.indexOf("WT.")==0){ WT[name.substring(3)]=content; } else if (name.indexOf("DCSext.")==0){ DCSext[name.substring(7)]=content; } else if (name.indexOf("DCS.")==0){ DCS[name.substring(4)]=content; } } } } } function dcsTag(){ if (document.cookie.indexOf("WTLOPTOUT=")!=-1){ return; } var P="http"+(window.location.protocol.indexOf('https:')==0?'s':'')+"://"+gDomain+(gDcsId==""?'':'/'+gDcsId)+"/dcs.gif?"; if (gI18n){ WT.dep=""; } for (var N in DCS){ if (DCS[N]){ P+=dcsA(N,DCS[N]); } } var keys=["co_f","vt_sid","vt_f_tlv"]; for (var i=0;i<keys.length;i++){ var key=keys[i]; if (WT[key]){ P+=dcsA("WT."+key,WT[key]); delete WT[key]; } } for (N in WT){ if (WT[N]){ P+=dcsA("WT."+N,WT[N]); } } for (N in DCSext){ if (DCSext[N]){ if (gI18n){ WT.dep=(WT.dep.length==0)?N } P+=dcsA(N,DCSext[N]); } } if (gI18n&&(WT.dep.length>0)){ P+=dcsA("WT.dep",WT.dep); } if (P.length>2048&&navigator.userAgent.indexOf('MSIE')>=0){ P=P.substring(0,2040)+"&WT.tu=1"; } dcsCreateImage(P); } function dcsJV(){ var agt=navigator.userAgent.toLowerCase(); var major=parseInt(navigator.appVersion); var mac=(agt.indexOf("mac")!=-1); var ff=(agt.indexOf("firefox")!=-1); var ff0=(agt.indexOf("firefox/0.")!=-1); var ff10=(agt.indexOf("firefox/1.0")!=-1); var ff15=(agt.indexOf("firefox/1.5")!=-1); var ff2up=(ff&&!ff0&&!ff10&!ff15); var nn=(!ff&&(agt.indexOf("mozilla")!=-1)&&(agt.indexOf("compatible")==-1)); var nn4=(nn&&(major==4)); var nn6up=(nn&&(major>=5)); var ie=((agt.indexOf("msie")!=-1)&&(agt.indexOf("opera")==-1)); var ie4=(ie&&(major==4)&&(agt.indexOf("msie 4")!=-1)); var ie5up=(ie&&!ie4); var op=(agt.indexOf("opera")!=-1); var op5=(agt.indexOf("opera 5")!=-1||agt.indexOf("opera/5")!=-1); var op6=(agt.indexOf("opera 6")!=-1||agt.indexOf("opera/6")!=-1); var op7up=(op&&!op5&&!op6); var jv="1.1"; if (ff2up){ jv="1.7"; } else if (ff15){ jv="1.6"; } else if (ff0||ff10||nn6up||op7up){ jv="1.5"; } else if ((mac&&ie5up)||op6){ jv="1.4"; } else if (ie5up||nn4||op5){ jv="1.3"; } else if (ie4){ jv="1.2"; } return jv; } function dcsFunc(func){ if (typeof(window[func])=="function"){ window[func](); } } dcsVar(); dcsMeta(); dcsFunc("dcsAdv"); dcsTag(); //--> </SCRIPT> <NOSCRIPT> <IMG ALT="" BORDER="0" NAME="DCSIMG" WIDTH="1" HEIGHT="1" SRC="http://statse.webtrendslive.com/dcs8ugw1r000004nsg3akegqx_5r3q/njs.gif?dcsuri=/nojavascript&WT.js=No&WT.tv=8.0.3"> </NOSCRIPT> <!-- END OF SmartSource Data Collector TAG --> Any help appreciated. |
|||
|
Mark - The attached instructions are what we used for a long time. I haven't examined your code to be sure it's compatible with what's described, but I hope the document will be helpful.
As an old customer (me) to a new one (you) I'd like to encourage you to hang in there. The company did a poor job of documentation and other things for a long time, but what's going on over there now is really encouraging and I think it's worth it. By the way, have you called tech support? They seem a little busy today (long wait time) but often you can get through right away, and tech support has many really good people. The attachment is a Word doc - change the extension to .doc !!! Chris G procedure_for_breaking_up_a_tag_for_use_with_includes2.txt (93 KB, 34 downloads) |
||||
|
I should add that I'm in a big rush right now and will try to get back here to help more, if nobody else responds. Most of the action here happens in the Software area so some people may not notice this post.
Chris G |
||||
|
Thanks Chris - that's very much appreciated I'll take a look at the document.
I did email Tech Support yesterday. No response as of yet. Thanks again for your help. |
||||
|
Hello Chris
I think you document illustrates my confusion. I can't seem to equate my code with the parameters in the doc. The data for the second include seems to be partially in the first part of my code. I am wondering if I have generated the code correctly? |
||||
|
I read where chris is in a time crunch, so if you can elaborate, I'll try and help you keep things moving in a forward direction.
Basically, if you are using javascript to tag your page or activate your tag, then you need 2 .js files which come from the larger whole tag and a section within your webpage for noscript. Also, we've all been rewarded with what I consider a nicer way to validate our tags(easier anyway) by using this URL to test your page. First go to a page that is tagged (your site or mine). Then make it a favorite modify the favorite to this: javascript:document.write(gImages[0].src); So, try www.leaveyourmark.net and then the javascript to see my tag. Nothing fancy but it helps to troubleshoot. ... Dave |
||||
|
Thanks Dave
I think I understand the 2 x .js files - it's trying to make my code (above) split down to something which resembles the right info on each .js. |
||||
|
Here is my breakout of js. The first file is only with 2 CRITICAL pieces of private/specific info. My tagging server and my DCSID. Since all of this is viewable anyways, I don't think it a problem to share. Others can point out my flaw if needed.
So, between this little snippet as file1.js and the or noscript info, the remainder is file2.js . Note, I am fairly a rookie at this myself and haven't done as much as others, but it works and I get info. I want to be better at it, just don't have the time, but I ALWAYS have the time to help others as others have helped me. bash-3.00$ cat www_dcstag1.js <!-- START OF SDC Cookie Code --> <!-- Copyright (c) 1996-2005 WebTrends Inc. All rights reserved. --> <!-- $DateTime: 2006/03/08 11:31:03 $ --> var gDomain="webtagger.polaroid.com"; var gDcsId="dcsjxn6ovd500hlmpvwhj691m_5d9t"; var gFpc="WT_FPC"; var gConvert=true; if ((typeof(gConvert)!="undefined")&&gConvert&&(document.cookie.indexOf(gFpc+"=")==-1)&&(document.cookie.indexOf("WTLOPTOUT=")==-1)){document.write("<SCR"+"IPT TYPE='text/javascript' SRC='"+"http"+(window.location.protocol.indexOf('https:')==0?'s':'')+"://"+gDomain+"/"+gDcsId+"/wtid.js"+"'><\/SCR"+"IPT>"); } And THIS is the bottom of my files for noscript. Again, the most important piece in this is my taggin engine and tag. The same as above. <NOSCRIPT> <IMG ALT="" BORDER="0" NAME="DCSIMG" WIDTH="1" HEIGHT="1" SRC="http://webtagger.polaroid.com/dcsjxn6ovd500hlmpvwhj691m_5d9t/njs.gif?dcsuri=/nojavascript&WT.js=No"> </NOSCRIPT> |
||||
|
Thanks Dave
I think you have highlighted part of my confusion with my code. I think I have found the equivallent of your first .js file in my code, but it contains a warning not to separate it into a separate file: <!-- START OF SmartSource Data Collector TAG --> <!-- Copyright (c) 1996-2008 WebTrends Inc. All rights reserved. --> <!-- V8.0 --> <!-- $DateTime: 2007/03/05 13:33:14 $ --> <!-- ----------------------------------------------------------------------------------- --> <!-- Warning: The two script blocks below must remain inline. Moving them to an external --> <!-- JavaScript include file can cause serious problems with cross-domain tracking. --> <!-- ----------------------------------------------------------------------------------- --> <SCRIPT TYPE="text/javascript"><!-- var gDomain="statse.webtrendslive.com"; var gDcsId="dcs8ugw1r000004nsg3akegqx_5r3q"; if ((typeof(gConvert)!="undefined")&&gConvert&&(document.cookie.indexOf(gFpc+"=")==-1)&&(document.cookie.indexOf("WTLOPTOUT=")==-1)){ document.write("<SCR"+"IPT TYPE='text/javascript' SRC='"+"http"+(window.location.protocol.indexOf('https:')==0?'s':'')+"://"+gDomain+"/"+gDcsId+"/wtid.js"+"'><\/SCR"+"IPT>"); } //--> ????? |
||||
|
Great. Caution with my code as I am not certain what I am doing it right, only that it works.
I remember having the same problem you are and the forum providing similar help. Also, the .zip file mentioned in Chris's mail arrived from Webtrends Support and they had the 2 files seperated as i have indicated. I guess they were poor in showing what were the "2 script blocks" that are being referenced. |
||||
|
|
|
There are five specific command lines that must be in the first include file:
var gService = true; var gTimeZone = 0; var gDomain="statse.webtrendslive.com"; var gDcsId="dcs8ugw1r000004nsg3akegqx_5r3q"; if ((typeof(gConvert)!="undefined")&&gConvert&&(document.cookie.indexOf(gFpc+"=")==-1)&&(document.cookie.indexOf("WTLOPTOUT=")==-1)){ document.write("<SCR"+"IPT TYPE='text/javascript' SRC='"+"http"+(window.location.protocol.indexOf('https:')==0?'s':'')+"://"+gDomain+"/"+gDcsId+"/wtid.js"+"'><\/SCR"+"IPT>"); } I don't ever remember seeing the warning before, but in looking at an On Demand Data Source I now see it there. Here is my belief in the logic applied when they wrote that warning: 1 - Moving to exclude files must be done right or the first party cookie and cross-domain tracking will not work correctly. 2 - The block of script immediately following the warning must be executed prior to the "dcsTag();" call at the end of the script. 3 - Moving that block of script to an exclude and putting it in an incorrect place can prevent item 1 from working. 4 - A warning in the script makes sure that those not familiar with the appropriate concepts will not make errors. That said, the document that Chris attached will work. The MOST important piece to remember is that the include file with the above script MUST MUST MUST MUST MUST be included prior to the include file with the rest of the script. If you do not do this, FPC and cross-domain tracking will be totally fubar. At this point, might I suggest the use of the Tag Builder? You can find it at: http://tagbuilder.webtrends.com The only thing you need is the name of each domain you will be using the tag on (for cross-domain tracking) and the DCSID. Assuming the tag you provided in this thread is the one you will be using, the DCSID is "dcs8ugw1r000004nsg3akegqx_5r3q" (you put it in the Tag Builder program without the quotes). The reason I suggest using the Tag Builder is it provides you with an HTML template that contains all the HTML that MUST be put inline with page, and then a single include file. There is no need to split this include file as the HTML and .js file you get when using the Tag Builder provides everything in the appropriate format already. When using the Tag Builder there is even an option to specify the path that the include file will be in, and that data is populated in the HTML template. Finally, you get an XML file that can be uploaded to the Tag Builder in case you need to make changes, and the application will automatically populate all of the fields with the data from the tag you built previously. Another advantage of using the Tag Builder is you can add advanced features that do not come with the standard tag. For instance, if you have files that are downloaded (PDF, DOC, EXE, etc.), you can specify an option to automatically track those files (in the "Click Event Tracking" tag). Without this, you would need to add the dcsMultiTrack function to the standard tag and then manually create mouse events to track these downloads. The Tag Builder is set up to allow you to track these without having to add any additional code to your page. There is help for each setting in the Tag Builder that explains what the setting is for. There is also a general help that explains how to use the Tag Builder. I hope this helps and doesn't confuse the issue too much for you. I realize that this is a lot of information. Once you get into it and start understanding how it all works it will come much easier to you. Continue to use the forums as there are a lot of sharp folks here who are a tremendous help. |
|||
|
Can I say a quick 'thank you' 2Dangerous - this is fantastic advice for someone like me.
I will study your email and if I may post any follow-up's. Thanks to all again. |
||||
|
Hello 2Dangerous
Just a quick question: What do I put in the Visitor tracking for subdomains: Cookie domain attribute Is this the domain of the site to be monitored, eg. http://www.mysite.com I will only be using the stats on one primary domain. Many thanks |
||||
|
|
|
You put in that the domain you will be tracking. I would advise reading the help for that field, but the gist of it is you want to put in the root only. For instance, if the domain is http://www.mysite.com, you would put the following in that field:
.mysite.com |
|||
|
Got it.
The site for this account is nearing completion and as such is under a 'development domain' (ie. http://deveopment-domain.co.uk) which is different from the domain which will be used once the site is completed (ie www.clientdomain.co.uk). It is this final domain which has been specified when we set up WT on Demand. Is there a way for us to validate we have added the code correctly using the development domain, before it is live and the final domain has been activated for launch? Many thanks |
||||
|
| Powered by Social Strata | Page 1 2 |
| Please Wait. Your request is being processed... |
|
forums.webtrends.com
Webtrends Online Forums
Webtrends On Demand
Configuration and Administration
Total Newbie - Help with Splitting Tag
