Skip to content

Gtag logs events in Console, but nothing gets fired in Network #51

Description

@adhamfarrag

Hi. Using this module, events get fired and logged but zero calls in Network. Am I doing something wrong ?

   // Method
    google() {
      this.$gtag("config", "UA-XXXXXXX", {
        user_id: this.userAnalyticsID,
      });

      this.$gtag("event", "your_event", {
        event_category: "welcome_video",
        event_label: "[play icon]",
      });
    },
// Nuxt Config
  "google-gtag": {
    id: "UA-XXXXXXX"
    config: {
      anonymize_ip: true,
      send_page_view: true,
      linker: {
        domains: ["baseUrl"],
      },
    },
    debug: true,
    disableAutoPageTrack: false,
  },

These are logs after I fired events

Screen Shot 2022-02-22 at 11 07 47 PM

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions