diff --git a/Library/Homebrew/utils/analytics.rb b/Library/Homebrew/utils/analytics.rb
index 087c6954002b8fd13d43be723a7d39df5cfb257f..866ff15f0f5d698fb463e6c29997797edf62ed79 100644
--- a/Library/Homebrew/utils/analytics.rb
+++ b/Library/Homebrew/utils/analytics.rb
@@ -16,13 +16,13 @@ module Utils
         args = %W[
           --max-time 3
           --user-agent #{HOMEBREW_USER_AGENT_CURL}
-          -d v=1
-          -d tid=#{ENV["HOMEBREW_ANALYTICS_ID"]}
-          -d cid=#{ENV["HOMEBREW_ANALYTICS_USER_UUID"]}
-          -d aip=1
-          -d an=#{HOMEBREW_PRODUCT}
-          -d av=#{HOMEBREW_VERSION}
-          -d t=#{type}
+          --data v=1
+          --data aip=1
+          --data t=#{type}
+          --data tid=#{ENV["HOMEBREW_ANALYTICS_ID"]}
+          --data cid=#{ENV["HOMEBREW_ANALYTICS_USER_UUID"]}
+          --data an=#{HOMEBREW_PRODUCT}
+          --data av=#{HOMEBREW_VERSION}
         ]
         metadata.each { |k, v| args << "-d" << "#{k}=#{v}" if k && v }
 
diff --git a/Library/Homebrew/utils/analytics.sh b/Library/Homebrew/utils/analytics.sh
index 3063716d71782d8e8c532e4d06b424088bb6945a..24480b18561b69c08977240acb03bd77c0fa7ec8 100644
--- a/Library/Homebrew/utils/analytics.sh
+++ b/Library/Homebrew/utils/analytics.sh
@@ -93,14 +93,14 @@ report-analytics-screenview-command() {
   local args=(
     --max-time 3
     --user-agent "$HOMEBREW_USER_AGENT_CURL"
-    -d v=1
-    -d tid="$HOMEBREW_ANALYTICS_ID"
-    -d cid="$HOMEBREW_ANALYTICS_USER_UUID"
-    -d aip=1
-    -d an="$HOMEBREW_PRODUCT"
-    -d av="$HOMEBREW_VERSION"
-    -d t=screenview
-    -d cd="$HOMEBREW_COMMAND"
+    --data v=1
+    --data aip=1
+    --data t=screenview
+    --data tid="$HOMEBREW_ANALYTICS_ID"
+    --data cid="$HOMEBREW_ANALYTICS_USER_UUID"
+    --data an="$HOMEBREW_PRODUCT"
+    --data av="$HOMEBREW_VERSION"
+    --data cd="$HOMEBREW_COMMAND"
   )
 
   # Send analytics. Don't send or store any personally identifiable information.