Skip to content

Commit

Permalink
Merge pull request nih-sparc#763 from egauzens/reset-data-layer-after…
Browse files Browse the repository at this point in the history
…-gtm-event

test resetting dataLayer
  • Loading branch information
egauzens authored Nov 10, 2023
2 parents b0a8dbb + 488f97d commit 8d91a61
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pages/datasets/_datasetId.vue
Original file line number Diff line number Diff line change
Expand Up @@ -375,6 +375,7 @@ export default {
version_id: propOr('undefined', 'version', this.datasetInfo),
doi: propOr('undefined', 'doi', this.datasetInfo)
})
window['google_tag_manager'][`${process.env.GOOGLE_TAG_MANAGER_ID}`].dataLayer.reset()
},
computed: {
Expand Down

0 comments on commit 8d91a61

Please sign in to comment.