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(cdp): client side destinations #26169

Draft
wants to merge 3 commits into
base: hog-to-js
Choose a base branch
from
Draft

Conversation

mariusandra
Copy link
Collaborator

@mariusandra mariusandra commented Nov 13, 2024

Problem

We want to do filter matching in the client side using Hog.

Stacked on top of #26143

Changes

I hijacked existing site apps and made all strings into template strings (no UI formatting yet):

image

The site apps' inject functions get a config as before. This contains all values that could be computed without globals. They also get a new getConfig(globals), which will calculate the config accordingly.

image

image

This is the generated site app code:

image

How did you test this code?

WIP

@mariusandra mariusandra marked this pull request as draft November 13, 2024 15:29
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.

1 participant