Properties & Domains
A property in eConsent represents a website or application where you capture consumer consent.
Each property has its own domain whitelist, field capture settings, consent selector mappings, and expiration configuration.
Property configuration
Section titled “Property configuration”Each property includes the following settings:
| Setting | Description |
|---|---|
| Name | A friendly name for the property (e.g., “Main Website”, “Landing Page A”) |
| Origin | The whitelisted domain URL (e.g., https://example.com) |
| UID | A unique identifier assigned by eConsent |
| Masked fields | CSS selectors for additional fields to capture (values are hashed) |
| Consent selectors | Mapping of consent types to CSS selectors on the page |
| Session expiration | How long session recordings are retained |
| Certificate expiration | How long certificates are retained |
Creating a property
Section titled “Creating a property”- Log in to app.econsent.org.
- Navigate to Properties.
- Click Add Property.
- Enter the property name and origin domain URL.
- Save the property to receive your unique Property ID.
Domain whitelisting
Section titled “Domain whitelisting”The tracker validates its origin against your property’s registered domain before activating. This prevents unauthorized websites from using your Company ID and Property ID to generate certificates.
How origin verification works
Section titled “How origin verification works”When the tracker script loads on a page, it performs the following verification:
- The tracker sends a
POST /api/verify-originrequest with the page’s origin (e.g.,https://example.com) and yourcompany_id. - The server performs a Redis lookup:
origins:{origin}:{company_id}. - If the origin matches a registered property, the tracker activates and begins recording.
- If the origin does not match any registered property, tracking does not activate. No sessions or certificates are created.
Updating a property’s origin
Section titled “Updating a property’s origin”To change the whitelisted domain for a property:
- Navigate to Properties in your dashboard.
- Select the property to edit.
- Update the Origin field with the new domain URL.
- Save. The change takes effect immediately.
Masked fields
Section titled “Masked fields”Masked fields are additional form fields that eConsent captures beyond the default core PII fields. Values from masked fields are hashed before storage and are never stored in plain text.
Masked fields are defined as CSS selectors on the property configuration. You can set them in two ways:
- Whitelist Inspector. Use the visual Whitelist Inspector tool to click elements on your page and generate selectors automatically.
- Manual configuration. Enter CSS selectors directly in the property settings.
Example masked field selectors:
#ssn-fieldinput[name="annual_income"].loan-amount-inputConsent selectors
Section titled “Consent selectors”Consent selectors map HTML elements on your page to eConsent’s four consent types. These can be configured in two ways:
- Consent Selector tool. Use the visual Consent Selector in the dashboard.
- HTML attributes. Add
data-consent-typeattributes directly to your HTML elements.
The four consent types mapped by selectors:
| Type | CSS selector maps to |
|---|---|
main-implied | Primary consent language paragraph/text |
main-explicit | Primary consent checkbox or interactive element |
secondary-implied | Secondary/partner consent language |
secondary-explicit | Secondary consent checkbox |
Expiration settings
Section titled “Expiration settings”Both session recordings and certificates have configurable expiration periods, set independently per property:
| Duration option | Use case |
|---|---|
| 7 days | Testing and development |
| 30 days | Short-term campaigns |
| 60 days | Standard campaigns |
| 1 year | Extended compliance |
| 3 years | Long-term retention |
| 5 years | Maximum retention for litigation protection |
To configure expiration:
- Navigate to Properties in your dashboard.
- Select the property.
- Update the Session Expiration and Certificate Expiration settings.
- Save.
Usage tracking
Section titled “Usage tracking”Each property tracks usage metrics that are visible in the dashboard:
| Metric | Description |
|---|---|
| Session count | Total number of sessions recorded |
| Certificate count | Total number of certificates generated |
| Verification count | Total number of verification API calls |
These metrics are available per property and aggregated across your account.
Multiple properties
Section titled “Multiple properties”You can create multiple properties under a single company account. Common use cases:
- Multiple websites. One property per domain
- Staging vs. production. Separate properties for different environments
- Landing page variants. Track consent separately for A/B test pages
Each property has its own independent configuration (whitelist, consent selectors, expiration). Changes to one property do not affect others.
Managing Properties and Domains
Walk through creating a property, configuring domain whitelisting, setting retention policies, and viewing usage metrics.
~3 minNext steps
Section titled “Next steps”- Script Installation. Install the tracker on your property’s website
- Whitelist Inspector. Visually select fields to capture
- Consent Selector. Map consent types to page elements
- Retention Management. Configure retention quotas and auto-retention