Skip to content

Commit

Permalink
Merge pull request #132 from deriv-com/habib/add-performance-tracker
Browse files Browse the repository at this point in the history
update event name
  • Loading branch information
habib-deriv authored Apr 29, 2024
2 parents e7d64cb + 5049c65 commit aac40d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/performance-metrics-methods.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export const setPerformanceValue = (action: keyof typeof Window.prototype.perfor
const value = (Date.now() - window.performance_metrics[action]) / 1000;
window.performance_metrics[action] = 0;

const event_name = 'ce_traders_hub_v3_performance_metrics';
const event_name = 'ce_traders_hub_standalone_performance_metrics';
// @ts-expect-error types will be added in the next version of analytics package
Analytics.trackEvent(event_name, {
action,
Expand Down

0 comments on commit aac40d7

Please sign in to comment.