Questions tagged [analytics]

For questions related to analytics methods and tools. Use it together with the programming language used

Analytics is typically the application of descriptive statistical methods to large data sets. This is usually in contrast to predictive methods, which relate to unseen data or to tasks that are dependent on the outcome of a model. Analytics is often related to reporting on databases and frequently arises in the context of "web analytics" - a field that encompasses analysis of site traffic, online revenue, site usage, and other interests.

Typical languages used for analytics are R , Python (especially Pandas), SPSS and SAS

4895 questions
1
vote
2 answers

Bad Request on accessing Firebase dynamic-links using REST API (using JS)

I'm trying to implement a simple URL shortener using firebase dynamic links via the REST API. I prepared a simple async JS function for testing (since I don't have a billing account to make external egress calls in cloud functions). Below is the…
1
vote
1 answer

How to stop Heap Analytics grouping assets into "OTHER" Category

I think this might be very simple. I wrote a query in heap to tell me which users were part of an event and how many times they engaged in it during the year. The result is a simple table with username and number of occurrences. It worked. However,…
fatundem
  • 11
  • 1
1
vote
1 answer

DRY in python matplotlib plotting using one single command

import pandas as pd import matplotlib.pyplot as plt > importing csv files january = pd.read_csv('divident_month/january.csv') april = pd.read_csv('divident_month/april.csv') july = pd.read_csv('divident_month/july.csv') october =…
1
vote
1 answer

How to track how many users saw a web font?

I'm using font-display: optional to make my fonts optional and just show it to users with fast internet connections. It's not important to have the font there all the times, and the design team doesn't want to have the font swap ocurring. I was…
1
vote
1 answer

Google Analytics - Custom Value for "dl" Parameter

I'm using Google Analytics (gtag version) on my site, and am trying to prevent actual urls from being sent to Google Analytics. Specifically, I see the dl parameter contains the url: QUESTION: How can I customize the value of the dl parameter? My…
1
vote
1 answer

Simplest way to count new visitors in a website

How can I code a counter of the total number of unique visitors in a website without using google analytics or other similar platforms. Is there a way to detect a new visitor in JavaScript and send it to my database? (I use firebase). How to detect…
Lynn
  • 121
  • 8
  • 25
1
vote
2 answers

Occasional Amplitude "Invalid apiKey"

I'm trying to record events using the JS Amplitude API. The setup instructions are to put code in the of pages. See Full instructions here. Since I'm using React, I put the code in index.html The event I'm trying to record is executed on…
Michael Ninh
  • 772
  • 2
  • 10
  • 23
1
vote
1 answer

Google Analytics - Count unique visits based on distinct custom var instead of session

I'm setting up a website where I have to track unique visitors during a certain period. The problem is that GA uses a cookie to determine the visit count of a user. This means that a computer/browser in a shared environment will track two different…
1
vote
1 answer

Tag assistant shows duplicate GTM tags

I have a small website where I used Barba.js to create smooth transition between pages. So it won't load a new page completely fresh, but rather load the content in background using AJAX and add it to the existing document. So to fire Google…
1
vote
2 answers

Node.js express - get route params without going into the route function for quick analytics tracking

I aim to send an analytics event for each route in my API. As opposed to saving an event with the entire full route that was called, I want to save the base url as the event and the parameters of the route as variables of the event. For example,…
AMC
  • 39
  • 1
  • 8
1
vote
0 answers

What is the difference between collects request URL

On same page I have two collect requests URL: https://www.google-analytics.com/r/collect https://www.google-analytics.com/collect What is the difference between them? Note: The r/collect send one more custom dimension than the collect
1
vote
1 answer

R data.table: Rebase each group within the panel by a value found in another column

Let's say my dataset looks like this: data.table(groups = rep(c("A","B"), each=5), time = rep(2011:2015, 2), value = runif(10,95,105)) groups time value 1: A 2011 97.66647 2: A 2012 103.00917 3: A 2013 103.02462 4: …
Djpengo
  • 379
  • 2
  • 14
1
vote
0 answers

Reach and Frequency with Quicksight

I'm trying to develop a reach and frequency report by territory in Quicksight. For example, a rep may have 10 customers that the need to visit 3 times in Q1. Looking for a way to show this reach for each rep. The issue is that someone my have…
Aco
  • 25
  • 4
1
vote
1 answer

Build custom Reports for Clients using Google Analytics

I have several clients who I get "Leads" to . I am looking to develop an application ( which is part of my site) which displays "Client analytics" .This analytics include the no. of visitors by source etc . I use Google analytics to track my data .I…
Max
  • 11
  • 2
1
vote
1 answer

App Store Connect metrics: What is "Active Devices" and "Active Last 30 Days"?

The tooltip next to "Active Devices" and "Active Last 30 Days" says The total number of devices with at least one session during the selected period and The total number of devices with at least one session within 30 days of the selected day"…
FotisK
  • 239
  • 3
  • 15