Skip to content

Commit

Permalink
chore: minor bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
harlan-zw committed Apr 21, 2024
1 parent cb43179 commit 4c2f341
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions playground/pages/third-parties/google-tag-manager.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,16 @@ datalayer.push({
page_path: '/third-parties/google-analytics',
})
$script.then(({ google_tag_manager, dataLayer }) => {
// eslint-disable-next-line no-console
console.log('google_tag_manager is ready', google_tag_manager)
// eslint-disable-next-line no-console
console.log('google_tag_manager is ready', window.google_tag_manager)
// eslint-disable-next-line no-console
console.log('dataLayer', dataLayer)
// eslint-disable-next-line no-console
console.log(google_tag_manager['GTM-MNJD4B'].dataLayer.reset)
// eslint-disable-next-line no-console
console.log(google_tag_manager.dataLayer.gtmDom)
dataLayer.push({
Expand Down

0 comments on commit 4c2f341

Please sign in to comment.