google-analytics

Tracking visitors coming from Facebook

佐手、 提交于 2019-12-13 08:59:55
问题 I have written a PHP based blog for the company i work for. Not using any frameworks. I am having trouble tracking users who come from my facebook page's posts to my blog (not wordpress). I have created a shortlink url. Let's say it is sample.co and it redirects traffic to sample.com. Everything seems fine until here. The problem starts here. I am adding all user's ip's, user agents. But if even i get 500 visits, my code adds somethig like 3.000 visits. Facebook stats and Analytics shows

Identify the same user in Google Analytics when use a Webapp and a desktop client (with measurement protocol)

旧城冷巷雨未停 提交于 2019-12-13 08:41:51
问题 I have an mixed application, where a part is a WebApp and a part is a desktop client. I track the user with google analytics. On the desktop client, i do this with the measurement protocol. Now, the problem is, that in Google analytics, I see the usage of both parts, but a user is identify not as the same, when it use the web app and the desktop client. Is there an option, in the measurement protocol, to identify the user, that google analytics can match it to the webapp user and knows that

Sending custom data to google analytics in iOS

[亡魂溺海] 提交于 2019-12-13 08:31:43
问题 I have integrated google analytics in my iOS project its working propers for events, i also want to sent my custom values (udid, userid, username..) with custom keys. Is it possible to do this? And if yes where can i find those value on Google dashboard? i have tried https://developers.google.com/analytics/devguides/collection/ios/v3/customdimsmets 回答1: Set a custom dimension value just before the send call to which you want the value applied.The defined scope of the custom dimension will

What does this Javascript line do? [duplicate]

旧时模样 提交于 2019-12-13 07:28:17
问题 This question already has answers here : Closed 8 years ago . Possible Duplicate: What is “var _gaq = _gaq || []; ” for ? var _gaq = _gaq || []; I'm not sure what this line is doing? Can someone explain this to me? 回答1: This is similar to doing var _gaq = _gaq ? : _gaq : []; It means that if _gaq is set, it'll set it to _gaq , otherwise it will default to a new empty array. var means it's local scope _gaq is the name of the variable || means or It's saying that if _gaq doesn't already exist,

Google Site Optimizer not tracking cross-domain conversions

柔情痞子 提交于 2019-12-13 07:17:27
问题 I've set up three GWO multivariate tests across two domains. I've got the landing page set up correctly, and it's tracking visitors for all three tests, but conversions aren't being recorded for any of them. I've followed the instructions Google provides for cross-domain tracking, but still no dice. Here's the landing page snippet (IDs removed): <script> // Allows for multiple-domain tracking _udn = "none"; </script> <!-- Google Website Optimizer Control Script --> <script> function utmx

When using google-api-java-client , I can't get to parse attributes of node elements. Can anyone tell me how to use it?

穿精又带淫゛_ 提交于 2019-12-13 06:09:45
问题 On google-api-java-client exists an annotation @Key that it's used for parsing nodes on an XML. I received an answer from analytics service that contains several nodes that start with "dxp:property ". I only need the node that has the attribute name="ga:accountName" for getting the value of another attribute on the same node. But, I don't know if it exists an implementation on the library that google provided for parsing attributes, and I can't find any information on the documentation. Does

Error in Manifest after copy-paste code from google samples

匆匆过客 提交于 2019-12-13 05:52:44
问题 I want to add Google Analytics to my app. I made the following changes according to instructions from google: Code <service android:name="com.DriverNotes.AndroidMobileClient.GcmIntentService" /> <service android:name=" com.google.android.gms.analytics.CampaignTrackingService" /> but I am getting this error in the Manifest file: Failure [INSTALL_PARSE_FAILED_MANIFEST_MALFORMED] I tried removing the ' ' (space) symbol in ...oid:name=" com.google.androi... but after restart it returns. 回答1: When

Track number of impressions of a widget running on a remote website

这一生的挚爱 提交于 2019-12-13 05:50:33
问题 I have created a widget that is being hosted on a number of websites. I originally implemented the code using only jquery and JSONP to buid the widget. Upon implementing the widget on live webiste though we had the unfortunate experience of that other widgets which were on the site already had really poor javascript in them which killed our widget, so to cut a long story short I have created a second version which works using an IFrame. I have read up on the google analytics site that you can

Google Analytics and Backbone.js

送分小仙女□ 提交于 2019-12-13 05:47:28
问题 I am looking for a bit of help, I have been reading documentation on adding Analytics to backbone.js specifically this link and I think I fully understand it, but my issue is do I have to add the analytic tracking code to every page I want analytic's data from, if not can you point me in the right direction. Any help is much appreciated. Thank You. 回答1: According to the link in the question, you have to include the code only once probably in the router definition file. The router.js (the file

Google analytics - 'String xml configuration name not recognized'

雨燕双飞 提交于 2019-12-13 05:34:27
问题 I'm attempting to utilize Google Analytics in my app and encountering a few issues. Upon running the app I get the following logcat messages: 03-12 23:27:11.107 25448-25448/il.ac.shenkar.david.todolistex2 W/GAv4: String xml configuration name not recognized: il.ac.shenkar.david.todolistex2.MainActivity 03-12 23:27:11.111 25448-25448/il.ac.shenkar.david.todolistex2 W/GAv4: String xml configuration name not recognized: il.ac.shenkar.david.todolistex2.EditTaskActivity 03-12 23:27:11.111 25448