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

feat(packages/sui-segment-wrapper): send init event once per session #1884

Merged
merged 2 commits into from
Dec 17, 2024

Conversation

kikoruiz
Copy link
Member

GA4 init event needs to be sent:

const getGoogleField = async field => {
const googleAnalyticsMeasurementId = getConfig('googleAnalyticsMeasurementId')

// If `googleAnalyticsMeasurementId` is not present, don't load anything
// If `googleAnalyticsMeasurementId` is not present, don't load anything.
Copy link
Member

Choose a reason for hiding this comment

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

👏

Copy link
Member Author

Choose a reason for hiding this comment

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

Sorry, but I'm very pro to treat comments as sentences 🙏 https://nedbatchelder.com/blog/201401/comments_should_be_sentences.html

@kikoruiz kikoruiz merged commit 34dec1e into master Dec 17, 2024
3 checks passed
@kikoruiz kikoruiz deleted the send-init-event-once-per-session branch December 17, 2024 14:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants