mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-07-24 20:06:57 +02:00
Remove Google Analytics from installer
This commit is contained in:
parent
acfda3ba49
commit
9b542736f7
1 changed files with 17 additions and 17 deletions
|
@ -454,27 +454,27 @@ Var GAClientID
|
||||||
!macroend
|
!macroend
|
||||||
|
|
||||||
!macro GoogleAnalytics Category Action Label Value
|
!macro GoogleAnalytics Category Action Label Value
|
||||||
${If} "@GA_TRACKING_ID@" != ""
|
; ${If} "@GA_TRACKING_ID@" != ""
|
||||||
Push $0
|
; Push $0
|
||||||
Push $1
|
; Push $1
|
||||||
|
|
||||||
StrCpy $0 "https://google-analytics.com/collect?v=1&tid=@GA_TRACKING_ID@"
|
; 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 "$0&cid=$GAClientID&t=event&ec=${Category}&ea=${Action}"
|
||||||
|
|
||||||
${If} "${Label}" != ""
|
; ${If} "${Label}" != ""
|
||||||
StrCpy $0 "$0&el=${Label}"
|
; StrCpy $0 "$0&el=${Label}"
|
||||||
${EndIf}
|
; ${EndIf}
|
||||||
${If} "${Value}" != ""
|
; ${If} "${Value}" != ""
|
||||||
StrCpy $0 "$0&ev=${Value}"
|
; StrCpy $0 "$0&ev=${Value}"
|
||||||
${EndIf}
|
; ${EndIf}
|
||||||
|
|
||||||
GetTempFileName $1
|
; GetTempFileName $1
|
||||||
inetc::get /SILENT $0 $1 /END
|
; inetc::get /SILENT $0 $1 /END
|
||||||
Delete $1
|
; Delete $1
|
||||||
|
|
||||||
Pop $1
|
; Pop $1
|
||||||
Pop $0
|
; Pop $0
|
||||||
${EndIf}
|
; ${EndIf}
|
||||||
!macroend
|
!macroend
|
||||||
|
|
||||||
;--------------------------------
|
;--------------------------------
|
||||||
|
|
Loading…
Reference in a new issue