Hi all i have integrated GA into my phonegap 1.9 project. I got it working about 3 days ago when i saw sessions in my GA account. However, it does not seem to show any more sessions or active users. Can someone tell me what is the repairing timeframe to show stats 48hrs? also how do i get it working to show realtime usage. thanks.
ps. in my LogCat i see its being started successfully and appears to be tracking...
window.plugins.analytics.start("UA-XXXXXXXX-1", function(){console.log("Analytics: start success");}, function(){console.log("Analytics: start failure");})
window.plugins.analytics.trackPageView("index.html", function(){console.log("Track: start success");}, function(){console.log("Track: failed");});
Thanks in advance!!!!
If you see the logs you have in your code, you should see the statistics right away. Go to your analeptics home page, Click on Home next to the "Standard Reporting", then click on Real-Time, the click on Overview. If you wrote the UA-ID and everything properly, you should see the usages right away ...
In iOS and Titanium, there is 20 seconds delay because of API implementation, but I am not sure about PhoneGap.
Related
I am working in Android Studio for my study. I have created a social sports app.
Now I want to have a log in system and for that I followed youtube videos. I have a sign up screen where you can fill in full name, username, email and password.
Now when I click on the sign up button, my real time database in firebase does not updated.
I have tried many many things but nothing seems to work.
My rules in firebase are both on true
I don't get any errors except for one error that can be ignored as far as I can see on other posts. (E/eglCodecCommon: GoldfishAddressSpaceHostMemoryAllocator: ioctl_ping failed for device_type=5, ret=-1)
So here is my code:
(I also define the other strings, but I think that was not necessary to show)
Pleaseee can somebody help me, I have been working on this the last 5 hours and otherwise all my work for the sign up/log in screens are for nothing.
If there is some info/pictures/code missing, please let me know, I can send it immediately.
We are working on an Apache Cordova plugin based on remote-pay-android-go SDK that will allow Ionic/Cordova applications to integrate with the Clover Go device.
Here is the link to the plugin. We have implemented basic methods to init, connect, disconnect and make a sale. We are getting the error message "Transaction Declined. Please use another form for Payment" with reason "charge_declined", whenever we perform sale through the device.
I tried the example code in the remote-pay-android-go SDK and the code gives the same error for sale from the device and works well for the manual transaction.
Can someone help me understanding where we may be missing?
Thanks in advance!
I was able to get past this by following a recent answer by David Marginian on the Clover forum.
I believe there is something going on with the gateway emulator on sandbox, we are looking into it. In the meantime try transactions > 50 dollars, they should go through fine.
I think as the default currency is set to cents, the values I tried always remained below 50 dollars.
The documentation link: https://developer.squareup.com/docs/pos-api/build-mobile-web#step-5-test-your-code suggest straight forward code like this:
<a href="intent:#Intent;
action=com.squareup.pos.action.CHARGE;
package=com.squareup;
S.browser_fallback_url=https://my.website.com/index.html;
S.com.squareup.pos.WEB_CALLBACK_URI=https://my.website.com/index.html;
S.com.squareup.pos.CLIENT_ID=sq0ids-yourClientId;
S.com.squareup.pos.API_VERSION=v2.0;
i.com.squareup.pos.TOTAL_AMOUNT=100;
S.com.squareup.pos.CURRENCY_CODE=USD;
S.com.squareup.pos.TENDER_TYPES=com.squareup.pos.TENDER_CARD,com.squareup.pos.TENDER_CASH;
end">Start Transaction</a>
I tested it and it does not open any link, my devide already have app installed.
When I try this code:
Take a QR code 2
It open play store app with squareup pos app information, I need to directly open the app and not play store screen of the app, is there any way?
*UPDATE:
I got transactions to work after adding S.com.squareup.pos.LOCATION_ID={{ my_location_id }}. The location ID can be found in Square Developer Portal > Locations. Also if the POS app is passcode protected, you have to open and login with passcode before sending transaction.
*END UPDATE
I've been working through this same issue. I still haven't gotten a transaction to work, but have at least gotten the app to open.
Make sure the CLIENT ID is your production application ID. NOT sandbox.
The WEB_CALLBACK_URI needs to match the Web Callback URL defined in your Square Developer Portal > Point Of Sale API.
I hope this helps. If you do figure this out and get transactions to work, please post your solution for me and others who are sure to run into this issue since the documentation is lacking.
I am adding Google Analytics tracking to my Unity game (opted in for GA instead of Firebase). I'm using GA v4, just downloaded this morning from Google, and Unity version 2018.3.14f1.
I've imported GAv4 package, have setup property ID (for Android, iOS and Others) in prefab, added prefab to hierarchy and I'm able to start session and send event using LogEvent method. These are visible in GA backoffice, I can see my device in real-time, device location and events it's firing.
However, problem is that it does not show LogScreen in the backoffice.
Here is the line that calls LogScreen:
googleAnalytics.LogScreen(new AppViewHitBuilder().SetScreenName("main_menu"));
This line is called after googleAnalytics.StartSession() so should be fine.
Just as a reference, here is my line to send GA event (which works and is visible in analytics console):
googleAnalytics.LogEvent(new EventHitBuilder().SetEventCategory("event_category").SetEventAction("event_action"));
I can't figure out what's the issue, as events are working fine, but LogScreen is not.
I would expect to see LogScreen shown in Active Page feed in GA real-time overview tab, but I can't see it, neither there nor anywhere else.
I have tested it on Android device only, Android 9, Xiaomi Mi8 Pro.
Also important notice: when running inside Unity IDE, it has no errors thrown but no data (even session and events) are not shown in GA console. Session and events ARE visible in GA console when running on mobile device.
Any directions on what am I doing wrong would be greatly appreciated!
I would use something else. GA is shutting down. Maybe you get the error because GA might restrict the access for the new comers. Your code seems okay.
https://www.semetis.com/en/resources/publications/google-will-shut-down-analytics-for-mobile-apps-in-2019
I'm trying to add translations to my app and when finally after hard work of translating I click on Save & Publish and it says publishing for some minutes and then it doesn't publish but throws error in red container with message An unexpected error occurred. Please try again later. Resubmitting doesn't help and I have to move away from the page and ALL TRANSLATIONS get lost, so it's about 30 minutes to 1 hour of time waste!
Anybody had similar issues? But the problem is that it doesn't occur always. I try to add only 3 translations and then it publishes, but then I add more, and it throws this error. Sometimes I add more translations and it works but then adding 3 additional it throws error. So I don't think it's about the quantity of translations. Also I have inspected with Firebug but don't see there any errors.
I have read other topics here that recommend logging out/in, clearing cache. I have done it, but it doesn't help. I had sometimes similar issue of unexpected error when looking at statistics in Play Developer Console but at the end the statistics part wasn't so important if it didn't work and I didn't invest my time there just to open it up, but for translations this is a real time consuming task and then in the end all this may get lost and have to paste translations n times until it will eventually submit!
EDIT
Alright, I found very strange workaround that always submit from first try.
So anyway open in Firebug ˇNetˇ tab and when pressing ˇpublishˇ you will see there a POST action is executed. Then it will just load and load and never finish. After about 2:58 minutes it gets aborted. So At this point right click on this POST request and click ˇResendˇ so it starts resending and right at the same time click on the button ˇPublishˇ. Yes the button is not grayed out. So within a second it posts!
If you are facing this issue in july 2020 then the answer is that google has updated the play console and redirected on this url "https://play.google.com/console"
If you have not redirected automatically to the above link then manually open this link.
Alright, I found very strange workaround that always submit from first try.
So anyway open in Firebug Net tab and when pressing Publish you will see there a POST action is executed. Then it will just load and load and never finish. After about 2:58 minutes it gets aborted. So At this point right click on this POST request and click Resend so it starts resending and right at the same time click on the button Publish. Yes the button is not grayed out. So within a second it posts!
Playstore have updated with new UI.
Please follow the link
Updated Playstore Console Link from JULY 2020
You can see new console