I cannot tell you the number of times I’ve deactivated Facebook, re-joined, and deactivated again, only to repeat the process.
gtag('set', {'user_id': 'USER_ID'}); // Set the user ID using signed-in user_id.
ga('set', 'userId', 'USER_ID'); // Set the user ID using signed-in user_id.