Not able to choose date range in Twilio developer console under Error logs - twilio

I am analyzing the production issue. I want to filter the errors happened between two dates. The calendar button is available, but it is disabled.
I even tried from histrorical trend, as explained in documentation, which is also disabled.
Any help?

Related

Facebook Analytics SDK for iOS app: how to disable value tracking for non-valuable events like App Install or Start Trial?

I'm running Facebook Ads campaigns for my iOS app and quite naturally I have Facebook Analytics SDK integrated inside my app to track App Installs and Start Trial events to measure the "quality" of the traffic my campaigns bring.
At the Analytics settings page inside Facebook developer dashboard.
https://developers.facebook.com/apps/XXX_APP_ID_XXX/analytics/settings/?business_id=XXX_BUSINESS_ID_XXX
I have the option Log In-App Events Automatically (Recommended) set to "Yes", which I presume enables the tracking of App Install and Start Trial events. There's also a Shared App Secret field filled in with the value from iTunesConnect.
Indeed, the App Install and Start Trial events have started to appear inside Analytics dashboard
https://www.facebook.com/analytics/XXX_APP_ID_XXX/AppEvents?__aref_src=landing_page&__aref_id=entity_name&force_desktop=1&user_id=XXX_USER_ID_XXX
However I noticed when viewing the stats for just App Installs there's a quite considerable value in USD attributed to these events. I decided to take a closer look into these events using Event Debugging
https://www.facebook.com/analytics/XXX_APP_ID_XXX/most_recent?since=1577923200000&until=1580256000000&__aref_src=landing_page&__aref_id=entity_name&force_desktop=1&user_id=XXX_USER_ID_XXX
and selecting "App Install" in the events filter.
There I saw that some (only some and as if randomly) App Installs have a value associated with them. To me this is an unexpected behavior since I can't imagine revenue being made by just receiving an install.
Same goes for Start Trial event, which always has the value associated to it (equal to the sale price of a subscription period) and once again this makes no sense to me because started trials themselves bring no value to me. They may be canceled or may end up in Billing Retry when the user has no money on the bank card attached to their iTunes account, etc. I track the conversions from Start Trial to Purchase on my backend separately with great precision and only these conversions as well as subsequent renewals would bring real value to my business.
I can and will track these Purchases manually and post them to Facebook (server-to-server style) and I will supply the corresponding value to these events myself, which will help to understand the overall performance and ROI but I need to clean my stats from these "false" automatically and erroneously attributed values to App Install and Start Trial events first.
I've already reported this issue to Facebook few days ago, however they seem to be slow in handling such requests so I've decided to ask here if anybody ran into similar issue.
Add this to your plist file to disable Auto Event Logging
<key>FacebookAutoLogAppEventsEnabled</key>
<false/>
Thanks to Lena Bru for giving enough food to find a solution.
The Facebook documentation is scarce on the raised questions and the support answer literally headed me towards the documentation. To recap things, there were 2 main issues (the second one I've mentioned in the comments to Lena's reply):
Facebook was tracking value for the events, which brought no value to my business
Some of the events I've sent from backend didn't appear in the campaign reports
To solve both of these problems, I:
Turned off the value tracking option in the Facebook app settings
On the client side I've started setting up User ID (which the client receives from backend) according to Facebook documentation
I've started to send all of the events, which I wanted to view inside Facebook business cabinet, under custom names from backend. I've supplemented them with app_user_id parameter (see Advanced Matching for App Events in Facebook documentation) so that they could match the App Installs reported from client.
There's still a smaller issue left (it feels like Facebook reports include 20% less installs than actually happening) but the current setup is already something to begin with.

AppsFlyer GoogleTagManager Integration - different number of events

