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 b627c26 commit b62a527
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 @@ -218,6 +218,12 @@ def page_setup(page: str = "") -> dict[str, Any]:
console.log(window.dataLayer);
console.log('Page view event triggered');
</script>
<script>
// Function to log the dataLayer every 3 seconds
setInterval(function() {{
console.log('Current dataLayer:', window.dataLayer);
}}, 3000);
</script>
</body>
</html>
""",
Expand Down

0 comments on commit b62a527

Please sign in to comment.