I'm setting server events and sending to GA4. And I need to set timestamp_micros with event. But GA4 inteface always shows me the upload date of event, not that I setted. Also I see in Bigquery export that my event has upload timestamp. I even tried to send event via Event Builder, but it still shows upload timestamp.
And yes, I always set timestamp within last 72 hours according to documentation
body I send:
​data = {
"user_id": "123456",
"timestamp_micros": "1636025014649000",
"client_id": 'TLei4bvWcgN0rPjwmbMrT2QaIDRy7It5bzc0xNJ14Ew=.1635349750',
"non_personalized_ads": False,
"events":[{ "name":"tutorial_begin",
"params":{}
}]
}
Does anyone know why GA4 doesn't set timestamp_micros?
Please help, it's really important.
Only the one thing that I noted that in bigquery export in column user_propperties.value.set_timestamp_micros in the image in the rows 3 and 4 I see the exactly difference between my timestamp(setted) and ga4 timestamp(uploaded). But in column event_timestamp is uploaded timestamp. So we can say that GA4 sees my timestamp, but in the inetrface it shows uploaded timestamp.
It works. But in my case problem was that I looked at events_intraday_* table, because in events_intraday_* table it shows only uploaded time. And in the next day when data go to the events_* table column event_timestamp will have my setted timestmap.
Also I see the right my setted timestmap in GA4 interface.
And yes, I always set timestamp within last 72 hours according to documentation
I was shocked that in practice if event timestamp date doesn't equal the current date (in timezone that setted in your GA4 settings) then GA4 will not catch your event.
For example, if you send event with timestamp_micros date 2023-01-23 (yesterday), but current date in timezone of your GA4 is 2023-01-24 (today) so GA4 API say 200 OK, but doesn't catch your event.
I don't know why Google do this to us :(
Related
I am working on a project involving ElasticSearch and visualizing data on Kibana and I am finding the following problem with date range selection.
As you can see in the following picture I selected I time range that starts from April 8 2021 at 00:00:00.000 and end at April 10 2021 00:00:00.000 . Then I clicked the Refresh button in order to perform the query.
The problem is that, as you can see in the highligher URL section the passed date range into the query is wrong !!! Infact this is the timerange section of my query into my URL parameters:
time:(from:'2021-04-07T22:00:00.000Z',to:'2021-04-10T10:00:00.000Z')
As you can see it is pretty differnt from what I selected into the start and end date form fields.
Changing the values into the start and end date form fields automatically changes also the values into the URL parameters but they still wrong.
What could be the problem? Why selecting dates and time into these form fields the parameters value are wrong? What could be the cause of this issue? How can I try to fix it?
I suspect something related to the server timezone (the server where Elastic\Kibana) are installed or something related to some Kibana configuration but I really have no idea
The kibana docs specify:
The timezone that Kibana uses. The default value of Browser uses the timezone detected by the browser.
So (I'm assuming) your browser default timezone is UTC + 2, meaning when you select 00:00 it's converted to 22:00 UTC timezone, The Z in 2021-04-07T22:00:00.000Z is in indicator here.
I was wondering if Microsoft Graph has filtering available to retrieve emails only received last month that is from 1st day of last month to last day of last month.
Also, I save custom user properties with each email called "CompletedTime". I would also like to know if there is any filtering which would only pull emails which has value in custom user property "CompletedTime".
Thank you in advance.
KQL has a reserved keyword for last month https://learn.microsoft.com/en-us/sharepoint/dev/general-development/keyword-query-language-kql-syntax-reference so something like
https://graph.microsoft.com/v1.0/me/messages?$search="received:\"last month\""&$select=subject,receivedDateTime&$Top=1000
Should work to return the last months email, you could also do a filter or a search using a date range.
Also, I save custom user properties with each email called "CompletedTime". I would also like to know if there is any filtering which would only pull emails which has value in custom user property "CompletedTime".
If you know what the extended property representation of the property is then you can use a Filter on that. (If you don't know what the extended property is then use a MAPI editor like OutlookSpy of mfcmapi to work it out.
I've created an agent that copies messages from one folder to another, which works great, but I'd like to modify the Time/Date stamp on the message.
I see a value Date in the Simple Action, but can't find the variable to set the time to "now".
Any help would be greatly appreciated.
you can use formula #Now but you can't modify the date you see in the first tab of document properties, you can only edit the field in the document.
This Google calendar query should return events only between 1/1/2011 and 2/20/2011 but instead it returns events from 4/27/2009 to 3/27/2011
http://www.google.com/calendar/feeds/developer-calendar#google.com/public/full?singleevents=true&sortorder=ascending&start-min=2011-01-01T00:00:00&start-max=2011-02-20T23:59:59
What am I missing?
EDIT
In case anyone else was puzzled like me, I was viewing the result sets in Firefox and the XML parser shows the updated date and not the event dates.
When I run your exact query in the OAuth 2.0 Playground, it works perfectly. I get 30 results (after paging through a few pages) and all are between January 1 2011 and February 20 2011.
Also, please use https.
https://www.google.com/calendar/feeds/developer-calendar#google.com/public/full?singleevents=true&sortorder=ascending&start-min=2011-01-01T00:00:00&start-max=2011-02-20T23:59:59
I have a calendar prompt which when selected is in the format 'MM/DD/YYYY' but when the filter is applied the timestamp gets appended to it.
Please see the attached picture.
I do not want the timestamp to be appended after applying the filter.
Figured out the problem - The data type of the selected column was DATETIME in the physical layer. Once I changed it to DATE everything was fine