Add Google Analytics to React Application without packages or dependencies | Easy and Fast.

preview_player
Показать описание
In this video you can see how to add Google Analytics to any react application without using REACT-GA package.

Thanks for watching, please subscribe and hit the like button.
Рекомендации по теме
Комментарии
Автор

Great video - clear and to the point. Thanks SolidCode!

ProgrammingWithPax
Автор

At first it didn't work but I found it was cos of ad-blocker. Put it off and it worked beautifully

jesuferanmiasiyanbi
Автор

Gracias por compartirlo. Por qué no te funciona con REACT-GA?

gregpuac
Автор

Thank you sooo much. It was so simple :) For me the package wasn't working as well.

jaggar
Автор

This video helped me a lot, Ga-Package did not work for me either

banderamusicaltv
Автор

Why did it not work for you? Are you able to record events this way? How do you know if someone landed on your Home Page, but now they moved to another page?

errinwright
Автор

What is the Old way of tracking with google analytics?

errinwright
Автор

Please delete this video. It is misleading junior developers. This approach will only result in one GA event being collected when the SPA loads for the first time. Either use existing libraries or implement your custom approach properly where you integrate with the location or history API and use environment variables for build on different environments.

martinkinywa