|
<script> |
|
(function() { |
|
var el = document.createElement('script'); |
|
el.src = 'https://cc.cdn.civiccomputing.com/8.0/cookieControl-8.0.min.js'; |
|
el.async = 'true'; |
|
el.addEventListener('load', function() { |
|
var config = { |
|
apiKey: '**********************', |
|
product: 'COMMUNITY', |
|
necessaryCookies: ['JSESSION'], |
|
optionalCookies: [{ |
|
name: 'cc-ga', |
|
label: 'Google Analytics用Cookie', |
|
description: 'サイト改善のための分析ツール。Cookieを無効化するとブラウザ固有のIDがセットされず、断続的な統計データのみが送信されます。', |
|
cookies: ['_ga', '_gid', '_gat', '__utma', '__utmt', '__utmb', '__utmc', '__utmz', '__utmv'], |
|
initialConsentState: 'on', |
|
onAccept: function() { |
|
console.log('analytics cookie accepted.'); |
|
}, |
|
onRevoke: function() { |
|
console.log('analytics cookie denied.'); |
|
window['ga-disable-UA-XXXXX-Y'] = true; |
|
} |
|
}, { |
|
name: 'cc-targeting', |
|
label: 'Targeting用Cookie', |
|
description: 'サイトの閲覧やクリック履歴がサイト内外で表示される広告の最適化に使われることがあります。', |
|
cookies: ['mbox'], |
|
initialConsentState: 'on', |
|
onAccept: function() {}, |
|
onRevoke: function() {}, |
|
thirdPartyCookies: [ |
|
{"name": "Disqus", "optOutLink": "https://disqus.com/data-sharing-settings/"}, |
|
{"name": "Google DoubleClick", "optOutLink": "https://adssettings.google.com/"} |
|
] |
|
}], |
|
position: 'LEFT', |
|
theme: 'LIGHT', |
|
text: { |
|
title: '本サイトが読み書きするCookieについて', |
|
intro: '本サイトでは以下の目的でCookieを読み書きします。', |
|
necessaryTitle: '必要不可欠なCookie', |
|
necessaryDescription: 'ブラウザの設定で無効化できますが、サイトの機能が正常に動作しなくなることがあります。', |
|
thirdPartyTitle: 'サードパーティCookieは別途対応を', |
|
thirdPartyDescription: '以下のCookieはここでは制御できません。リンク先にアクセスしてオプトアウトしてください。', |
|
acceptRecommended: '推奨の設定にする' |
|
}, |
|
statement: { |
|
description: '詳細:', |
|
name: 'Cookieポリシー', |
|
url: 'https://makoto-shimizu.com/policy/privacy', |
|
updated: '19/05/2018' |
|
} |
|
}; |
|
CookieControl.load(config); |
|
}); |
|
document.head.appendChild(el); |
|
})(); |
|
</script> |