# Consent JavaScript SDK

> Reference for the window.ours_consent JavaScript SDK (methods, events, and examples), available inside the authenticated Ours Privacy dashboard.

Source: https://docs.oursprivacy.com/docs/cookie-consent/javascript-sdk

Use this page to find the `window.ours_consent` JavaScript SDK reference: methods, events, examples, and the consent settings REST API details.

The full reference lives inside the authenticated Ours Privacy dashboard, where it stays in sync with your account's consent configuration.

[Open Consent Settings in app](https://app.oursprivacy.com/marketing-center/consent-settings)

Open a consent settings configuration and select **API Reference** for SDK methods, events, examples, and consent settings REST API details.

![The window.ours_consent section of the in-app API Reference. Each method gets its own panel with the value it returns: getConsent() returns a ConsentState, documented with the four possible consent action types and a code example, above a collapsed section covering the initial consent state and category defaults.](https://docs.oursprivacy.com/img/cookie-consent/cookie-consent-img-14.jpg)

***

## Next Steps

* [Installation](https://docs.oursprivacy.com/docs/cookie-consent/installation)
* [Script Blocking](https://docs.oursprivacy.com/docs/cookie-consent/script-blocking)
* [Regional Policies](https://docs.oursprivacy.com/docs/cookie-consent/regional-policies)
* [Google Consent Mode](https://docs.oursprivacy.com/docs/cookie-consent/google-consent-mode)
