Skip to content

Comments

Add Support for Privacy Function URL#6

Merged
sepatel merged 5 commits intomainfrom
custom-privacy
Aug 20, 2025
Merged

Add Support for Privacy Function URL#6
sepatel merged 5 commits intomainfrom
custom-privacy

Conversation

@sepatel
Copy link
Contributor

@sepatel sepatel commented Aug 10, 2025

This PR updates the SDK to support a privacy function URL configuration option. The init method now accepts either a project token string or a configuration object that can include an endpoint and a privacyFnUrl. When provided, the privacy function URL is added as a data-pz-privacy-src attribute to the injected script.

The README has been updated to document this new functionality.

Resolves ENG-6137


This change is Reviewable

@linear
Copy link

linear bot commented Aug 10, 2025

@sepatel sepatel changed the title Custom privacy Add Support for Privacy Function URL Aug 10, 2025
Copy link

@BradPlayerZero BradPlayerZero left a comment

Choose a reason for hiding this comment

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

Reviewed 2 of 3 files at r1, 1 of 1 files at r2, 1 of 1 files at r3, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @AnimeshKoratana)

Copy link
Contributor Author

@sepatel sepatel left a comment

Choose a reason for hiding this comment

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

Reviewed 1 of 1 files at r4, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @AnimeshKoratana)

@sepatel sepatel merged commit e5cf0c7 into main Aug 20, 2025
2 checks passed
@sepatel sepatel deleted the custom-privacy branch August 20, 2025 15:53
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