google-analytics

tracking embeded youtube videos views

流过昼夜 提交于 2019-12-07 14:51:46
问题 I have embeded some youtube videos in my website. I want to track the views of each videos with google analytics, but I cannot catch any onClick event because the videos are embeded in using iFrame. How can I track the views of youtube videos that is embeded in my webpage using iFrame ? 回答1: I've been using YouTube's API to track plays as events in Google Analytics. It's the same format in iFrame API and javascript. Look at the iFrame API if you want to track other functions. This is where I

Lan network website using google Analytics

好久不见. 提交于 2019-12-07 13:44:30
we have inner website (not on the wan network) , we using this website on our company, but we have route to to wan network . can google Analytics can track this website? im getting "Tracking Not Installed" and it not track nothing . If you can load the URLs http://google-analytics.com/ga.js and http://google-analytics.com/__utm.gif from within your LAN network inner website (ie, access the outside, open internet), then Google Analytics will work without a problem. @Giddy is also incorrect about Google not releasing any of its services as software products, as Google sells Urchin , a self

Measurement Protocol Events Showing Up In GA Real-Time Dashboard but not Content Dashboard

喜夏-厌秋 提交于 2019-12-07 13:38:24
问题 I am sending events to Google Analytics using Measurement Protocol. For a while (few days) these seemed to be showing up fine in both the Real-Time area of the Google Analytics Website and the Content->Events->Overview. Now, they are still showing in the Real-Time page but the Content->Events->Overview shows no activity for over 5 days. Would appreciate any ideas. Surely if they are showing up in Real-Time it shows that they are being correctly sent to the system? 回答1: I think I answered my

Why do I keep catching a Google_Auth_Exception for invalid_grant?

陌路散爱 提交于 2019-12-07 12:40:01
问题 I am trying to build a web app that accesses Google Analytics API, and pull data. However, I have having some issues with the OAuth 2.0 authorization. It allows for successful initial access, but it quickly kicks me out and throws a Google_Auth_Exception with message 'Error fetching OAuth2 access token, message: 'invalid_grant'' when I hit a submit button that refreshes the page. As I understand OAuth 2.0, there are 4 steps to authentication: Obtain OAuth 2.0 credentials from Google Dev

Firebase Analytics not showing screen names and events

岁酱吖の 提交于 2019-12-07 11:15:51
问题 I'm migrating from old google analytics to Firebase Analytics and now I'm tracking the screens using this: mFirebaseAnalytics.setCurrentScreen(SectionManager.getInstance().getCurrentActivity(), name, null /* class override */); And also tryed using this: Bundle params = new Bundle(); params.putString(FirebaseAnalytics.Param.ITEM_CATEGORY, "screen"); params.putString(FirebaseAnalytics.Param.ITEM_NAME, name); mFirebaseAnalytics.logEvent(FirebaseAnalytics.Event.VIEW_ITEM, params); And I'm

Can I use the same Google Analytics tag for a blog subdomain of my site as the main site?

血红的双手。 提交于 2019-12-07 10:58:34
问题 I have my site.com and blog.mysite.com on a different IP address. Can I use the same Google analytics ID for both sites? Does Google analytics look at what IP address the recorded visitor information is from? If it doesn't, what prevents random sites from including your Google analytics tag and sending random data to your account? 回答1: You have to modify your script tag a little. Google's FAQs cover this: http://www.google.com/support/analytics/bin/answer.py?hl=en&answer=55524 回答2: You can

Google Analytics - iOS Install Tracking

删除回忆录丶 提交于 2019-12-07 10:22:17
问题 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

Windows 8 Metro and Google Analytics

旧街凉风 提交于 2019-12-07 10:21:56
问题 Will it be possible to use the Google Analytics JavaScript library (https://developers.google.com/analytics/devguides/collection/gajs/) for the Windows Metro JavaScript based application to trace views accessed by user? 回答1: In general, if a JavaScript library you want to use is on a CDN or a server external to your app, the answer is no, as Windows apps written with HTML/JavaScript cannot load external JavaScript libraries...if you try, a security exception will occur. Many libraries will

Google Analytics embed api not working on Angular 2 app

泄露秘密 提交于 2019-12-07 08:42:34
I am using the following code to embed Google Analytics api into my Angular 2 app: Mycomponent.html <div id="embed-api-auth-container"></div> <div id="chart-container"></div> <div id="view-selector-container"></div> <script> gapi.analytics.ready(function() { /** * Authorize the user immediately if the user has already granted access. * If no access has been created, render an authorize button inside the * element with the ID "embed-api-auth-container". */ gapi.analytics.auth.authorize({ container: 'embed-api-auth-container', clientid: My-Client-Id }); /** * Create a new ViewSelector instance

Google Tag Manager server side tracking .NET

我怕爱的太早我们不能终老 提交于 2019-12-07 05:23:47
问题 We need to push datalayer, trigger events and so on from .Net (C#) application from server side . Google Tag Manager has JavaScript, Android and iOS SDKs. Also it has REST API, but this API allows only to manage containers, tags and events, but doesn't allow to track them. So is it possible implement server side tracking for GTM? Seems it should be as there is SDKs for mobiles exist and it should be no big difference. If it is possible then please let us know how and maybe there is API exists