Return-Path: X-Original-To: apmail-accumulo-commits-archive@www.apache.org Delivered-To: apmail-accumulo-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 15842179FF for ; Tue, 14 Oct 2014 15:51:18 +0000 (UTC) Received: (qmail 46861 invoked by uid 500); 14 Oct 2014 15:51:18 -0000 Delivered-To: apmail-accumulo-commits-archive@accumulo.apache.org Received: (qmail 46824 invoked by uid 500); 14 Oct 2014 15:51:18 -0000 Mailing-List: contact commits-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@accumulo.apache.org Delivered-To: mailing list commits@accumulo.apache.org Received: (qmail 46815 invoked by uid 99); 14 Oct 2014 15:51:17 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Oct 2014 15:51:17 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Oct 2014 15:50:56 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 9ECF123889F1; Tue, 14 Oct 2014 15:50:54 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1631800 - /accumulo/site/trunk/content/downloads/index.mdtext Date: Tue, 14 Oct 2014 15:50:54 -0000 To: commits@accumulo.apache.org From: elserj@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20141014155054.9ECF123889F1@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: elserj Date: Tue Oct 14 15:50:54 2014 New Revision: 1631800 URL: http://svn.apache.org/r1631800 Log: Need to give GA full URL not just path? Modified: accumulo/site/trunk/content/downloads/index.mdtext Modified: accumulo/site/trunk/content/downloads/index.mdtext URL: http://svn.apache.org/viewvc/accumulo/site/trunk/content/downloads/index.mdtext?rev=1631800&r1=1631799&r2=1631800&view=diff ============================================================================== --- accumulo/site/trunk/content/downloads/index.mdtext (original) +++ accumulo/site/trunk/content/downloads/index.mdtext Tue Oct 14 15:50:54 2014 @@ -28,11 +28,12 @@ var gaCallback = function(event) { if (event.ctrlKey || event.shiftKey || event.metaKey || event.which == 2) { var newWin = true;} + var domain = "http://accumulo.apache.org" if (newWin) { - ga('send', 'event', 'outbound', 'click', $(this).id, {'nonInteraction': 1}); + ga('send', 'event', 'outbound', 'click', domain + $(this).id, {'nonInteraction': 1}); return true; } else { - ga('send', 'event', 'outbound', 'click', $(this).id, {'hitCallback': + ga('send', 'event', 'outbound', 'click', domain + $(this).id, {'hitCallback': function () {window.location.href = hrefUrl;}}, {'nonInteraction': 1}); return false; }