Not able to find the trackingsecureserver variable
I was trying to connect the Analytics to sharepoint site to enable site traffic monitoring. While have followed the tutorial JavaScript implementation overview
and I am not able to find the variable trackingsecureserver from the code example. Even after I have included the VisitorAPI.js and AppMeasurement.js, the analytics tracking does not reflect to my sandbox analytics console.
I have four questions:
1. How to find the trackingsecureserver variable value?
2. I can see a GET request to adobesandbox failing to complete from the console. I see net::ERR_NAME_NOT_RESOLVED error. Why is this happening and what is the resolution? I have now used trackingsecureserver and trackingserver variable(which I was able to get from code manager), both of them having same value now, is that an issue?
3. Since the site is in sharepoint I was not able to add these js script files as a part of HEAD tag. It is inside BODY tag. Is this an issue?
4. s.t() value is not reaching onto var s_code=s.t();if(s_code)document.write(s_code)...
That is I am not getting the required value in s_code variable which is a part of javascript added to BODY tag.
This seems urgent, please anyone help me out with this.
