google-analytics

Google Analytics - iOS Install Tracking

拥有回忆 提交于 2019-12-05 13:57:02
I'm currently working a project that is using Google Analytics to track various things throughout the application. One of the last things I want to do is track application installs based on some kind of promotion for the application. After some searching I came across an articles about iOS install tracking for Google Analytics, which seemed to be exactly what I wanted. Afterwards, I followed their guide to get things setup: https://support.google.com/analytics/answer/3389142 However, after doing the 3 steps they described I'm confused as to how those tie into the custom campaign URLs that we

How to use Google Analytics to track downloads?

[亡魂溺海] 提交于 2019-12-05 11:58:12
I have a website where I have .tar.gz, .zip and .dmg files. I need to track the number of downloads using google analytics. I heard that I can use onclick="pageTracker._trackPageview('/file_name.file_extension') for the "a" tags on the page. I'm not clear what the file_name.file_extension corresponds to. Also, do I need to use some additional scripts? Colin Brock I'm not clear what the file_name.file_extension corresponds to. Your example onclick="pageTracker._trackPageview('/file_name.file_extension') logs every click on that link as a page view for file_name.file_extension . You can edit

Google Analytics Android SDK custom vars not registered/not showing?

情到浓时终转凉″ 提交于 2019-12-05 11:32:34
So I'm still mucking around with this Google Analytics SDK. According to this , I should be able to send custom vars with a visitor scope that include the app version, and the phone model. Using tracker.getVisitorCustomVar(i) I can see that the information is indeed stored, and the log shows NetWorkRequestUtil/ConstructPageviewRequestPath with a message that contains the custom vars. But it does not show up in the analytics report along with the other tracking information. I thought I would find it under Visitors->Custom Variables, but that only says There is no data for this view. Where can I

In-Page Analytics not working

你离开我真会死。 提交于 2019-12-05 10:53:00
问题 When trying to look at In-Page Analytic in firefox I get this message: "Problem loading In-Page Analytics We've identified problems in your setup. These may cause problems loading In-Page Analytics. Your site doesn't load ga.js from Google. If you host the Google tracking code on your own servers, it isn't updated automatically and can miss important changes. We didn't find a tracking snippet on your site. In-Page Analytics cannot load. Please make sure you have tracking installed correctly.

Google Embed API format data before calling .execute()

别等时光非礼了梦想. 提交于 2019-12-05 08:55:59
I need to format the response I get from Analytics before showing it inside a Google Chart, I tried editing the response when the on("success" ... method gets fired but I found that it gets called after the .execute() . Is there any way to edit the response after receiving it and before it populates the chart? This is my function: var dataChart5 = new gapi.analytics.googleCharts.DataChart({ reportType: 'ga', query: { 'ids': 'ga:***', // My ID 'start-date': '31daysAgo', 'end-date': 'yesterday', 'metrics': 'ga:users,ga:percentNewSessions,ga:sessions,ga:bounceRate,ga:avgSessionDuration,ga

How to Track “Open New Tab” traffic in Google Analytics

随声附和 提交于 2019-12-05 08:16:42
I have a referral website that use an url to go to my website that have google analytics implemented. The referral sites open my website in a new tab on the same window when the user click the link. I want to create a profile for each referral website so each profile have their own report about their user activity and transaction conversion. I'm a newbie in google analytic, please give me advise how to track traffic for "open new tab" method. You can track as far as a click using JavaScript. This means a standard click, a middle-click (which many people use to open in new tabs), and a right

reywood/meteor-iron-router-ga not working with mobile app cordova for Google Analytics

空扰寡人 提交于 2019-12-05 07:52:56
问题 I am using reywood/meteor-iron-router-ga package for my Google analytics but i do not know why events or Real time events are not logged from mobile app. I did simple configurations for this but not worked. I also used Google Analytics debugger to detect the problem but it looks fine Link Analytics and Search Console -> RESOLVED Bad Default URL -> RESOLVED This is the output of any event click on my app. I also try to replace reywood/meteor-iron-router-ga with simple JavaScript Analytics.js

Expires header for Facebook JS SDK and Google Analytics

笑着哭i 提交于 2019-12-05 05:59:08
We all know adding a far-future expiration date to static resources is a good practice to increase our websites' page load speed. So we've ensured it for all of our resources BUT the all-too-common Facebook JS SDK and Google Analytics don't do that and thus lower the entire page's speed score. Examining the headers shows Facebook do 20 minutes: Cache-Control public, max-age=1200 Connection keep-alive Content-Type application/x-javascript; charset=utf-8 Date Tue, 23 Sep 2014 04:46:38 GMT Etag "566aa5d57a352e6f298ac52e73344fdc" Expires Tue, 23 Sep 2014 05:06:38 GMT and Google Analytics do 2

Google Spreadsheets QUERY() to combine multiple sheets, same workbook

一世执手 提交于 2019-12-05 05:54:04
Goal: I'm using QUERY() in gSheets to combine data from multiple sheets in the same workbook. The data is an extract from GA broken down into small segments to prevent sampling. This means it has all the same fields, I'm just piecing it back together for analysis. I would like to use QUERY() to do this because the data is hooked up to auto-update using the Google Analytics Sheets addon. The idea is that when it updates in the future it will piece itself together again and the analysis will run without any additional effort (or risk of human error) on our part. I followed the Google Support

How to use Google Analytics with React?

六眼飞鱼酱① 提交于 2019-12-05 05:42:46
问题 In my react app I have some pages: Main Service Contact Profile (private) etc.. I need to track users activity with Google Analytics. I googled react-ga and it's just fine. But with this library I have to initialize my GA on every route I use. For example: Route "/" - main page: class Main extends Component { componentDidMount() { initGA(); } render() { return ( <div> <Component1 /> <Component2 /> </div> ) } } My initGA() looks like: import ReactGA from 'react-ga'; export const initGA = () =>