PageSourceSearch

https://www.craftmuseum.fi/modules/contrib/cookieinformation/js/consent_mode_v2.init.js

js craftmuseum.fi collected 2026-10-02 11:45:38 UTC 532 bytes, 22 lines download raw bytes

1/* global gtag, dataLayer */
2/* exported gtag, dataLayer */
3
4/**
5 * @file
6 * Creates Google Consent mode default tag.
7 *
8 * @see https://support.cookieinformation.com/en/articles/5411279-google-consent-mode-implementation
9 */
10
11window.dataLayer = window.dataLayer || [];
12function gtag(...args) {
13  dataLayer.push(args);
14}
15gtag('consent', 'default', {
16  ad_storage: 'denied',
17  ad_user_data: 'denied',
18  ad_personalization: 'denied',
19  analytics_storage: 'denied',
20  wait_for_update: 500,
21});
22gtag('set', 'ads_data_redaction', true);

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.