267 questions
64
votes
9
answers
75k
views
Track event in google analytics upon clicking form submit
I need to track an event in google analytics when someone fills out a form and clicks submit. The resulting page that comes up is a standard dashboard-type page, so in order to track the event on ...
60
votes
15
answers
22k
views
Tell bots apart from human visitors for stats?
I am looking to roll my own simple web stats script.
The only major obstacle on the road, as far as I can see, is telling human visitors apart from bots. I would like to have a solution for that ...
12
votes
2
answers
24k
views
Get part of day (morning, afternoon, evening, night) in Python dataframe
Here is my dataframe , I need to create a new column based on the timehour which the row value be like (morning, afternoon, evening, night)
Here is my code
if ((prods['hour'] < 4) & (prods['...
68
votes
3
answers
115k
views
what are the values in _ga cookie?
I am using universal analytics. universal analytics creates first party cookie _ga
_ga=1.2.286403989.1366364567;
286403989 is clientId
1366364567 is timestamp
what is 1 and 2 in _ga cookie?
38
votes
10
answers
34k
views
How to use analytics for desktop applications? [closed]
Google Analytics is nice, but it is for websites.
If I have a console application how can I track its usage worldwide? Can i just download an transparent.gif file from the analytics service provider?
...
18
votes
6
answers
7k
views
Race condition and using Google Analytics Asynchronous (_gaq) synchronously
I have a website which is using Google Analytics newer asynchronous tracking method (_gaq). The problem I've run into is that I want to institute some specific link tracking and am worried that I will ...
0
votes
2
answers
305
views
Identifying groups/networks of customers
I am trying to create unique customer groups which are determined by customer interactivity across transactions.
Here is an example of the data:
Transaction #
Primary Customer
Cosigner
WANT: Customer ...
29
votes
14
answers
38k
views
Firebase: There was an unknown error while processing the request. Try again. [closed]
I'm just trying to creating new project in Firebase but getting this error every time.
24
votes
4
answers
18k
views
Google Analytics API and .Net
Google announced the Analytics Data Export API some days ago, thereby making it much easier to get analytics data for a site. The API debuted with Java and JavaScript clients, but no direct .Net ...
23
votes
6
answers
31k
views
Tracking email opens in Google Analytics
We have tracking in our emails to track clicks back to our site through Google Analytics. But is there a way to track opens? I would imagine I have to add a google tracking image to the email ...
21
votes
4
answers
32k
views
How to export Firebase analytics data
I'm trying to figure out if it's possible to export all the Firebase Analytics data to an excel spreadsheet, similar to how you can do it with Google Analytics. From what I can find the only way to go ...
2
votes
3
answers
4k
views
utm_source and utm_medium gets lost in SPA
I've got a weird problem with my SPA application and analytics. The source/medium parameters are being lost during the session for some users.
I'm using the history API using Google Tag Manager as ...
1
vote
3
answers
220
views
Get envelope.i.e overlapping time spans
I have a table with online sessions like this (empty rows are just for better visibility):
ip_address | start_time | stop_time
------------|------------------|------------------
10.10.10.10 | ...
90
votes
8
answers
22k
views
How do I track file downloads
I have a website that plays mp3s in a flash player. If a user clicks 'play' the flash player automatically downloads an mp3 and starts playing it.
Is there an easy way to track how many times a ...
41
votes
5
answers
15k
views
Recording user data for heatmap with JavaScript
I was wondering how sites such as crazyegg.com store user click data during a session. Obviously there is some underlying script which is storing each clicks data, but how is that data then populated ...
30
votes
6
answers
15k
views
Flurry Analytics vs Google Analytics on the mobile platform [closed]
I am working on a mobile app on the Android platform (and going forward for the iPhone) and am evaluating the Flurry Analytics and Google Analytics platforms for the app. Both platforms have SDKs for ...
29
votes
10
answers
51k
views
Is there any way to track whether an email has been opened?
I'm beginning to work on mailing-list software we use internally (EDIT: though we send emails externally as well, so we can't enforce policy on mail clients). Is there any way to track whether, when ...
21
votes
3
answers
9k
views
How does Litmus track their email analytics?
So, 'Litmus', a web app for testing emails and webpages across browsers and email clients, has a proprietary method that they claim is able to track not just opens, clicks, browsers, etc (standard ...
18
votes
9
answers
32k
views
How can we perform common set operations (union, intersection, minus) in MS Excel?
For example, I have an xls where :
column A has list of items with property A
column B has list of items with property B
I need the following :
column C which is A union B (unique items of both A &...
14
votes
3
answers
7k
views
Django saving the whole request for statistics, whats available?
I want to save everything that can be used for statistics, such as referrer, os, browser etc. What is available and what's the best way to store it?
This is only important for 1 application (1 page) ...
13
votes
4
answers
7k
views
Database architecture for millions of new rows per day
I need to implement a custom-developed web analytics service for large number of websites. The key entities here are:
Website
Visitor
Each unique visitor will have have a single row in the database ...
13
votes
1
answer
5k
views
Can one have multiple queries in streaming analytics job?
As the title says, can you have more than one query in an Azure Streaming Analytics job? If so, how should that be structured?
12
votes
5
answers
7k
views
Is there a way track the focus on tab with Javascript?
We need to track the EFFECTIVE time on site of our users
Most users, when they're done, leave the tab open and move to another tab
Time on site it's extremely inaccurate
Is there a Javascript Event to ...
10
votes
1
answer
20k
views
How to do a transpose a dataframe group by key on pandas?
I have this table from my database and I need a transpose group by survey_id
id answer survey_id question_number questionid
216 0.0 69 3 2.0
217 3.0 ...
8
votes
2
answers
20k
views
How can I track a click event of an embedded video (youtube, vimeo, etc.)? (to track play count)
Is there a way to track play counts for embedded videos? Ideally without resorting to a thumbnail linked to launch the embed / iframe code.
Example (try it yourself on jsFiddle):
<!doctype html&...
5
votes
1
answer
5k
views
Google Analytics V4 - String xml configuration name not recognized: ga_trackingId
I am trying to include Google Analytics to my Android project. Last time i used it was V2 and worked well.
Now i am having issue with this
11-10 20:15:35.493 1957-1957/com.xxx W/GAv4: Int xml ...
5
votes
1
answer
7k
views
Can we draw a Line Chart with both solid and dotted line in it?
In real time analytics, you might want to state explicitly, that the present day has not been over yet and the data for the day is incomplete.
So, you might want to draw the line that joins the last ...
5
votes
2
answers
7k
views
What is the purpose of the VisitorIdentification control?
My Sitecore starterkit website contains the following control in the head of each layout. Can someone explain what it's purpose is and whether or not it's needed? I could not find any information on ...
3
votes
2
answers
8k
views
Google analytics track pdf downloads
I was wondering if anyone has gotten file download and external link tracking with google analytics working.
I read here how its done http://support.google.com/googleanalytics/bin/answer.py?hl=en&...
3
votes
1
answer
6k
views
Eliminate duplicates using Oracle LISTAGG function [duplicate]
Possible Duplicate:
LISTAGG in oracle to return distinct values
I am using Oracle LISTAGG function but within my list of returned names I actually would like to eliminate duplicates and only ...
3
votes
3
answers
3k
views
How to track read status for individual recipients by adding pixel tracking
I am build an email application with a feature to see read recipients after sending an email. For example: If I sent an email to P1 and cc P2 & P3, then when P1 opens the email, I as a sender ...
2
votes
2
answers
6k
views
How to transfer data from STDF file to Pandas dataframe in python
I have a data flowing in from STDF file format , which is testing machines output file format used by semiconductor manufacturing industry
I need to read the file in python and analyze machine output ...
2
votes
1
answer
1k
views
Efficient way to generate 2 billion rows in SQL Server 2014 Developer
Long story short; I am testing a system to purge entries from a table over a network connection, and the functionality is predicted to handle over 2 billion entries at most.
I need to stress test ...
1
vote
2
answers
10k
views
Spotfire date difference using over function
I have the following data set:
Item || Date || Client ID || Date difference
A || 12/12/2014 || 102 ||
A || 13/12/2014 || 102 || 1
B || 12/12/2014 || 141 ||
...
0
votes
2
answers
2k
views
JavaScript Remove special characters string not working
I'm trying to remove special characters that could appear within my Google Analytics tags, as the special characters seem to be causing script errors in some versions of IE. I have this function:
...
223
votes
9
answers
113k
views
What is the difference between google tag manager and google analytics? [closed]
I am reading about web analytic and came across GTM and GA.
It seems that GA is a service provided by Google which generates reports and statistics on website traffic. As per my limited understanding ...
44
votes
8
answers
26k
views
Is there a Google Analytics-like solution to track REST calls to a web service? [closed]
Just wondering if there's any out of the box solution for this, I am not too familiar with the analytics api maybe I can write some simple js that updates analytics before going to my service etc. -- ...
20
votes
2
answers
78k
views
What does "?ref=ts" mean in a Facebook application URL?
When Facebook drives traffic to an application, it often append &ref=whatever to the query string. This is useful for figuring out which integration points are working or not. I've figured out ...
15
votes
4
answers
5k
views
Google Analytics 4 - Measurement Protocol API used without gtag.js or firebase
Is it possible to use GA4 Measurement Protocol to send events to Google Analytics and view and analyze them in the GA dashboard without using gtag.js or any other front-end script? The use case would ...
14
votes
3
answers
12k
views
How to access .env variables in a Nuxt plugin?
Segment Analytics provides a snippet with a secret API key in it. In my Nuxt.js project I created a plugin called segment.js which I registered in my nuxt.config.js:
nuxt.config.js
plugins: [
{
...
11
votes
2
answers
6k
views
User tracking with ASP.NET MVC 3 and razor views
What's the best way to implement user tracking throughout your web site when using Razor views in ASP.NET MVC 3.
In webforms I'd put some code in the masterpage to use a cookie and log each url on my ...
10
votes
6
answers
9k
views
Best practice: How to track outbound links?
How do you track outbound links for your web site, since the request is logged on the destination server, not yours?
8
votes
4
answers
7k
views
Adding Google_analytics for iOS is not working tried many ways?
Hi I'm getting following error and so far not able to fix it.
Undefined symbols for architecture x86_64: "_OBJC_CLASS_$_GAI", referenced from:
objc-class-ref in AppDelegate.o objc-class-ref in ...
8
votes
3
answers
9k
views
Application Insight Analytics - Query Client Browser and Device
anyone knows how to query Azure App Insight to get analytics on client devices ? or OS ? I seem to be able to get good stats on Client countries but not devices
8
votes
4
answers
9k
views
Usage Tracking for Windows desktop applications [closed]
I am looking for some frameworks that can be used to collect usage information for Windows desktop application and analyze it. For example, I would like to be able to answer questions like (a) how ...
8
votes
6
answers
6k
views
Flurry Analytics, Basic Analytics Issues
Does anyone have any experience using the basic analytics services with the Flurry Analytics SDK?
I have two applications which I am testing this out with. Both are existing apps which I added the ...
7
votes
1
answer
6k
views
Using the YouTube Analytics API with a CMS account
I'm getting a 403 Forbidden error when trying to get youtube analytics api data using a CMS account.
Just to confirm, is a CMS account the same thing as a Service account?
I can get analytics data ...
7
votes
2
answers
11k
views
Shutdown Events in Android
Is it possible to intercept a phone shutdown event or perhaps use a different hack around this? I have an always running service that's part of a non-market application which is collecting some ...
6
votes
4
answers
4k
views
How to produce a meaningful draftsman/correlation plot for discrete values
One of my favorite tools for exploratory analysis is pairs(), however in the case of a limited number of discrete values, it falls flat as the dots all align perfectly. Consider the following:
y <-...
6
votes
1
answer
3k
views
Embed API Third party visualization > Uncaught TypeError: Cannot set property 'innerHTML' of null (cb=gapi.loaded_0:139)
First of all, I would like to apologize about my poor web programming skill. I'm still new to Javascript.
Here is my problem : I get an Uncaught TypeError while trying to reproduce the [Embed Api ...