I am using BetaAnalyticsDataClient with python, and unable to filter users that have done this event out from the data. I have been able to download the full data OR users that have done this event but not the thing that i am trying to do.
Basically I have an event which I use to identify users that have logged in to the website.
I have attached two photos of what i am trying to/not trying to replicate from google analytics web interface.
Goal –> trying to replicate this
I have tried something like this and variations of it:
segment_filter = FilterExpression(
filter=Filter(
field_name="eventName",
string_filter=Filter.StringFilter(
match_type=Filter.StringFilter.MatchType.EXACT,
value="login_link_click",
case_sensitive=True
)
)
)
but its returning different data. only getting these results for this filter
henricat is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.