jitsu icon indicating copy to clipboard operation
jitsu copied to clipboard

Feature: fetch destination

Open philibea opened this issue 7 months ago • 0 comments

With a self hosted, or cloud, it's will be very nice to have the possibility to fetch destination connected to a source.

Why ?

If we want to build a Custom Consent Management, we can fetch directly which destination is used and create our mapping based on category.

  • This simplify the process when a destination is added on the back, we can create hash based on the name of connected destination to open our cookie consent when a destination is added.
  • This avoid to propose too much category if we don't have destination related.
  • We can show all the destination use on our cookie consent.

This endpoint should not be connected, and can be cache to protected the backend but with max 1 hours of delay.

An exemple on segment.io:

curl /v1/projects/[project_id]/integrations

[
    {
        "name": "Hotjar",
        "creationName": "Hotjar",
        "description": "Hotjar is a heatmap and recording tool for tracking what your users are doing on your website, and where they're doing it.",
        "website": "http://www.hotjar.com",
        "category": "Heatmaps & Recordings"
    },
    {
        "name": "LinkedIn Insight Tag",
        "creationName": "LinkedIn Insight Tag",
        "description": "The LinkedIn Insight Tag is a piece of lightweight JavaScript code that you can add to your website to enable in-depth campaign reporting and unlock valuable insights about your website visitors. As a LinkedIn Marketing Solutions customer, you can use the LinkedIn Insight Tag to track conversions, retarget website visitors, and unlock additional insights about members interacting with your ads.",
        "website": "https://www.linkedin.com",
        "category": "Advertising"
    },
    {
        "name": "Amplitude (Actions)",
        "creationName": "Actions Amplitude",
        "description": "Amplitude is an event tracking and segmentation platform for your web and mobile apps. By analyzing the actions your users perform, you can gain a better understanding to drive retention, engagement, and conversion.",
        "website": "https://amplitude.com",
        "category": "Analytics"
    },
    {
        "name": "Google Ads (Gtag)",
        "creationName": "Google AdWords New",
        "description": "Advertise on Google and put your message in front of potential customers right when they're searching for what you have to offer.",
        "website": "https://adwords.google.com",
        "category": "Advertising"
    },
    {
        "name": "Algolia Insights (Actions)",
        "creationName": "Algolia Insights (Actions)",
        "description": "This Algolia Insights destination is a means of facilitating sending Insights Events. Sending these events is a required step for using several Algolia features:\n\nClick and conversion analytics\nNeuralSearch\nA/B Testing\nAI Re-Ranking\nPersonalization\nAlgolia Recommend",
        "website": "https://www.algolia.com/",
        "category": "Analytics"
    }
]

To give you an idea of what we do on our side: https://github.com/scaleway/scaleway-lib/blob/main/packages/cookie-consent/src/CookieConsentProvider/useSegmentIntegrations.ts#L54

philibea avatar May 30 '25 15:05 philibea