Questions tagged [google-analytics-sdk]

The Google Analytics SDK allows you to connect your application to Google Analytics.

Goolge Analytics SDKs allow you to send user interaction from mobile applications to Google Analytics.

This allows developers to measure how users interact with their business from almost any environment. Developers can then use the Measurement Protocol to:

  • Measure user activity in new environments.
  • Tie online to offline behavior.
  • Send data from both the client and server.

Links:

219 questions
1
vote
1 answer

Google analytics tracking no heritage

In Google Analytics documentation they provide the next code: Is it possible to track a view without using heritage? Thanks in advance!
ytpm
  • 4,962
  • 6
  • 56
  • 113
1
vote
0 answers

Restrict Google Analytics to persist local data for too long

I have read a lot about setting a dispatch interval, which will send Google Analytics (GA) data periodically and make future retries if there is no network connection etc. GA documentation regarding dispatching:…
Artisani
  • 361
  • 2
  • 12
1
vote
2 answers

Adding google analytics tracking to my iOS Today Widget

I have in my widget a few buttons and I want to track clicks. Is this possible or even allowed by Apple? I'm have been looking for information but can't find any.
FreeGor
  • 615
  • 13
  • 26
1
vote
1 answer

how can I pragrammatically insert data in google analytics

Can you please tell me what is the wrong with the below code for programmatically inserting the pageview in google analytics. Code is not inserting pageview. var request = (HttpWebRequest)WebRequest.Create("http://www.google-analytics.com"); …
1
vote
0 answers

Can you use Google Analytics in an asynchronous way on a mobile Application? Android and iOS SDK

there is a User Based Insurance app (for iOS and Android) that we want to track using Google Analytics. This app will only send data when the user is connected to wi-fi in order to save consumption on their data plan. The question is: Will Google…
0
votes
1 answer

Google Analytics API createDataStream() missing args that must be provided

I am using Google SDK V1beta found HERE I have successfully created an account, and created a property under that account after much trouble with the documentation not aligning with the API/SDK. I am now trying to create a DataStream, and I am…
Zak
  • 6,976
  • 2
  • 26
  • 48
0
votes
0 answers

How to extract data from Google Analytics using NodeJs SDK?

I have a use case to extract Page path and screen class data from Google Analytics, I've found some reference code in Javascript but the code needs access to GCP credentials, I have enabled Google Analytics Data API on the GCP dashboard, Also…
0
votes
0 answers

Branch.io event not appears in Google Analytics 4 dashboard

I have been integrating the Branch SDK and Google Analytics 4 into my app to support mobile attribution. I need to send Branch.io events to Google Analytics 4 dashboard and I have followed the documentation outlined in…
0
votes
0 answers

Multiple dataLayer in the same website, with different names

I'm developing a js SDK that my clients will import in their Ecommerce. My SDK works similar to the Facebook social plugin for the like: it will render an iFrame showing an interactive button. To get the analytics of this button, my SDK adds another…
DeLac
  • 1,068
  • 13
  • 43
0
votes
0 answers

How do I get the currency used in a transaction in Google Analaytics Data API?

I'm implementing GA4 since UA will stop processing shortly. We heavily rely on downloading report data and I'd like to simply retrieve the transactionId and the currency of a conversion, for example. It looks like getting the transactionId is not a…
0
votes
1 answer

GA4 historical data using google api

I have enabled bigquery linking between GA4 and Bigquery on 6th May. I am able to get the in Bigquery from 6th may onwards incrementally. Now I am looking to ingest historical data before 6th may from GA4 to Bigquery. Do we have any way to do it…
0
votes
0 answers

GA4 configuration tag fields returning undefined values

GA4 Configuration tag: Fields that have been set are returning undefined values when the tag is fired. Below is the dataLayer on the website. Can someone please help? dataLayer.push({ event: "virtualPageview", membershipType: "xxxxx", …
0
votes
0 answers

Google analytics API v4, userEngagementDuration metric shows wrong values with medium dimension usage

Using explore tab at analytics page I've noticed that "User Engagement" parameter completely different from my API response. I've thought that the error is in my code, so I've tried to re-check the request using…
0
votes
0 answers

Setting proxy for Google Analytics Data API (GA4)

I need to config proxy credential for GA4 Client library to pass it from http proxy server, unfortunately there isn't any rich documentation for this purpose on the web (or maybe I couldn't find them) Google Analytics Data API(GA4) using…
0
votes
1 answer

My application already has user demographics information such gender age can I sync it to google analytics

Google Analytics does not collect demographics(age, gender) information for all the users correctly. And as this age, gender, etc are reserved properties so I can not normally sync it to GA either. But my application already has such information…