more tracking; hide arb from welcome splash

This commit is contained in:
tim
2025-04-15 19:21:39 -04:00
parent f35b30e337
commit 14b8b50812
11 changed files with 48 additions and 17 deletions

View File

@@ -9,6 +9,7 @@ import {ohlcStart} from "@/charts/chart-misc.js";
import {timestamp, USD_FIAT} from "@/common.js";
import {erc20Contract} from "@/blockchain/contract.js";
import {provider} from "@/blockchain/wallet.js";
import {track} from "@/track.js";
const DEBUG_LOGGING = false
const log = DEBUG_LOGGING ? console.log : ()=>{}
@@ -356,6 +357,8 @@ export const DataFeed = {
result.push(_symbols[ticker])
seen[ticker] = true
}
if (userInput.length>=3)
track('search', {search_term: userInput})
onResultReadyCallback(result);
},