add a config key for hostname and not url.

use different google analytics script snippet.