Skip to content

Commit

Permalink
Update default granted consents
Browse files Browse the repository at this point in the history
  • Loading branch information
Hlavtox authored Feb 20, 2024
1 parent 4c127ba commit 5faf784
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions views/templates/hook/ps_googleanalytics.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,14 @@
<script>
window.dataLayer = window.dataLayer || [];
{literal}function gtag(){dataLayer.push(arguments);}{/literal}
gtag('consent', 'default', {
'ad_storage': 'granted',
'analytics_storage': 'granted',
'ad_user_data': 'granted',
'ad_personalization': 'granted'
});
gtag('js', new Date());
gtag(
'config',
Expand Down

0 comments on commit 5faf784

Please sign in to comment.