Coder Social home page Coder Social logo

Can't get it to work :/ about ga-4-react HOT 3 CLOSED

unrealmanu avatar unrealmanu commented on August 29, 2024
Can't get it to work :/

from ga-4-react.

Comments (3)

unrealmanu avatar unrealmanu commented on August 29, 2024

Hi, are you trying to use it on a platform like codesanbox.io by any chance?
I have encountered problems on these platforms.
Also be careful with VPNs and antivirus.

in case you are using it on browser, try version 0.1.28 which fixes some startup problems.

If you don't solve, let me know what browser you are trying on and what version, which I do tests.

from ga-4-react.

chriskaya avatar chriskaya commented on August 29, 2024

No I tried on my computer with npm start, and published on a test server with react-scripts build.
App was built with CRA, and I'm on Chrome 88.0.4324.150
I'm off right now but Monday I'll try other browsers and/or computers, with and without antivirus to get more info.
Thanks for your help :)

from ga-4-react.

chriskaya avatar chriskaya commented on August 29, 2024

I did some testing today, it worked a few times (GA4React got initialized), but really inconsistently and without any observable pattern :/
I think I'm gonna stick with the basic way for now (manually adding the script tag and calling window.gtag).
Thank you for your work, I'll be watching this lib closely :)

from ga-4-react.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.