How do I center photoset posts on my Tumblr theme?

I can't seem to find a way to center the photoset posts on my tumblr theme. All the other post types are centered it seems, even the regular photo posts. But for some reason the photoset posts are...

Google Analytics Measurement protocol event tracking : events not logging

I am trying to use Google Analytics Measurement protocol (available with Universal Analytics) to track an offline event. I am using the documentation here :...

TypeError: Cannot read property 'split' of null

I try to authentificate to connect to Google API in order to use Google Analytics. Here is my code: 'use strict' const fs = require('fs') const open = require('open') const Fs =...

Need BigQuery SQL query to collect time on page from Google Analytics data

can anyone help with a BIgQuery SQL query to extract the time on page for a specific page from Google Analytics data please? For every visitorId who has visited a particular page I would like the...

Data Studio - TODATE(input, "%Y%m") Is One Month Behind

I would like to plot a time series by month, but my input data is formatted as "%Y-%m-%d". So, I create another time dimension with the following formula: TODATE(date, "%Y%M") My issue is that...

How to track pageviews on React

So basically the problem i have is that my site is using reactjs so it doesn't reload and i need to detect the change on the URL in order to send a new pageview to Google Analytics. Has anyone...

GoogleAnalytics API: Is there a way to get data by specific session id?

My goal: I want to save the session ID of Google Analytics (also need to figure out how to get that) with every order on my (PHP based) website & then use that in order to get additional data from...

How to block a specific website browser agent?

Lately i'm facing some issues with a data mining bot, extracting data from my website everyday at certain hours of the day. This will not only waste my bandwidth but also giving wrong data to my...

How to export all raw data from Google Analytics?

Google is sunsetting Google Analytics support from February, 2020. After our service is fully turned down in February 2020, these legacy properties will no longer be accessible via the Google...

How to use google analytics with next.js app?

I'm using styled-components with next.js so my styles need to be server-side rendered, hence how can I add google analytics to my website? I checked next.js google analytics example but as I said...

Firebase Firestore is failing over wifi on physical device with error: Could not reach Cloud Firestore backend

When trying to get a document from Firestore, if the device is connected through Wifi the connection fails with the following error message: W/Firestore( 4903): (21.4.3) [OnlineStateTracker]:...

Difference between Google analytics and Firebase analytics

I've been searching on the internet for the difference between Google Analytics and Firebase Analytics, with little to no success. Could anyone help me understand how they are connected? Are they...

How can I build the Google Analytics SDK on Apple Silicon ('M1') so it runs in the Xcode Simulator?

I've used the Google Analytics SDK (pod 'GoogleAnalytics') in my project for 8 years. It has always worked, until I recently moved to a new Mac with an M1 chip. On the new MacBook Pro, I can build...

Using Google Tag Manager with Google Analytics to track a Chrome Extension (2020)

I am working on a chrome extension, and I would like to be able to track metrics with google analytics. I believe the easiest way to do that would be through tag manager, and I have found this...

databaseURL not found in firestore sdk snippet

I made a cloud firestore with Google Analytics enabled and I didn't find the databaseURL attribute in Firestore SDK snippet Here's the CDN: <script...

'Token has been expired or revoked' - Google OAuth2 Refresh token gets expired in few days

I am using google analytics api to fetch analytics data. I tried to authenticate it using following steps : -> created OAuth client id in https://console.developers.google.com/ credentials...

Google Analytic GA4 does not disable default page_view event in React Application

I'm trying to add Google Analytics GA4 to a React Application, index.html <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} ...

Mocking Google Analytics API

I would like to create a Web Application that uses data from the google analytics API. The problem with this is, that in order to use google analytics, the app needs to be online and have users...

How to disable cookies in GA4?

Using GA4 property with (gtag.js) following config: gtag('js', new Date()); gtag('config', 'G-XXXXXXX', { client_storage: 'none', client_id: clientId, // I...

Kotlin + hilt error. [Hilt] and java.lang.reflect.InvocationTargetException (no error message)

I have a problem with my hilt injection. Recently I started learning Kotlin and Hilt for my project. I watched some tutorials and afterwhile tried to write my own code My build.gradle ...

@types/gtag.js error: Argument of type '"config"' is not assignable to parameter of type '"consent"'

I'm trying to add Google Analytics to a Next.js site. I'm following this guide which is in JavaScript but my app is TypeScript. After I install @types/gtag.js I am getting this error: No overload...

How to connect Google Analytics in a Flutter Web App?

I'm trying to use the Google API Package (Pub Dev) but with no lucky to undestand how to connect it in my Flutter Project.

How to get Google Analytics GA4 to recognise my nuxt website with vue-gtag?

I have a Nuxt.js web client which I'd like to track with Google Analytics. I'm using the vue-gtag like so: /plugins/vue-gtag.js import Vue from 'vue' import VueGtag from 'vue-gtag' export default...

firebase_crashlytics was resolved to 2.2.1, which depends on Firebase/Crashlytics (= 8.6.0)

I'm getting an error trying to build a flutter app with crashlytics (but somehow builds successfully on codemagic) I did follow the official steps try to use this fix without success these are...

Google Analytics 4 measurement protocol not working

I tried to send event to Google Analytics 4 using the postman. And GA4 just response 204 No Content and the event is not recorded in the data stream. I checked the measurement_id and api_secret...

Angular error on Ionic build: Cannot find module '@ionic/angular-toolkit/package.json'

When I run "ionic cordova build ios" I get the following error when ng is called: > ng run app:ionic-cordova-build:production --platform=ios 2021-09-29T09:57:54.068Z ng:analytics...

How to properly track screen view on Android with Jetpack Compose UI?

I want to track screen views in a compose-only app, so no activities, fragments, only composable functions. When and how I should call the screen tracking e.g. for firebase? Because the body of...

ERROR: Could not find method platform() for arguments [com.google.firebase:firebase-bom:29.0.1]

ERROR: Could not find method platform() for arguments [com.google.firebase:firebase-bom:29.0.1] on object of type...

org.gradle.api.UnknownDomainObjectException: KotlinJvmAndroidCompilation with name 'debug' not found

I have a java Android project and I am trying to include Kotlin/Convert some of the java classes to Kotlin. Project's build.gradle: Here I have introduced a variable for otlin version 1.6.10 and...

React Native: Android "Received status code 502 from server: Bad Gateway" from JCenter and Bintray being discontinued

Note that these are snippets of the errors I found useful, and also that the snippets starting with "What went wrong". After running npx react-native run-android --verbose (which has always worked...