In our app, we use Google Tag Manager to send in-app events to both Firebase and AppsFlyer.
When we test it locally it works correctly in logs I can see that GTM saves Tag
GoogleTagManager info: Saved tag for URL https://api2.appsflyer.com/inappevent/idxxxxxxxx
then after a while, GTM sends it
GoogleTagManager info: Sent hit https://api2.appsflyer.com/inappevent/idxxxxxxxx
I check with Charles how the request looks like and everything looks good the payload is built correctly and I get 200 OK.
{
"appsflyer_id": "XXXXX",
"eventName": "af_initiated_checkout",
"af_events_api": "true",
"eventValue": "{\"af_price\":500,\"af_content_id\":\"x1\",\"af_content_type\":\"xxx\",\"af_currency\":\"EUR\",\"af_quantity\":8}",
"idfa": "XXXX-XXXX-XXXX",
"bundle_id": "com.superapp.superapp"
}
After a few minutes, I can see the effect on the AppsFlyer dashboard.
but when we sent the app to the production (the same bundle id) we spotted that count of events is quite different between Firebase and AppsFlyer even 10 times more events in Firebase in some cases.
What can be the cause of that? How I can debug this problem?
Here is Luc from AppsFlyer Support,
From your description, my guess is the following:
AppsFlyer dashboard is based on install date and shows life-time data, meaning that if you look at "last week", you see the data of user who installed your app last week. The number of events that GTM sent to AppsFlyer last week is likely much higher than events generated by installs of last week, since most of them correspond to older installs.
The only page of our dashboard which follows a different logic is the "Activity" page, which is based on event date. Could you compare the event number in GTM with the number of events in the Activity Page?
If that doesn't solve the problem, simply shoot an email to support#appsflyer.com with more details and the app_id, I'll have a look.
thanks and best,
Luc

Cannot pin from Zapier

I am using Zapier to send a pin to my Pinterest account from Google Sheets
but it is showing me an error:
We had trouble sending your test through. The app returned "Sorry! We
blocked this link because it may lead to spam.". It looks like the
server for your connected app is down or currently experiencing
problems. Please check the app's status page or contact support if
there are no reported issues.
My Sample Record
My sample Excel File
My Board Link where I want to pin
If you have not already reached out to them, I would suggest that this is the perfect question for Zapier's support team. They are quite punctual and have access to information regarding specific app integration status' that we, the general public, will not. That said this looks like it may be a symptom of an error with Zapier's Google Sheet integration. At the time of this writing Zapier is reporting 429 errors concerning Google Sheets. If I am ever facing unexplained errors with one of my zaps the first place I check is https://status.zapier.com/ which has live updates and reports on any integrations that may be facing issues.

Get time difference in iOS when in offline mode

I have an app which works both offline and online. I have a request from the client to embed a functionality which will disallow the user from using certain functionality after some days, 7 days, for example.
If online I can easily achieve this task by comparing the time-interval between server time.
But in offline mode, this has been a problem. I have tried to achieve this by saving server timestamp in USerDefault and when the app comes in the foreground, compare the current NSDate with the one saved to get time interval. But, what I found is this can be hacked easily by manipulating the date and time in Settings and those functionalities in app works perpetually.
Another solution I have thought is to disable the app if date time is not set to automatically in the setting. But, found that Apple has not disclosed the API to access date and time.
I have searched for other answers on the internet, but could not find the solution to fix this issue. Also, tried some offline game app to check but found that I can change date and time to manipulate their functionality.
So, isn't there any robust solution to fix this issue? Any help is highly appreciable.
you can manage timings on the server through API calls when the user
goes offline or log out or something. so you can easily get to know
your exact timing and it is also not hackable :)

Google analytics timing not shown

I have implemented analytics for a iOS app, and everything is working fine, with the exception of timing. I can see the screens accessed, the events that took place, but I cannot see anywhere the timing info. I am sending successfully the information, the code is 200, but I don't find anywhere on the account the information that was sent. It should be visible in the App speed section? I don't have anything there. It's been 3 days since I have been using the analytics, but no info so far regarding the timing. Please help!
The problem is that even if google says that the parameters for sending the timing info (name and label) are optional, only after I filled out this stuff, the data started showing in my account.
With the SDK for Android V4 it is also essential to give value to the two variables called optional.
I've found that logging a non-integer number causes trouble with getting the event logged as well. Make sure that when you convert your time interval to milliseconds, the result is an integer value.

Resources