google-analytics

Using google analytics to track hits on an XML web service

馋奶兔 提交于 2020-01-15 04:54:29
问题 I have a xml web service which I would like to track using Google Analytics. Since it uses a small client side javascript to do the tracking, this is a problem. Is it possible to workaround this without running a javascript client server side? 回答1: Maybe this would be of help Server Side Google Analytics (PHP) 回答2: Work around? Of course, this is the web. Hook up an HTTP analyzer and see what that Google JavaScript transmits. Then, have your webservice make those same HTTP requests. But

Using google analytics to track hits on an XML web service

蹲街弑〆低调 提交于 2020-01-15 04:53:48
问题 I have a xml web service which I would like to track using Google Analytics. Since it uses a small client side javascript to do the tracking, this is a problem. Is it possible to workaround this without running a javascript client server side? 回答1: Maybe this would be of help Server Side Google Analytics (PHP) 回答2: Work around? Of course, this is the web. Hook up an HTTP analyzer and see what that Google JavaScript transmits. Then, have your webservice make those same HTTP requests. But

Google Analytics Enhanced Ecommerce in Adobe DTM

僤鯓⒐⒋嵵緔 提交于 2020-01-15 04:38:08
问题 Is there even support for Ecommerce in the DTM implementation of Google UA? I'm not seeing a way to tell it to load the ecommerce library, let alone a way to include ecommerce related tags in your rules. There isn't even a "custom page code" option on the Rules with GUA like I have with Site Catalyst so not sure how to even add them manually. Am I missing something obvious? Or is there a work-around to doing the ecommerce tagging in DTM? 回答1: DTM do not support ecommerce tracking nativly as

How to get “Visitors Flow” data from Google Analytics GAPI API?

大憨熊 提交于 2020-01-15 03:08:04
问题 In Google Analytics there is a verry nice "visitor flow" page that clearly contains and keeps track of what path a visitor has taken on the site. Is it possible to get that data from the API? I know that you can use "custom variables" to give the users a unique ID and i do that already but what im after is to be able to use the data already collected without custom variables. I have got the following at the moment: $ga->requestReportData(56786432, array('networkLocation', 'date', 'hour',

Can I determine HTML5 support in my users’ browsers with Google Analytics?

北战南征 提交于 2020-01-15 02:38:09
问题 Is Google Analytics capable of detecting a visiting browser’s level of HTML5 support? I'd like to know what percentage of my visitors browsers are HTML5-ready. Currently the only way of getting this data is to analyse the visitors' browser stats and then try to find support information on each of the browsers own help pages. As you can imagine this is somewhat time consuming and frustrating. If support for HTML5 tags is high then it will strengthen my case to start migrating to HTML5

Google analytics showing wrong number of users

这一生的挚爱 提交于 2020-01-14 18:55:13
问题 I'm using Google analytics since one week on a new website. I didn't change anything. I got the code and I placed it on my website like I did with other websites before. The problem now is the dashboard shows the number of users from yesturday is 1,200. I was surprised because I had more. So what I did is I changed the graph to show the number of users per hour for yesturday only and I extracted the data into CSV. The excel file says my users is 2,100 which is right and that's what the graph

How to get the Google Analytics definition of unique page views in Bigquery

岁酱吖の 提交于 2020-01-14 13:44:07
问题 https://support.google.com/analytics/answer/1257084?hl=en-GB#pageviews_vs_unique_views I'm trying to calculate the sum of unique page views per day which Google analytics has on its interface How do I get the equivalent using bigquery? 回答1: There are two ways how this is used: 1) One is as the original linked documentation says, to combine full visitor user id, and their different session id: visitId, and count those. SELECT EXACT_COUNT_DISTINCT(combinedVisitorId) FROM ( SELECT CONCAT

Adding onsubmit to a form via javascript

折月煮酒 提交于 2020-01-14 09:53:28
问题 How would you go about inserting an OnSubmit attribute to a form via Javascript only? I'm pretty new to javascript so if you're able to provide detailed example code, that would be most helpful! Here's the situation: I'm using a hosted signup page through Chargify (a payments platform) in order to process credit cards for my app, and then send the user back to my own thank you/confirmation page. Tracking the entire funnel through google analytics is proving quite elusive due to changing

How to load Google Analytics and Facebook SDK in chrome extension?

风流意气都作罢 提交于 2020-01-14 09:52:09
问题 I'm developing a chrome extension using Kango framework, and I waned to use both Google Analytics and facebook SDK. I edited the manifest file to include the follwoign "content_security_policy": "script-src 'self' https://ssl.google-analytics.com https://connect.facebook.net; object-src 'self'; default-src 'self' 'unsafe-eval' chrome-extension-resource: https://*.facebook.net https://*.facebook.com; style-src 'self' 'unsafe-inline' chrome-extension-resource: https://*.facebook.net https://*

Adding onsubmit to a form via javascript

时光毁灭记忆、已成空白 提交于 2020-01-14 09:51:45
问题 How would you go about inserting an OnSubmit attribute to a form via Javascript only? I'm pretty new to javascript so if you're able to provide detailed example code, that would be most helpful! Here's the situation: I'm using a hosted signup page through Chargify (a payments platform) in order to process credit cards for my app, and then send the user back to my own thank you/confirmation page. Tracking the entire funnel through google analytics is proving quite elusive due to changing