Skip to main content

Cookies & Browser Storage

The Fraud Protection script stores a small set of random identifiers in the visitor's browser: two cookies on the opportify.ai domain (set through a hidden iframe), first-party copies of those cookies on your domain, and two web storage entries on your origin. None of them contain form content, email addresses, or other personal details the visitor types. This page lists each item so you can complete your cookie banner and privacy notice.

This page describes the current version of the Fraud Protection script. It covers what the script stores in the browser. For what the script collects and sends for analysis, see Assessed Signals.


Summary​

QuestionAnswer
Does the script set cookies?Yes. Two cookies on opportify.ai (third party) and first-party copies of the same two cookies on your site's domain.
Does it use other browser storage?Yes. One localStorage entry and one sessionStorage entry on your site's origin.
Does it use IndexedDB, Cache Storage, or service workers?No.
What do the values contain?Random identifiers issued by Opportify. No form values, email addresses, names, IP addresses, or device details.
When is storage written?On page load, after the script starts. It does not wait for a visitor interaction.
Is there a built-in consent switch?No. To delay storage until consent, delay loading the script (see Consent guidance).
What is it for?Security and fraud prevention: linking the activity of one browser across page loads so Fraud Protection can score submissions.

Storage inventory​

Cookies​

NameDomainPartyLifetimeContainsPurposeCategory
_op_client.opportify.ai, set inside the bridge iframeThird party30 days, renewed each time the script starts on a pageRandom browser identifier issued by OpportifyRecognizes the same browser across page loads and visits, so repeated abuse from one browser can be detectedStrictly necessary (security and fraud prevention)
_op_session_id.opportify.ai, set inside the bridge iframeThird party1 hour, renewed each time the script starts on a pageRandom session identifier issued by OpportifyLinks page loads, interaction signals, and form submissions that belong to one browsing sessionStrictly necessary (security and fraud prevention)
_op_clientYour site's host name (for example www.example.com)First party30 days, renewed each time the script starts on a pageSame value as the opportify.ai cookieFirst-party copy of the browser identifierStrictly necessary (security and fraud prevention)
_op_session_idYour site's host nameFirst party1 hour, renewed each time the script starts on a pageSame value as the opportify.ai cookieFirst-party copy of the session identifierStrictly necessary (security and fraud prevention)
_op_nonce.opportify.ai and your site's host nameBothNot kept. The script only deletes this name.NothingRemoves a value that earlier script versions stored. Current versions keep no _op_nonce cookie.Not applicable

Cookie attributes:

  • First-party cookies: Path=/, Secure, SameSite=Lax, and Domain set to your page's host name, so the cookies are also visible to its subdomains.
  • opportify.ai cookies: Path=/, Secure, SameSite=None, Domain=.opportify.ai.
  • All cookies are written by JavaScript, so none of them are HttpOnly.

Web storage​

KeyStorageScopeLifetimeContainsPurposeCategory
opportify.session_idlocalStorageYour site's origin, shared by all tabsHolds a 1-hour expiry. The script deletes the entry when it finds it expired; otherwise it remains until site data is cleared.The session identifier and its expiry timeKeeps one session across tabs and page loads on your siteStrictly necessary (security and fraud prevention)
opportify.noncesessionStorageYour site's origin, current tab onlyHolds a 1-hour expiry. The script deletes the entry when it finds it expired, and the browser removes it when the tab is closed.Random per-session value issued by OpportifyProtects the script's requests to Opportify for the current sessionStrictly necessary (security and fraud prevention)
__oppt_storage_probe__localStorage and sessionStorageYour site's originRemoved immediately after it is writtenThe value 1Checks whether web storage is available, which is one of the device signalsTechnical check, nothing persists

What is not stored​

  • No form field values, email addresses, phone numbers, names, or other text the visitor enters.
  • No IP address, location, or device fingerprint. Device and network signals are sent to Opportify for analysis; they are not written to the browser.
  • No advertising, analytics, or marketing identifiers. The identifiers are used only for security and fraud prevention.
  • No IndexedDB databases, Cache Storage, or service workers. The script checks whether IndexedDB exists and reads the browser's storage quota estimate as signals, but writes nothing there.
  • No storage on pages served over plain HTTP. The script needs the Web Crypto API, which browsers expose only on HTTPS pages, and skips initialization without it.

Cookies and Opportify's servers​

  • Requests from the script to api.opportify.ai and form.opportify.ai do not carry cookies. The script sends the identifiers it needs in the request body.
  • Opportify's Fraud Protection endpoints do not set cookies and do not read them.
  • If a form posts natively (without the script handling the submission) to form.opportify.ai, the browser may attach the opportify.ai cookies to that request under its normal cookie rules. The endpoint does not use them.

The bridge iframe​

