gatsby-plugin-google-tagmanager specifying dataLayerName results in js error: "Uncaught TypeError: Cannot read property 'push' of undefined" #20536
Labels
type: bug
An issue or pull request relating to a bug in Gatsby
Description
Specifying a different dataLayerName from default "dataLayer" in plugin options results in js error: "Uncaught TypeError: Cannot read property 'push' of undefined".
Steps to reproduce
Expected result
(No JS error)
Actual result
JS error:
Environment
The text was updated successfully, but these errors were encountered: