Skip to content

Commit

Permalink
chore: minor change for page call
Browse files Browse the repository at this point in the history
  • Loading branch information
aanshi07 committed Aug 6, 2024
1 parent 154d721 commit 0b0cd85
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,9 @@ class XPixel {
}

page(rudderElement) {
const event = 'Page View';
const properties = getTrackResponse(rudderElement.message);
const standardEventsMap = getHashFromArrayWithDuplicate(this.eventsMapping);
sendEvent(event, properties, standardEventsMap);
sendEvent('Page View', properties, standardEventsMap);
}
}
export default XPixel;

0 comments on commit 0b0cd85

Please sign in to comment.