Skip to content

fixed type definition #57

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

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

Conversation

stijnie2210
Copy link
Contributor

@stijnie2210 stijnie2210 commented Jun 27, 2025

I forgot to add the second possible property of sa_event in my last PR, so in the current version you weren't able to add any metadata next to the event name. This PR should fix this type definition.

I also fixed the README.md to match the current way to implement saEvent.

@adriaandotcom
Copy link
Contributor

Awesome, we also have callbacks to sa_event and in the near future with sa_pageview too: simpleanalytics/scripts@7dc389f

@stijnie2210
Copy link
Contributor Author

@adriaandotcom you're welcome 😄 do we need any extra changes on this PR or is this mergeable?

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