google-analytics

Permissions error with Google Analytics API and VB.net

六月ゝ 毕业季﹏ 提交于 2019-12-12 03:48:21
问题 Here's what I'm trying to do: I'm trying to generate an access token on the server side that will serve to authenticate a user as in this example: https://ga-dev-tools.appspot.com/embed-api/server-side-authorization/ I've written this code in VB.net after several tries: Public GA_Token As String Protected Sub Page_Load(sender As Object, e As EventArgs) Handles MyBase.Load Dim filename As String = {{path to p12 file}} Dim serviceAccountEmail As String = {{service account generated email from

How to format the userId in Google Analytics script?

戏子无情 提交于 2019-12-12 03:39:29
问题 for my static HTML webside I embedded this recommended script code to every page of the side. <script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','https://www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-96597161-1', 'auto'); ga('send', 'pageview'); ga('set',

SSIS Google Analytics - Dimension and Metrics Blank

≡放荡痞女 提交于 2019-12-12 03:34:14
问题 I am trying to use the SSIS Google Analytics connector https://analyticssource.codeplex.com/ The problem I am running into is that the dimension and metric drop down menus are blank, as are the dimension and metric tabs. I am able to log in successfully. It gives me the Access Token and I can see all the Accounts, Web Properties, and Profiles I am expecting to see. This is a corporate account that is managed by IT, which may be affecting things. I am able to run queries and see dimensions and

Google Analytics Cross Domain Tracking: Asynchronous on one site… Traditional on the other

六月ゝ 毕业季﹏ 提交于 2019-12-12 03:23:37
问题 Will Cross Domain Tracking work between site-a.com and site-b.com, if for Example, site-a.com uses Asynchronous tracking code, but site-b.com uses the older "Traditional Syntax"? 回答1: Yes, it doesn't matter how the data gets to GA's servers, as long as it gets there. If site-b.com and site-a.com are setup correctly, the fact that its a cross-domain configuration will not matter. 来源: https://stackoverflow.com/questions/9517284/google-analytics-cross-domain-tracking-asynchronous-on-one-site

Google Analytics API - inconsistent error "insufficientPermissions' (403)

旧街凉风 提交于 2019-12-12 03:17:15
问题 Backgroud: I have a PHP code that runs queries to Google Analytics API on behalf of my users. I am using OAuth2 for authentication and storing the access-tokens of the users in my DB. My code makes sure not to exceed the quota per user (10 QPS), and I'm using the "quotaUser" parameter in my queries. The issue: About 50% of my queries to GA are responded with error 403 ("insufficientPermissions", "User does not have sufficient permissions for this profile."). The strange this is, that the

google analytics page views are being incremented incorrectly for each page change (angularjs)

女生的网名这么多〃 提交于 2019-12-12 03:14:37
问题 I'm using Google analytics for my website (built using AngularJS) to track page views. For some reason though, the page views are incremented incorrectly. For example, when I'm on home page and I switch to the about page, about page gets 1 view, which is correct, but when I switch to another page, that page gets 2 views when it should just get 1. When I switch to another page, that page gets 3 views and so on until I reload the website. Reloading the website will reset the incrementation back

Custom reports are empty in Google Analytics receiving data from Google Tag Manager

陌路散爱 提交于 2019-12-12 03:08:22
问题 I want to create a custom report with custom dimensions and custom metrics, so I've created them as admin in GA and both have index 1. I've added them in the dataLayer in my code: var dataLayer = {'dimension1':'Custom Dimension 1','metric1':123456} And after setting in GTM, I've checked data is being sent right in live mode: But custom reports are empty, but activity on site is being registered. This is the entire code of my site. I have tried adding both Google Tag Manager and Google Adwords

Getting mergeDebugResources error while running ionic build android

怎甘沉沦 提交于 2019-12-12 03:05:17
问题 I am getting following error while running ionic build android command. I spent hours to google it, but could not get any solution. Please help guys. FAILURE: Build failed with an exception. What went wron Execution failed for task ':mergeDebugResources'. D:\Ionic_Workspace\MyProject_Dev\MyProject_Workspace_1.1\MyProject 1.1\platforms\and roid\build\intermediates\exploded-aar\com.google.android.gms\play-services-base\9.6.1\res\drawable-t vdpi-v4\common_google_signin_btn_text_light_disabled.9

Turn multidimensional array into single array?

眉间皱痕 提交于 2019-12-12 03:04:44
问题 I'm trying to turn a multidimensional array created by iterating over an array created by a shopping cart: Array ( [array] => Array ( [0] => Array ( [product_id] => 7 [prod_count] => 1 [price] => 19.99 ) [1] => Array ( [product_id] => 6 [prod_count] => 3 [price] => 19.99 ) [2] => Array ( [product_id] => 5 [prod_count] => 2 [price] => 19.99 ) [3] => Array ( [product_id] => 4 [prod_count] => 4 [price] => 14.99 ) [4] => Array ( [product_id] => 3 [prod_count] => 5 [price] => 19.99 ) ) ) into

How to add Google analytics code to php pages, per Google's instruction?

…衆ロ難τιáo~ 提交于 2019-12-12 02:48:10
问题 The instructions Google Analytics gives for adding their code to your php based site reads like this: "PHP Implementation- OPTIONAL Create a PHP file named "analyticstracking.php" with the code above and include it on each PHP template page. Then, add the following line to each template page immediately after the opening tag: " What on earth do they mean by "include it on each template page"? How do you include a file on your template page? I'm thinking that the instructions after the word