Options

Analytics truncates first domain character in "var SM"

tplumbtplumb Registered Users Posts: 15 Big grins
edited September 17, 2015 in SmugMug Customization
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?
Sign In or Register to comment.