google-analytics

Checkout ajax steps tracked with GTM ecommerce enhanced and dataLayer push

故事扮演 提交于 2019-12-06 16:09:07
问题 I'm wondering on how to tracks checkout and checkout steps events on google analytics. I've a checkout in a single page and each steps is called via ajax requests, so I've already add the "dataLayer.push" functionality for each steps, bringing of course the step number in it. Now I cannot catch anything on the funnel shown up on google analytics. The funnel I'm talking about is the "Checkout Behavior Analysis" inside the Conversion -> Ecommerce -> Shopping Analysis. The ecommerce code I'm

Removing spam referrals in Google Analytics doesn't work anymore for some referrers

假如想象 提交于 2019-12-06 15:36:36
I set up some filters in Google Analytics to remove spam referrals. It works great for the majority of the referral links but since last week, three websites are showing up again. What's the reason for this and how to make them disappear again? Filter 1 darodar\.com|priceg\.com|semalt\.com|buttons\-for\-website\.com|makemoneyonline\.com|blackhatworth\.com|hulfingtonpost\.com|bestwebsitesawards\.com|simple\-share\-buttons\.com Filter 2 econom\.co|ilovevitaly\.com|ilovevitaly\.ru|humanorightswatch\.org|free\-share\-buttons\.com|buy\-cheap\-online\.info|domination\.ml|mobiletest\.me|site2\.free\

Querying Google Analytics API for 30-day active users

≡放荡痞女 提交于 2019-12-06 15:16:09
I'm having trouble getting data on 30-day active users when I query Google Analytics in python. My code is below. My problem is that I need to specify a date or day as dimension. "At least one of ga:nthDay, ga:date, or ga:day must be specified as a dimension to query this metric." I'm just not sure what the proper syntax is for this. from oauth2client.service_account import ServiceAccountCredentials from apiclient.discovery import build import httplib2 #create service credentials #this is where you'll need your json key #replace "keys/key.json" with the path to your own json key key_file

How to properly update Google Analytics Unity plugin

北战南征 提交于 2019-12-06 14:47:24
I have a game for Android with GAv3 installed, if I update Google Analytics to version 4 the game starts but I get some exceptions. Here's a log from Android Device Monitor: 03-15 16:06:44.906: I/Unity(17009): AndroidJavaException: java.lang.ClassNotFoundException: com.google.android.gms.analytics.GoogleAnalytics 03-15 16:06:44.906: I/Unity(17009): java.lang.ClassNotFoundException: com.google.android.gms.analytics.GoogleAnalytics 03-15 16:06:44.906: I/Unity(17009): at java.lang.Class.classForName(Native Method) 03-15 16:06:44.906: I/Unity(17009): at java.lang.Class.forName(Class.java:251) 03

Setting a Dynamic Macro in Google Tag Manager

北城以北 提交于 2019-12-06 14:43:54
问题 I have two types Universal Analytics (UA) accounts: a rollup property ID that goes on all subdomains, and a subdomain-specific ID that only appears on that subdomain. There are a total of 7 subdomain properties. I was wondering, instead of setting up 2 tags (ecomm transaction tag and the regular UA tag) for each subdomain/property - a total of 16 - if I could set up just those two tags and have the UA-ID dynamically changed for the corresponding property. Example: set up the tag with the id

Google Analytics PDF reports not displaying data

六月ゝ 毕业季﹏ 提交于 2019-12-06 14:28:06
问题 Since a few days back our custom dashboard reports (scheduled e-mail PDFs) are not showing any data and the layout is broken. There has not been any changes done to the dashboards and they’ve been working for months. When generating and sending the PDF reports manually they show up just fine. The only difference in the reports is that a text that wasn't there before has been added: "All users on your account, regardless of permissions, will soon be able to see who else has access to that

Tracking Anchor Links in Goal Funnels

孤街浪徒 提交于 2019-12-06 14:18:01
问题 On my site I have a form that spans 2 steps each step 1 posts back to the same page and loads the second part of the form. The only difference between step 1 and step 2 in terms of URL is an anchor text in the url e.g. STEP 1 : www.mysite.com/enquiry/ STEP 2 : www.mysite.com/enquiry/#message is it possible to track these in goal funnnels? If not would i have to hardcode some tracking paramater into the GA code? 回答1: _setAllowAnchor(bool) won't solve your problem; that's a function for

How to log Google Analytics calls in Testcafe?

拈花ヽ惹草 提交于 2019-12-06 14:11:33
问题 I am trying to automatically test tracking code and I am using the RequestLogger from Testcafé. I succeeded to intercept calls to example.com and localhost but not to https://www.google-analytics.com/ . What could be the reason? Expected This test should be green Test code import { RequestLogger } from 'testcafe'; const logger_ga = RequestLogger('https://www.google-analytics.com/'); fixture `localhost` .page('http://localhost:8000') test .requestHooks(logger_ga) ('logs calls to Google

Google Analytics error in ga(“send”, “pageview”) on certain pages

浪子不回头ぞ 提交于 2019-12-06 13:18:39
After implementing Enhanced Ecommerce, I'm finding that a very small subset of pages are showing up in Google Analytics as not having the Analytics code. On inspection of the source, there is no difference between the code on those pages that are failing and those on the pages that are validating correctly. I installed the GA Debug Google Chrome extension and I can see that on a few pages there is an error coming back from the ga("send", "pageview") call. However, I can find no information in any documentation or anywhere online that describes possible errors from the ga("send", "pageview")

Google Developers Console: how do I register a new application?

扶醉桌前 提交于 2019-12-06 12:59:50
I'm trying to follow this tutorial for Google's Analytics API. The tutorial says "If you haven't already registered your application with the Google Developers Console, then set up a project and application in the Developers Console". The documentation for the Developers Console says "A project consists of a set of applications...", which makes sense. I'm able to create the project, but I don't see any way to create an application within that project. Both pieces of documentation linked above instruct me to click on "Registered apps" in the left sidebar, but there is no such link. (I believe