1f0d943be0bcfaaeca78424de9482a4d2cbaf6b0
hiram
Fri Jun 20 08:01:00 2014 -0700
updated to Universal Analytics code refs #13120
diff --git src/hg/lib/googleAnalytics.c src/hg/lib/googleAnalytics.c
index ae7e409..d165398 100644
--- src/hg/lib/googleAnalytics.c
+++ src/hg/lib/googleAnalytics.c
@@ -1,37 +1,39 @@
/* Copyright (C) 2014 The Regents of the University of California
* See README in this or parent directory for licensing information. */
#include "common.h"
#include "hgConfig.h"
#include "hPrint.h"
#include "googleAnalytics.h"
void googleAnalytics()
/* check for analytics configuration item and output google hooks if OK */
{
static boolean done = FALSE;
if (done)
return;
done = TRUE; /* do not repeat this by mistake */
char *analyticsKey = cfgOption("analyticsKey");
/* if config is missing or empty, nothing happens here */
if (isEmpty(analyticsKey))
return;
-
-hPrintf("\n\n"
-"\n", analyticsKey);
+/* updated to Universal Analytics code 2014-06-19 */
+
+hPrintf("\n", analyticsKey);
}