PageSourceSearch

https://aiven.io/docs/page_scripts/onetrust.js

js aiven.io collected 2026-09-24 08:42:30 UTC 496 bytes, 15 lines download raw bytes

1function OptanonWrapper() {
2  if (
3    window.OnetrustActiveGroups.includes('115') ||
4    window.OnetrustActiveGroups.includes('2')
5  ) {
6    // Consent given for Snowplow cookies. UX cookies 115. Performance cookies 2.
7    snowplow('disableAnonymousTracking', {
8      stateStorageStrategy: 'cookieAndLocalStorage',
9    });
10  } else {
11    // enable fully anonymous tracking
12    snowplow('clearUserData', {preserveSession: true});
13  }
14  window.dispatchEvent(new Event('OneTrustGroupsUpdated'));
15}

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.