3
Views
0
Comments
[Firebase Analytics Plugin] ODC Firebase Analytics Plugin – How to clear UserId with setUserId(null)?
Question
Firebase Analytics Plugin
Forge asset by OutSystems

Using the Firebase Analytics Plugin in ODC and need to implement Firebase User-ID.
Setting the User-ID works correctly:SetUserId(user_key)
The issue is on logout. 
Firebase requires:setUserId(null)to clear the current User-ID.
However, the ODC plugin exposes SetUserId with a mandatory Text input, so I cannot pass a real null value.
 tested:"null", nullidentifer(),"" → Firebase treats it as a value, not as null"" → the previous User-ID remains
 verified this in Firebase DebugView, where the previous user_id was still attached to an event after logout.
Is there a supported way in ODC to call setUserId(null) with this plugin?

Plugin version: Firebase Analytics Plugin ODC 1.7.1.


Screenshot 2026-10-02 152112.png
Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.