by ivarpruijn · 4y ago · 0 comments
About replacing components: no need to do this if you don't want to, you can either: A) Swap native components without having to code anything, using the premade Tracked<Component> for a specific platform (e.g. `<TrackedButton onClick={handleClick}>Click Me!</TrackedButton>`); or B) Use your own component of your liking (i.e. Next.js' Link) and wrap a TrackedContext around it that automatically triggers an Event (e.g. see https://objectiv.io/docs/tracking/react/api-reference/tracke...).
We're big fans of Snowplow for scalability and have an early integration where you can run Objectiv data straight into a SP pipeline https://github.com/objectiv/objectiv-analytics/tree/main/bac...
No comments yet.