When the script starts, it adds one hidden iframe to the page, loaded from https://cdn.opportify.ai (a versioned path that matches the script version). The iframe:

  • has zero width and height, no border, is hidden from assistive technology, and is never shown to the visitor;
  • receives your page's origin and only exchanges messages with that origin, checking the embedding page before it responds;
  • reads and writes the two opportify.ai cookies listed above and passes their values to the script on your page;
  • loads no other content and runs no other code.

The iframe is why the opportify.ai cookies count as third-party cookies on your site. They are scoped to the opportify.ai domain rather than to your site, so in browsers that allow unpartitioned third-party cookies they are not limited to your site. Browsers that block or partition third-party cookies keep them separate per site or prevent them (see the next section).

The iframe needs frame-src https://cdn.opportify.ai if your site uses a Content Security Policy. See Content Security Policy.


When storage is blocked, cleared, or partitioned​

SituationWhat happens
Third-party cookies blocked (for example Safari by default, or any browser where the visitor or a policy blocks them)The iframe cannot read or write the opportify.ai cookies. Opportify issues a new browser identifier and session on each page load. Fraud Protection still runs and scores submissions, but it recognizes returning browsers less reliably.
Third-party cookies partitioned (for example Firefox Total Cookie Protection)The browser keeps a separate copy of the opportify.ai cookies for each site. The identifier then recognizes the browser on your site only, not across sites.
Visitor clears cookies or site dataThe next page load starts with a new browser identifier and session. Earlier activity is no longer linked to the browser through these values.
First-party cookies blockedNo change in behavior. The current script does not read the first-party copies back.
localStorage or sessionStorage blockedThe script keeps session state in memory for the current page and continues to work.
Browser limits the lifetime of script-set storage (for example Safari's Intelligent Tracking Prevention)Values may expire sooner than the lifetimes listed above. The effect is the same as clearing them.
Iframe blocked (missing frame-src, network filter, or extension)The script cannot start. It dispatches opportify:init-failed, stores nothing, and injects no submit token. Submissions from that page to a hosted Form Endpoint are rejected because they have no submit token. See ERR_IFRAME_TIMEOUT.
Script not loaded (for example while waiting for consent)Nothing is stored and no browser signals are collected. Submissions to a hosted Form Endpoint are rejected because they have no submit token. Submissions you send to the Fraud Protection API from your server are still scored, without behavioral signals.

Not legal advice

This section describes how the script behaves and how sites commonly classify this kind of storage. It is not legal advice. You decide how to classify and disclose the script on your site, with your own legal counsel.

What the script does by default​

  • It writes the items above on every page where it is loaded, as soon as the page loads, without waiting for a visitor interaction.
  • It has no consent attribute, global flag, or opt-out switch.
  • data-opty-intercept="disabled" controls only submit interception. Detection, the bridge iframe, and storage still run when it is set.
  • Under Opportify's Data Processing Addendum, you are the data controller for this processing and Opportify acts as your processor.

The usual framing​

Many sites classify cookies and storage used only for security and fraud prevention as strictly necessary, and load them without asking for consent. Cookie and ePrivacy rules in several jurisdictions exempt storage that is strictly necessary for a service the visitor requests, and some regulators accept security and fraud prevention as part of that. Interpretations differ between jurisdictions and change over time, and some read the exemption narrowly, especially for third-party cookies. Review your position with your counsel.

Your options​

ApproachHowTrade-off
Load without consent, disclosed as strictly necessaryAdd the items to the strictly necessary category of your consent tool and describe them in your privacy noticeFull protection on every page load. Depends on your legal assessment.
Load only after consentHave your consent tool insert the script tag after the visitor accepts the relevant categoryNothing is stored before consent. Visitors who decline are not analyzed in the browser, and hosted Form Endpoint submissions from them are rejected. Plan a fallback, such as scoring those submissions from your server with the Fraud Protection API.
Limit where the script runsLoad the script only on pages with forms you protectStorage is written only on those pages.

Whichever approach you choose, list the items in this page's inventory in your cookie banner or cookie list, and mention Opportify in your privacy notice.


Privacy notice snippet​

Adapt this text to your site and your legal assessment. Replace the bracketed parts.

Fraud prevention and security

We use Opportify, a fraud prevention service, to protect [our forms / our sign-up
and contact forms] from fake submissions and automated abuse. When you visit
[pages with these forms / our website], an Opportify script runs in your browser.
It analyzes how the form is used and technical information about your browser,
device, and network connection, and sends this information, together with the
details you submit in the form, to Opportify for a risk assessment.

The script stores random identifiers in your browser using cookies
(_op_client, 30 days; _op_session_id, 1 hour), including cookies on the
opportify.ai domain, and browser storage (opportify.session_id and
opportify.nonce, up to 1 hour). These identifiers contain no information you
type and are used only for security and fraud prevention.

Opportify processes this data on our behalf as our service provider. [Our legal
basis is our legitimate interest in preventing fraud and keeping our services
secure / Insert your legal basis.] For more information, see Opportify's
Privacy Policy at https://www.opportify.ai/legal/privacy-policy.