google-analytics

Google Tag manager not registering Transactions for enhanced Ecommerce

ぐ巨炮叔叔 提交于 2019-12-10 19:51:59
问题 I am running a single page checkout and the pagevies are showing fine. however the purchase transactions doesn't seem to be being processed in Google analytics. I have the data layer up and it seems to be registering the purchase event, I have tag enabled with a page view on gtm.dom which has the enhanced ecommerce tag ticked, but still nothing . Here is the output from the Datalayer if any one can help would be really appreciative : [ { "ecommerce":{ "purchase":{ "actionField":{ "id":

required_once issue in Google API Client for PHP

拟墨画扇 提交于 2019-12-10 19:45:44
问题 I have been trying to import/include file in my php script file and somehow it is not working. I know this require_once question has been asked so many times [ 1. require_once with subfolders , 2. require_once() cant find the include path, 3. Using require_once for up directory not working] but none of them seemed to be working for me. Blow picture will explain what I am trying to do clearly: What I tried and errors: Attempt 1 require_once(__DIR__.'GoogleClientApi/src/Google/Service/Analytics

Adding Google Analytics to Wordpress' next_post_link function

佐手、 提交于 2019-12-10 19:27:43
问题 Working on setting up Google Analytics within a custom theme. I make use of the previous_post_link and next_post_link functions within my site to do some navigation pieces. Now I'm trying to add in some Google Analytics to those. I've added this to my functions.php file: add_filter('next_post_link', 'ga_next_post_link'); function ga_next_post_link($link) { $link = str_replace('" rel="next">', '" onclick="ga('send', 'event', 'NavNext', 'click');" rel="next">', $link); return $link; } add

Combining Google Analytics client- and server side tracking

一曲冷凌霜 提交于 2019-12-10 19:03:52
问题 I track my users behavior using Google Analytics client side. At some point the user is redirected to one of my partners and I receive a callback from the partner about the value the user has generated. The question is: How do I append that value from the callback as a goal with a value to the users session? The objective is to be able to get insights about which of my traffic sources generate the most value (and not just most conversions - as that could be tracked with event tracking). The

GCM and Google Analytics integration together in google-services.json file using different google account?

你。 提交于 2019-12-10 18:48:21
问题 I have to integrate GCM and Google Analytics in same app.so first we need to get the google-services.json configuration file for that.well, assume that i have two google a/c. imagine it as gcm@gmail.com and analytics@gmail.com .i need to create google anaytics property using analytics@gmail.com and Google Cloud Messaging configuration using gcm@gmail.com so how i can make the google-services.json file for that ? I know to create it using same google account for both GCM & Analytics but ain't

Google analytics tracking code insert in pdf file

浪尽此生 提交于 2019-12-10 18:15:33
问题 Is it possible that I can insert a tracking code of Google analytics in PDF file? I want to know where are users coming from and how users behave in my PDF file. Please do guide me if you know some process or approach... I know that PDF accepts some javascript, but I don't know if its capable of google analytics. Thanks! 回答1: You can't, to my knowledge, insert the actual Google Analytics JavaScript snippet into a PDF. EDIT : My previous answer was incorrect; I said you could embed the __utm

Google Analytics iOS SDK [GAIReachabilityChecker reachabilityFlagsChanged: crash

我的未来我决定 提交于 2019-12-10 17:51:48
问题 I keep on experiencing crash in my iOS app that is related to the GAIReachabilityChecker. It seems to crash on this function: -[GAIReachabilityChecker reachabilityFlagsChanged:] And this is the error log: Thread : Crashed: com.apple.main-thread 0 libobjc.A.dylib 0x00000001981939d0 objc_msgSend + 16 1 0x0000000100274de8 -[GAIReachabilityChecker reachabilityFlagsChanged:] 2 SystemConfiguration 0x000000018f0905cc reachPerform + 836 3 CoreFoundation 0x000000018c1db77c __CFRUNLOOP_IS_CALLING_OUT

How to get the referrer, paid/natural and keywords for the current visitor in PHP with new Google Analytics?

亡梦爱人 提交于 2019-12-10 17:46:49
问题 I'd like information about how the visitor has come to my site. In the prior version of Google Analytics, you could use their cookies for this (see e.g. Get the referrer, paid/natural and keywords for the current visitor with Google Analytics), but in the newest implementation of Google Aanlytics, the cookies are not there any more: they have been replaced by single _ga cookie. Is there a way to still retrieve information like referrer , paid/natural and keywords using Google Analytics or

How to access Google Analytics API from a serverside background service?

我们两清 提交于 2019-12-10 17:06:11
问题 I'd like to pull in data from google analytics into an own database through an background cron job without the user having to authenticate every time. I do know how to get an Google Analytics OAuth Access Token with user interaction as I asked previously. Using OAuth won't work, since it requires user interaction. According to Google Analytics API Reference OAuth as well as an Access Token can be used to access the stats of an page once on a per session base. However I'm looking for an

Google Universal Analytics - Command ignored

删除回忆录丶 提交于 2019-12-10 16:38:50
问题 I'm using Google Universal Analytics to track page views. I can see when I navigate to the pages with the real time feature of the Google Analytics site, so my code must be working. However Chrome keeps displaying this in the console: Initializing Google Analytics Running command: ga("set", "page", "/My Url here") Command ignored. Unknown target: undefined Running command: ga("send", "pageview") Command ignored. Unknown target: undefined Shortly followed by the actual data to Google Analytics