Skip to content

Commit 1632967

Browse files
committed
fix(analytics): remove manual timestamp properties
- Remove timestamp from trackPageView pageProperties - Remove timestamp from trackEvent eventProperties - Let analytics service handle timestamps automatically Fixes: linuxfoundation/easycla#4790 Signed-off-by: ahmedomosanya <[email protected]>
1 parent 2989664 commit 1632967

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/app/shared/services/lfx-analytics.service.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ export class LfxAnalyticsService {
3939
url: window.location.href,
4040
title: document.title,
4141
referrer: document.referrer,
42-
timestamp: new Date().toISOString(),
4342
...properties
4443
};
4544

@@ -58,7 +57,6 @@ export class LfxAnalyticsService {
5857
if (this.isInitialized && this.analytics) {
5958
try {
6059
const eventProperties = {
61-
timestamp: new Date().toISOString(),
6260
url: window.location.href,
6361
path: window.location.pathname,
6462
...properties

0 commit comments

Comments
 (0)