No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Google Analytics 4 for SPA

    Help
    2
    6
    965
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • W
      walfin last edited by

      Hi, I’ve managed to integrate GA4 with Firebase on cordova-plugin-firebase-analytics. However, I don’t seem to be able to find any Web SDK for GA4 that allows me to call methods to fire events (I don’t want to use Google Tag Manager as I want to fire events programmatically). I’ve only found @analytics/google-analytics which appears to be for the older UA system. Anyone know where I can find a good GA4 SDK for an SPA?

      1 Reply Last reply Reply Quote 0
      • W
        walfin last edited by

        OK so basically I managed to use gtag.js and Tag Manager and it’s supposed to work but I don’t see any conversions.

        I don’t see any conversions for my Android app using firebase analytics too.

        Anyone have experience in this?

        dobbel 1 Reply Last reply Reply Quote 0
        • dobbel
          dobbel @walfin last edited by

          @walfin

          So this guide is obsolete? That’s not for GA4?
          https://fullstack-tutorials.com/quasar-framework/quasar-framework-google-tag-manager-and-analytics-setup-for-an-spa-website

          1 Reply Last reply Reply Quote 0
          • W
            walfin last edited by

            Some parts still useful. It’s for UA, not GA4.

            Thanks!

            dobbel 1 Reply Last reply Reply Quote 0
            • dobbel
              dobbel @walfin last edited by dobbel

              @walfin

              Only thing I could find about the new Vue + GA4 support:
              https://github.com/MatteoGabriele/vue-gtag/issues/231

              W 1 Reply Last reply Reply Quote 0
              • W
                walfin @dobbel last edited by

                @dobbel OK I seem to have some results now. cordova-plugin-firebase-analytics for Cordova and Google Tag Manager + gtag.js for SPA. If anyone needs help with GA4, PM me.

                1 Reply Last reply Reply Quote 1
                • First post
                  Last post