google-analytics

Angulartics2: startTracking() does not exist on type 'Angulartics2GoogleAnalytics'

徘徊边缘 提交于 2019-12-11 21:57:36
问题 I've followed the instructions on the readme of Angulartics2 for Google Analytics: app.module.ts: import { Angulartics2Module } from 'angulartics2'; import { Angulartics2GoogleAnalytics } from 'angulartics2/ga'; ... imports: [Angulartics2Module.forRoot([Angulartics2GoogleAnalytics]) app.component.ts import { Angulartics2GoogleAnalytics } from 'angulartics2/ga'; ... constructor( angulartics2GoogleAnalytics: Angulartics2GoogleAnalytics ) { angulartics2GoogleAnalytics.startTracking(); }

Google analytics Universal code not tracking

倾然丶 夕夏残阳落幕 提交于 2019-12-11 21:28:26
问题 I'm having a difficult time finding the error I may have commit with GA. I developed a site http://farmacia-milenium.com.ar that used the default universal tracking code. For some reason the script is not working and I'm not tracking correctly. I do not know if some code of the site may interrupt the code performance. Could some one help me? Regards 回答1: Google Tag Assistant says the analytics.js script is not available and the console (in Google Chrome, that is) shows an error: Refused to

Bug in external link tracking when opening the link in a new window in Google Analytics?

扶醉桌前 提交于 2019-12-11 20:42:59
问题 First off, I apologize if it's considered poor etiquette to cross-post on stackexchange sites, but this seemed appropriate for both the webmasters site and here, as it's a common issue for webmaster, but may be able to be solved by coders. In any case, here goes... OK, so this seems like a really simple problem, but I have yet to find a solution that accomplishes the following: Opens the link in a new window Tracks the event in GA when using the asynchronous code Doesn't trigger pop-up

Outbound Clicks Not Being Tracked By Google Analytics

淺唱寂寞╮ 提交于 2019-12-11 20:42:18
问题 I am trying to track the number of outbound clicks by Google Analytic on an advertisement banner on my website. The way this works is, if you are logged in, you see no banner. If you are not logged in, you see the banner. I have successfully done this on my wordpress site using the following code: <?php if (is_user_logged_in()){ echo "No Ads - Thank You for Supporting Us"; } else { echo " <a href=\"http://www.advertiser.org/\" onClick=\"pageTracker._trackEvent('Outbound', 'CuteDog', '300sb');

How can I turn dataLayer.push into a Google Analytics Goal?

家住魔仙堡 提交于 2019-12-11 20:36:08
问题 I like to turn window.dataLayer.push({ 'event': 'Offer', 'vpv': '/offer-lead'}); or window.dataLayer.push({ 'event': 'Offer', 'eventCategory': 'Success', 'eventAction': 'Lead', 'eventLabel': pageId}); into a GA Goal that shows people who I count as "leads". I managed to catch this event in TM but not in GA. Can you please take me to the needed steps in both TM and GA? 回答1: You need two things. 1) Tie together dataLayer with Google Analytics in TagManager . So you have to create new Tag for

Paypal SDK and Google Analytics SDK issue

允我心安 提交于 2019-12-11 20:29:00
问题 I had google analytics implemented in my iOS app and it was working great, but then when i added the PayPal SDK it was giving me problems with the Paypal SDK that when I click the pay button I set for paypal it would cause the app to crash. I contacted Paypal about it and they said it was because of google analytics. Here is my console log: 2013-11-29 12:46:34:426 Flattened[35545:1803] TestFlight: Crash Handlers are installed 2013-11-29 12:46:34.431 Flattened[35545:70b] Warning: A long

Google Analytics data processing timezone

£可爱£侵袭症+ 提交于 2019-12-11 20:14:18
问题 Which timezone use Google Analytics to process analytics data? I know that the processing latency is 24-48 hours but I don't understand how to calculate when my data will be available. Thanks 回答1: According to Google Evangelist Justin Cutroni (written 2014/04/02): In addition to the above features, there’s one more piece that is rolling out today. Google Analytics users can now specify the time-zone where their data is processed. In the past all data was processed in the Pacific Timezone

Name Spaced Accounts Not working Under Universal Analytics

点点圈 提交于 2019-12-11 20:13:53
问题 I would like to migrate to universal analytics.js, however when I try to implement multiple accounts in the analytics.js snippet, the default account works great and shows up in Real Time, however the subsequent account never shows up on Real Time and traffic drops off to 0. Currently I'm using ga.js to track multiple accounts in the single snippet. Here is the format I am using for that: <script type="text/javascript"> var _gaq = _gaq || []; _gaq.push( ['_setAccount', 'UA-XXXXXXXX-2X'], ['

Google Analytics Unique visitors dropped in count

怎甘沉沦 提交于 2019-12-11 19:36:55
问题 I check my Google analytics on a regular basis to obviously see my daily hits and for some reason my UNIQUE VISITORS count dropped from 1770 to 1730 over a day. How this is possible? I started to notice this about a week ago when I saw that my UNIQUE VISITORS count wasn't going over 1800 (which it should have considering the visits I receive). I receive an average of about 60 unique VISITS a day but even if it was 0 unique visits a day, it doesn't sound logical that my overall UNIQUE VISITORS

Insert experiment to Google analytics api (gapi)

无人久伴 提交于 2019-12-11 19:28:33
问题 I'm trying to insert an experiment to Google analytics through their api (using gapi) var experiment = { "name": "Testing", "description": "test", "status": "READY_TO_RUN", "variations": [{ "name": "Original", "url": "http://abc.se", }, { "name": "Variant 1", "url": "http://abc.se/1", }], }; gapi.client.analytics.management.experiments.insert({ 'accountId': currentProfile['accountId'], 'profileId': currentProfile['profileId'], 'webPropertyId': currentProfile['webPropertyId'], 'resource':