GoodData

Supported SDKs

Gooddata uses a lightweight, vanilla JavaScript tracker (tracker.js) that works seamlessly across all modern web frameworks and vanilla HTML sites.

Because it is a standard <script> tag, you do not need a framework-specific SDK to get started.

The Standard Script

You can drop this directly into the <head> of your application. It automatically hooks into browser history APIs to track route changes in Single Page Applications (React, Vue, Next.js).

<script defer src="https://gooddata-fyp.onrender.com/sdk/tracker.js" data-project-id="<YOUR_PROJECT_ID>"></script>

Upcoming SDKs

While the standard script handles 95% of use cases (including custom events via window.gooddata.track()), we are planning to release dedicated packages for improved developer experience and TypeScript support:

  • @gooddata/browser: A thin NPM wrapper around the standard script for module-based environments.
  • @gooddata/react: React hooks (useGooddata()) for easier event tracking.
  • @gooddata/node: Server-side SDK for tracking backend events and API usage.