added clientconfig library.
optionally use google analytics.