Skip to content

Commit

Permalink
Merge pull request #268 from wri/issue-266-gconsent
Browse files Browse the repository at this point in the history
Issue #266 updating google consent.
  • Loading branch information
mariacha authored May 29, 2024
2 parents c77866a + 59a9ee0 commit 4432ef8
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion themes/custom/ts_wrin/templates/layout/html.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,18 @@
gtag('consent','default',{
'ad_storage':'denied',
'analytics_storage':'denied',
'ad_user_data':'denied',
'ad_personalization':'denied',
'personalization_storage':'denied',
'functionality_storage':'granted',
'security_storage':'granted',
'wait_for_update': 500
});
gtag("set", "ads_data_redaction", true);
</script>
{% endif %}
{% if osano_script %}
<script src="https://cmp.osano.com/AzyfddTRtqi1560Dk/{{ contentSnippets.osano_id }}/osano.js{{ contentSnippets.osano_params }}"></script>
<script src="https://cmp.osano.com/AzyfddTRtqi1560Dk/{{ contentSnippets.osano_id }}/osano.js{{ contentSnippets.osano_params }}"></script>
{% endif %}
<head-placeholder token="{{ placeholder_token|raw }}">
<title>{{ head_title|safe_join(' | ') }}</title>
Expand Down

0 comments on commit 4432ef8

Please sign in to comment.