Delay FIRST_OPEN until named_user_id is present?

We award users a one-time prize for installing our app. Unfortunately, it seems that the FIRST_OPEN event triggers before the user logs in and we can set the named_user_id. Very few first open events come with a user id set.

Is there some way to only fire the FIRST_OPEN type event at a time of our choosing, or is there some other way I need to track first log in? 

Didn't find what you were looking for?

New post

Comments

1 comment

  • Hello Ryan,

    Thank you for reaching out.

    The first_open event is actually automatically triggered as soon as the SDK gets launched within your app.
    This latter cannot be modified.

    In your case, we would rather recommend to set up a custom event within your app which will triggered a "first open" event as soon as your users get logged in.
    This will allow you to get the information at any time.

    For more information, please visit the following documentation : 

    https://docs.airship.com/guides/messaging/user-guide/data/custom-events/#tracking-custom-events

    Best Regards, 

    Comment actions Permalink
    0

Please sign in to leave a comment.