hello RudderStack i have a question about `screen...
# support
p
hello RudderStack i have a question about
screen
call in live events i see that app sends
screen
to rudderstack but i don't see that rudderstack sends
screen
to google analytics how does it work?
m
Hey There! 👋 Your message has been received by the RudderStack team. Our standard customer support hours are 9-6 PM EST, but we will forward this request to your Technical Account Manager, and they will get back to you shortly. Please use the thread for any additional comments.
Hi Sergey, what is the source you are sending from? Also when you mean google analytics is it GA-UA or GA4? Generally in the destination docs if the event type is not present it is not supported by that destination.
p
source - sdk desitantion - ga4
if event type screen isn't supported why rudderstack doesn't convert it to regular event?
m
Hey Sergey, which sdk are you referring to, Android, iOS etc. Yes RudderStack does not convert between event types by default.
p
ios
m
Oh ok. So in your case the best option would be to use a user-transformation to convert the Screen call into a Page call. This transformation would look something like this
Copy code
export function transformEvent(event, metadata) {
    if (event.type === "screen") {
        event.type = "page";
    }
    return event;
}
There are a few reasons why RudderStack does not automatically convert a Screen event into a Page event for destination that do not support Screen calls - The event parameters are different. Eg:- Url, which is present in page events but not in Screen - It may not be the customers intent to do so - The destination may not have been build to handle such events and their properties Note:- That though the above code would convert a Screen event to a Page event, you may have to test if the destination is reading the data as expected.
p
if i use open source version will i pay for transformations?
m
Upto 5 JS transformations would be free for Open-source account as well.
p
is transformation will be executed on our server, right?
m
Yes, the transformation code will be pulled from the Control plane and executed on your server.
p
@shy-kite-21035 and i have question about
identify
, does rudderstack send it to ga4?
s
No identify events are not sent to GA4.
p
sorry, but if convert it to the page_view i can't use page title or page name from the event in fieabse analytics
m
That is true but this is unfortunately a limit from google side so nothing much we can do.
✅ 1