mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
feat: track campaign
This commit is contained in:
1 parent
cda77e1840
commit
3722a9b01c
1 file changed
+2
-1
@@ -140,7 +140,8 @@
|
||||
await sdk.forConsole.billing.updateTaxId(org.$id, taxId);
|
||||
}
|
||||
trackEvent(Submit.CreditRedeem, {
|
||||
coupon: couponData.code
|
||||
coupon: couponData.code,
|
||||
campaign: couponData?.campaign
|
||||
});
|
||||
await invalidate(Dependencies.ORGANIZATION);
|
||||
await goto(`/console/organization-${org.$id}`);
|
||||
|
||||
Reference in new issue
Block a user