Can we automate firebase analytics(events/views) triggered from android/ios apps using appium-java?
i have just triggered the events that needs to be automated and stuck with proceeding further...
Is it possible to link to firebase analytics and query the data to validate?
(or)
Is there any other way that we can catch the analytic events while triggering the events from app?
I have gone through many articles not getting correct answer
Please advise, Thank you!
Option 1 -
Generate a build with unique build#.
After Appium execution for the events, initiate web browser through selenium.
Filter that specific build version in Firebase and check the events
Option 2 -
Track network calls and validate the requests.
Related
I would like to use Google Analytics in my Xamarin project, but I always find articles showing how to use it with Firebase. Is that the only possibility? Can I use just Goggle Analytics without Firebase, as I use for example in my Angular project?
While the link to the repo google-analytics-dotnet-sdk created by me supplied by another another answer to this question.
Will work if you are using Universal analytics. It will not send hits to GA4. I have been working on a version for Ga4 but set aside while i wait for the Measurement protocol for Ga4 to be completed.
Currently the measurement protocol for GA4 does not allow for recreating hits similar to what is sent by the standard google analytics sdks for web and mobile.
Which means that you cant exactly recreate the same events.
Measurement Protocol (Google Analytics 4) I guess what I am saying is that if your goal is to recreate similar hits as firebase sends then your not going to be able to. We need to wait for them to open up for more of the Measurement protocol.
This is the current status of it.
GoogleAnalytics.Ga4-Dotnet.Sdk - Beta
I want to listen programmatically when an event I created on the Google calendar is updated (like when someone accept/reject an invite) and I want to receive the relevant info regarding the event (type, confirmed/declined attendees, etc). I've tried using zapier and so far it does the job. Is there a native way to do that using Google API? I've also tried using Google calendar push notifications but the data I've received from the webhook isn't sufficient for my use case. Thanks!
You should be able to do this with a small Google Apps Script.
Their documentation explains the process of listening for a calendar change event. Then, you'll need to perform an incremental sync with the Calendar Sync API and handle the specifics of the event based on how you want.
Note that more simply, a webhook may suffice for your use case.
When I did research online, most of the solutions are about triggering Slack notification from TravisCI. Now I want to do the reverse direction - type some message in slack, and trigger a build task in TravisCI.
I'm looking at Slack's Outgoing WebHooks - under their "Custom Integrations" in Slack app directory. However, their webhook POST data spec is fixed, not seem to be programmable through just their webpage UI. They have a column in the UI that lets you fill in URL(s) to POST to. But I don't see any ways that I can customize the data field of the POST request.
Same as TravisCI's Triggering Builds API v3, the data fields they expect in the POST are fixed and unchangeable.
I know I can sign up a cloud service, write some code and spin up a server to re-package the parameters to do the work, like a middleware between these 2 APIs. But just want to see if anyone manages to achieve triggering TravisCI by Slack in such way that doesn't involve spinning up a server myself?
I ended up hosting a server and writing the porting logic myself. I guess there's no simple way to do this, after all they are different APIs. Here is the code where I request against travisCI API, and here is the code where I unpack the slack webhook POST request.
I’m building an iOS app that utilizes Uber’s API and Parse. After a user requests a ride in my app and the ride status changes, I’d like to update the in app screen and send a push notification. Uber’s docs say to use web hooks for this. I’m trying to figure out how I would do this if I’m using Parse. As far as I know, a Parse backend doesn’t have the ability to receive POST data from the Uber web hooks. I was thinking of making a small express server that would receive the web hooks POST data, clean it up, and send it to Parse’s API which would in turn send it to the client as a push notification. Is there a better way to do this?
I think you're on the right track. It looks like there are some projects in the Parse OpenSource Hub you could re-use for your purpose.
The alternative is to simply do a GET /v1/requests/current every few seconds within your app.
I have made an app using jQuery mobile and phoneGap, and read its good to put Google Analytics on there. I just a little confused because most of the app (pages etc... ) runs from the index.html file on the phone. The only time the app communicates with the server is when it logs a user in and they do ajax requests to retrieve or put data to a database.
Can I still use the analytics package here? Or is the whole point of it to be used with an app where all the DOM etc is stored online?
Thanks
You can probably use the event tracking feature of Google Analytics to help you out here:
https://developers.google.com/analytics/devguides/collection/gajs/eventTrackerGuide
You basically just fire a js function and pass in descriptive strings and category I think for each of the interactions you want to track / report on:
_trackEvent(category, action, opt_label, opt_value, opt_noninteraction)
Hope that helps