Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add created_at timestamp to the Events #115

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Conversation

mr-vara
Copy link
Contributor

@mr-vara mr-vara commented Dec 4, 2024

Proposed changes

Updated the event payload in the WordPress data module to include the created_at timestamp when sending batched events to Hiive. This timestamp, already present in the event data table, is now added to the payload to ensure accurate event timestamping. For non-batched events, the created_at field is added dynamically during event processing.

Jira Ticket: https://jira.newfold.com/browse/PRESS11-56

Copy link
Member

@wpscholar wpscholar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this looks good otherwise

includes/Event.php Outdated Show resolved Hide resolved
@mr-vara mr-vara marked this pull request as ready for review December 5, 2024 08:55
@mr-vara mr-vara requested a review from wpscholar December 9, 2024 08:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants