Skip to content

Commit 8b232a1

Browse files
committed
Avoid posting wallet analytics when no client id
1 parent 7f19818 commit 8b232a1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Assets/Thirdweb/Core/Scripts/Utils.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -668,6 +668,9 @@ public static BigInteger GweiToWei(double gweiAmount)
668668

669669
public static async void TrackWalletAnalytics(string clientId, string source, string action, string walletType, string walletAddress)
670670
{
671+
if (string.IsNullOrEmpty(clientId) || string.IsNullOrEmpty(source) || string.IsNullOrEmpty(action) || string.IsNullOrEmpty(walletType) || string.IsNullOrEmpty(walletAddress))
672+
return;
673+
671674
try
672675
{
673676
var body = new

0 commit comments

Comments
 (0)