"Can't find variable: gtag"

Created on 18 August 2021, over 3 years ago
Updated 6 July 2023, over 1 year ago

I'm using Sentry.io to detect javascript errors on my site.

I've noticed a bunch of Javascript errors, that originate from google_analytics.js which comes from this module:

"Can't find variable: gtag"

"gtag is not defined"

Is there any known fixes for this? My guess it's a race-condition.

πŸ› Bug report
Status

Closed: outdated

Version

3.0

Component

Code

Created by

πŸ‡©πŸ‡°Denmark ras-ben Copenhagen

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΈUnited States japerry KVUO

    With the sunset of legacy google analytics, the 8.x-3.x module is now unsupported. If this is still an issue with the 4.x version, please file a new issue in the queue.

Production build 0.71.5 2024