You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the solution you'd like
Here is a list of custom events needed: General events:
when onboards.js is connected: heap.track('walletConnected', {walletType: '{type of wallet, like metamask}', chain: '{what chain the user is connected to like mainnet or polygon}'});
Farm
when the farm button is clicked by a user: heap.track('clickFarm', {pool: '{Ib or boost}', currency: '{usd or eur or cvx/eth}'});
when the user has stopped typing in the deposit box: heap.track('startedDepositing', {pool: '{Ib or boost}', currency: '{usd or eur or cvx/eth}', amount: '{just the amount typed}'});
when the user approves transaction is mined: heap.track('approvedTransactionMined', {pool: '{Ib or boost}', currency: '{usd or eur or cvx/eth}', amount: '{just the amount approved}'});
when the user deposit transaction is mined: heap.track('depositTransactionMined', {pool: '{Ib or boost}', currency: '{usd or eur or cvx/eth}', amount: '{just the amount deposited}'});
Autoinvest
when the autoinvest modal is opened: heap.track('clickAutoinvest');
when the user has selected a token: heap.track('autoInvestTokenSelected', {token: '{name of the token selected}'});
when the user has stopped typing in the deposit box: heap.track('startedAutoinvestDeposit', token: '{usdc or eurj or cvx/eth}', amount: '{just the amount typed}'});
when the user approves transaction to ricochet is mined: heap.track('approvedTransactionMined', {pool: '{Ib or boost}', currency: '{usd or eur or cvx/eth}', amount: '{just the amount approved}'});
when the user deposit transaction is mined: heap.track('depositTransactionMined', {pool: '{Ib or boost}', currency: '{usd or eur or cvx/eth}', amount: '{just the amount deposited}'});
Transfer
when the transfer page is opened: heap.track('transfer');
when the user has stopped typing in the amount box: heap.track('transferAmount', {amount: '{just the amount typed}'});
when the user has stopped typing in the recipient box: heap.track('transferRecipient');
when the user clicks the transfer button: heap.track('transferButtonClicked');
Stake
when the stake page is opened: heap.track('stake');
when the user has stopped typing in the amount box: heap.track('stakeLockAmount', {amount: '{just the amount typed}'});
when the user clicks the stake button: heap.track('stakeLockButtonClicked');
when the user has stopped typing in the amount box: heap.track('stakeLockAmount', {amount: '{just the amount typed}'});
when the user has stopped the slider on an amount: heap.track('stakeUnlockAmount', {amount: '{just the amount typed}'});
when the user clicks the stake button: heap.track('stakeUnlockButtonClicked');
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
To help with tracking progress and help with analytics, we would like to setup some event tracking on the main dapp.
To do this we need to add a few custom events (https://help.heap.io/definitions/events/events-overview/#how-many-events-should-i-define) this can be done using the heap SDK: https://developers.heap.io/reference/track
Describe the solution you'd like
Here is a list of custom events needed:
General events:
Farm
Autoinvest
Transfer
Stake
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: