Has anyone successfully retrieved a customEvent pa...
# replication-troubleshooting
j
Has anyone successfully retrieved a customEvent parameter from the Google Data API for GA4 property?
no matter how i try to retrieve I get ‘custom_reports: invalid dimension(s): customEvent:option_selected for the custom report: myreport’
ive attempted all 3 methods described in the API docs, Im curious if anyone has been successful w/ airbyte
the filter expressions also validate but dont appear to actually filter
u
I didn't try and our test account doesn't have example. The problem happens with custom reports?
j
I sorted this for the custom elements. I had the metadata wrong and corrected using the ga4 metadata API. Doing some more testing on filters today
d
@Jeff Crooks do you have an example of a GA4 filter expression? The new syntax looks pretty different than the UA syntax. I'm looking to do a regular expression on the page path
j
I actually didn't get filters working... It matches spec and validates, and returns expected values when testing against the API, but when executing in Airbyte can't get them working
If you just need custom fields, check out the GA dimensions and metric explorer... Depending on when the custom field was created it may have slightly different syntax
d
Thanks for the tip. I was able to create a filter expression in the new syntax, but like you I found that it doesn't actually function as expected via the Airbyte connector. 😔
d
Hi guys, any luck with this? Thanks!
j
i think i just load a custom report now thats defined in GA, rather than trying to write the spec in the connector
d
thanks for your prompt answer Jeff, the point is we are defining (via API) a custom report filling the dimensionFilter struct and it's not working (i.e. it gets all the data without any filter). By any chance, wouldn't you have any working example? I'd really appreciate it. Thanks!
j
heres a string filter example
d
well, this is not working for us. In the fieldName = 'eventName' and filter.value = 'scroll', with exact matchType, but we are getting all the sessions for all the events, not only those with 'scroll' value
image.png
😞 🤔
d
In my case it's been so long that I don't even remember what the use case was, and I just confirmed that nothing is implemented on our syncs which does filtering.
p
I'm experiencing the same issue here It seems that the filter feature might not be working for GA4 connector ...