google-analytics

Questions on the usage of _deleteCustomVar()

萝らか妹 提交于 2020-01-06 14:01:14
问题 We have done some visitor level custom variables on our website (we used all indexes from 1 to 5), and now we are using index 1 for another custom variable name (no code to set custom variable to the previous variable name), but we encountered a problem: we still see few data for the previous custom variable name. We think it should because the previous custom variable name of index 1 is still saved in the cookie of some user's browsers. So we find the function _deleteCustomVar(index) which

How to track event of row selection in table in iOS

佐手、 提交于 2020-01-06 10:55:16
问题 How to track events using Google Analytics? I can track the screen names but I can't track the events. I have code like this: [[GAI sharedInstance].defaultTracker trackEventWithCategory:@"UIAction" withAction:@"buttonPress" withLabel:@"Next button to second page" withValue:[NSNumber numberWithInt:1]]; But what are the category, action, label and value in it? I want to track a row selection in a table. So how can I create an event for that? 回答1: You need to place your code inside the tableView

How to track event of row selection in table in iOS

不打扰是莪最后的温柔 提交于 2020-01-06 10:55:06
问题 How to track events using Google Analytics? I can track the screen names but I can't track the events. I have code like this: [[GAI sharedInstance].defaultTracker trackEventWithCategory:@"UIAction" withAction:@"buttonPress" withLabel:@"Next button to second page" withValue:[NSNumber numberWithInt:1]]; But what are the category, action, label and value in it? I want to track a row selection in a table. So how can I create an event for that? 回答1: You need to place your code inside the tableView

Anamoly between google analytics and server hits

流过昼夜 提交于 2020-01-06 08:27:28
问题 I am using Google Analytics on my single page HTML5 application. Though Google Analytics shows Visits as 16k, the number of hits in the server log says the figure is around 3 lac. I am using the following tracking code in the head section of my page: <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) }

Google Analytics Goal tracking in javascript/ajax

ε祈祈猫儿з 提交于 2020-01-06 07:37:06
问题 I have a javascript/ajax based contact form on a website page. If people click to send the form, I want this click to be registered by Google Analytics. I created a goal for this, for some reason I cannot get it to work. Any help? The code of the form is: <form id="footer_quick_contact_form" name="footer_quick_contact_form" class="quick-contact-form" action="includes/quickcontact.php" method="post"> <div class="form-group"> <input id="form_email" name="form_email" class="form-control" type=

Google Tag Manager with Facebook Analytics for Apps

浪尽此生 提交于 2020-01-06 06:20:44
问题 I have integrated my firebase analytics in apps and want to use facebook analytics to target ad campaigns. But, I don't want to code everything and integrate facebook analytics. I have heard that Google Tag Manager integreates with both facebook and firebase analytics. Can I share events from Firebase Analytics to Facebook Analytics via Google Tag Manager? 回答1: Google Tag Manager does not integrate with Facebook. You can find a list of integrations here: https://support.google.com/tagmanager

GA Measurement Protocol batch limitations

ⅰ亾dé卋堺 提交于 2020-01-06 06:00:28
问题 I am working with the Google Analytics Measurement Protocol to track user interaction in my app. I am sending batched hits. For testing purposes I sent the batched hits to the validating endpoint. The syntax is correct, but I get the following error: { "messageType": "ERROR", "description": "The request size is larger than the maximum size supported by Google Analytics.", "messageCode": "VALUE_OUT_OF_BOUNDS" } However, I am not exceeding the batch limitations as stated in the GA docs. I am

How to add an onclick function to wordpress menu item (For google cross domain tracking)

丶灬走出姿态 提交于 2020-01-06 02:58:09
问题 I am setting up google analytics cross domain tracking on my website. I know I need to change each link to include: onclick="_gaq.push(['_link', 'http://mywebsite.com/']); return false;" I can set this up and get everything working great on the majority of the site, save one menu item. I've tried the jinMenu plugin, but that busted a few things. site: http://www.trukid.com Any help is much appreciated. PS - This looks like it's on the right track for helping me, but I'm not sure how to

Google Analytics unique events is incorrect

泄露秘密 提交于 2020-01-06 01:06:08
问题 We have a Google Analytics account set up to track downloads on certain files. When you create a report with, for example, Event Label (user) as the primary field, and Event Action (file name) as the secondary field, GA will say that the number of unique events is 168. When you add up the numbers in the unique events column, however, they add up to 322. Exporting the table as a CSV file and viewing it in Excel will also give you 322. I should also add that there are 270 rows in the table, so

In Google Analytics the custom variables get overwritten for multiple user roles in same browser

≡放荡痞女 提交于 2020-01-05 19:19:25
问题 I have 2 custom variables in Google Analytics with scope set to 2(Session). One variable tracks user role and other tracks user Program. Our site works in a way that there would be a single role for different programs. So a user can login with different roles. If different users login in the same browser the custom variables values are overwritten. For example the user logs in where role is 'Admin' and Program is 'ABC'. The Google Analytics would show report 'Admin' 'ABC' If the user logs off