All Questions
19 questions
1
vote
0
answers
751
views
Setting up Google Analytics 4 for an Electron App
I'm currently trying to set up some sort of analytics solution for an Electron app that I'm working on. I'm currently leaning toward using a solution like this:
https://www.npmjs.com/package/electron-...
0
votes
0
answers
160
views
"Request had insufficient authentication scopes." Google Analytics Reporting API v4
import React, { useEffect } from "react";
import { gapi } from "gapi-script";
import Login from "./components/login";
export default function App() {
useEffect(() =>...
0
votes
2
answers
337
views
Getting dates from google analytics API
I am trying to get the individual dates from data retrieved from the google analytics api.
I am trying to emulate what the google analytics app does.
So for example the google analytics app has a line ...
3
votes
2
answers
791
views
Can anyone help me recreate this exact same request but with GA4 format instead of the UA ID method am currently using?
This is the request am making using the UA method of calling the V3 API, wrapped in a oath library for react.
But it's getting deprecated starting June 2023 and I can't figure out how to recreate it ...
2
votes
1
answer
925
views
Apply error handling in react google analytics
I am using react-ga (https://www.npmjs.com/package/react-ga) module in my React application, so that i can send events, to google analytics.
I have read the documentation of react-ga and i cant find a ...
0
votes
1
answer
353
views
Where to find user related info in google analytics account with React
I am integration google analytics in my site using react-ga package with React application. I am able to initialise the react-ga property code and also send some user info like userId but i am unable ...
1
vote
1
answer
739
views
Google Analytics Embed Api with new google login authorization flow -i.e Google Identity ( 2022 )
I have been trying to integrate google analytics embed api in my react application by using traditional gapi approach but I am getting this error from google
"You have created a new client ...
0
votes
1
answer
927
views
Google analytics UserId view is not working with react
I want to track users by their login ID in a ReactJS application. I followed all of the tutorials on the documentation to set up the User Id View. I enabled userId tracking in google analytics and I'...
0
votes
1
answer
243
views
google analytics reporting api permission
I'm making this custom dashboard using google analytics reporting api and MERN stack which allow users to create an account or login and choose whatever analytics they want to see depending on the ...
2
votes
1
answer
1k
views
GA4 Google Analytics event doesn't appear as conversion
I'm using Google Tag Manager(react-gtm-module) package) to push custom events to Google Analytics. In code i do it like this:
GTM.dataLayer({ dataLayer: { event: 'Custom event' } });
Then, in GTM i ...
1
vote
1
answer
260
views
React Google Analytics
Is there a way to display the components in google analytics to my react dashboard
or fetch the data and use it on my site
Below are some components from google analytics i want to use on my dashboard....
0
votes
1
answer
64
views
How can I set in code page ID to be detect in google analytics?
I need to give any page in my website a unique ID to be detected in google analytics or firebase analytics.
I will explain:
First of all, I'm developing using React.js.
I have lots of pages (routes) ...
41
votes
10
answers
47k
views
Google Analytics 4 with React
I've been trying to use react-ga package with google analytics 4 in my app. The measurement id doesn't work with it and there is no tracking code in google analytics 4 I can use. Please, I need help!
...
4
votes
1
answer
2k
views
Trouble implementing Google Analytics gtag.js in React-based Chrome Extension
My problem in a nutshell: The window object that gtag.js operates on and the window object available in my react context (a content.js context) are different objects, and so I can't write events from ...
0
votes
1
answer
909
views
What chart used in google analytics for "Views by Page title and screen class"?
I am looking for a chart name which is used in Google Analytics dashboard (see the snapshots)
I am using react-google-charts on my web app but can't found the same type of chart in it.