Skip to content

Commit

Permalink
Update common.py
Browse files Browse the repository at this point in the history
  • Loading branch information
t0mdavid-m authored Oct 12, 2024
1 parent b62a527 commit ec0408e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/common/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,12 @@ def page_setup(page: str = "") -> dict[str, Any]:
</head>
<body>
<script>
gtag('consent', 'update', {{
'ad_user_data': 'granted',
'ad_personalization': 'granted',
'ad_storage': 'granted',
'analytics_storage': 'granted'
}});
gtag('event', 'test_event', {{
'event_category': 'test_category',
'event_label': 'test_label'
Expand Down

0 comments on commit ec0408e

Please sign in to comment.