From 9b542736f76718f5d4fc0a114b1afc4ac5f6c63d Mon Sep 17 00:00:00 2001 From: Marcus Llewellyn Date: Sun, 22 Dec 2019 14:23:28 -0600 Subject: [PATCH] Remove Google Analytics from installer --- cmake/templates/NSIS.template.in | 34 ++++++++++++++++---------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/cmake/templates/NSIS.template.in b/cmake/templates/NSIS.template.in index 9af99f927d..8942ea2bcb 100644 --- a/cmake/templates/NSIS.template.in +++ b/cmake/templates/NSIS.template.in @@ -454,27 +454,27 @@ Var GAClientID !macroend !macro GoogleAnalytics Category Action Label Value - ${If} "@GA_TRACKING_ID@" != "" - Push $0 - Push $1 +; ${If} "@GA_TRACKING_ID@" != "" +; Push $0 +; Push $1 - StrCpy $0 "https://google-analytics.com/collect?v=1&tid=@GA_TRACKING_ID@" - StrCpy $0 "$0&cid=$GAClientID&t=event&ec=${Category}&ea=${Action}" +; StrCpy $0 "https://google-analytics.com/collect?v=1&tid=@GA_TRACKING_ID@" +; StrCpy $0 "$0&cid=$GAClientID&t=event&ec=${Category}&ea=${Action}" - ${If} "${Label}" != "" - StrCpy $0 "$0&el=${Label}" - ${EndIf} - ${If} "${Value}" != "" - StrCpy $0 "$0&ev=${Value}" - ${EndIf} +; ${If} "${Label}" != "" +; StrCpy $0 "$0&el=${Label}" +; ${EndIf} +; ${If} "${Value}" != "" +; StrCpy $0 "$0&ev=${Value}" +; ${EndIf} - GetTempFileName $1 - inetc::get /SILENT $0 $1 /END - Delete $1 +; GetTempFileName $1 +; inetc::get /SILENT $0 $1 /END +; Delete $1 - Pop $1 - Pop $0 - ${EndIf} +; Pop $1 +; Pop $0 +; ${EndIf} !macroend ;--------------------------------