I am implementing SiteCatalyst for my site and preparing AppMeasurement.js
.
Within the documentation, I am told that I should paste the following code in the default AppMeasurement.js
.
s = new AppMeasurement()
s.account="my-report-suite"
s.visitorNamespace = "INSERT-NAMESPACE-HERE"
/******** VISITOR ID SERVICE CONFIG - REQUIRES VisitorAPI.js ********/
s.visitor = Visitor.getInstance("INSERT-NAMESPACE-HERE") // same as s.VisitorNamespace
/************************** CONFIG SECTION **************************/
/* You may add or alter any code config here. */
/* Link Tracking Config */
s.trackDownloadLinks=true
s.trackExternalLinks=true
s.trackInlineStats=true
s.linkDownloadFileTypes="exe,zip,wav,mp3,mov,mpg,avi,wmv,pdf,doc,docx,xls,xlsx,ppt,pptx"
s.linkInternalFilters="javascript:" //optional: add your internal domain here
s.linkLeaveQueryString=false
s.linkTrackVars="None"
s.linkTrackEvents="None"
s.trackingServer="INSERT-TRACKING-SERVER-HERE"
My question is:-
AppMeasurement above the
AppMeasurement()` function?VisitorNameSpace
in my Sitecatalyst Admin?trackingServer
?Many Thanks.
The way I do it works well, but may not be the absolute right way. I believe that the concept for new implementations should use Tag management and thus these would get filled in for you. But I don't have much experience with that area and mostly use the old s_code method. This will also get you the right values for using AppMeasurement.js.
The 3 values you need can be auto-generated in Code Manager.
This is the legacy s_code file for your Report Suite. It is still the most used option by customers today.
The code fragment you have above needs to appear at the top of your source for Analytics.
Also look into Tag Management with Adobe, it is the best way forward, and is free. Here are some links: http://blogs.adobe.com/digitalmarketing/analytics/common-questions-about-dynamic-tag-management/ https://microsite.omniture.com/t2/help/en_US/dtm/index.html#Deploy_Adobe_Analytics