Analytics truncates first domain character in "var SM"
tplumb
Registered Users Posts: 15 Big grins
The variable holding the custom domain string has first character truncated. Bug?
Looked at a few sites, all had the behavior.
If one's custom domain is "portfolio.hello.com", ga code gets "ortfolio.hello.com".
Smugmug generated code at top of page...
var SM = {env: .... .....
.... "tracking":{"ga":{"domain":"ortfolio.hello.com","smugmug":"UA-138402-3","user":"UA-xxxxxx-x"}}}, modules: {}};
//(user UA is obfuscated with xxxx)
Analytics is truncating first character in "domain" string?
Looked at a few sites, all had the behavior.
If one's custom domain is "portfolio.hello.com", ga code gets "ortfolio.hello.com".
Smugmug generated code at top of page...
var SM = {env: .... .....
.... "tracking":{"ga":{"domain":"ortfolio.hello.com","smugmug":"UA-138402-3","user":"UA-xxxxxx-x"}}}, modules: {}};
//(user UA is obfuscated with xxxx)
Analytics is truncating first character in "domain" string?
0