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 bc678ae commit 63a1b73
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/common/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,17 +143,17 @@ def page_setup(page: str = "") -> dict[str, Any]:
"""
<!DOCTYPE html>
<html lang="en">
<head>
<head><script>
window.parent.dataLayer = window.parent.dataLayer || [];
function gtag(){window.parent.dataLayer.push(arguments);}
</head>
<body>
</script></head>
<body><script>
gtag('event', 'submit_form', {
'event_category': 'form_interaction',
'event_label': 'Submit Form Button',
'value': 1
});
</body>
</script></body>
</html>
""",
width=200,
Expand Down

0 comments on commit 63a1b73

Please sign in to comment.