# Statistics regarding registrations (native versus external)

**URL:** https://meta.discourse.org/t/statistics-regarding-registrations-native-versus-external/14442
**Category:** Feature
**Created:** [2014年四月3日 20:46 UTC](https://meta.discourse.org/t/statistics-regarding-registrations-native-versus-external/14442 "2014-04-03T20:46:08Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [2018年八月14日 10:21 UTC](https://meta.discourse.org/t/statistics-regarding-registrations-native-versus-external/14442/4 "2018-08-14T10:21:33Z")

</div>

This is something that a new data structure could help with. I’ve written down what I was thinking of here for reference:

> [@Future Social Authentication Improvements](https://meta.discourse.org/t/future-social-authentication-improvements/94691):
>
> Discourse now has the ability to connect and disconnect different authentication providers to your account. This is good, but there is still more we can do. These are things I intended to do with my last round of improvements, but have not managed to complete before needing to move on to another project. Track ‘last used’ date for social login Log ‘connect’/‘revoke’ events in UserHistories [Provide statistics to administrators](https://meta.discourse.org/t/statistics-regarding-registrations-native-versus-external/14442/3) As @fantasticfears pointed out [here](https://meta.discourse.org/t/ability-to-connect-with-oauth-providers-when-user-is-registered/42457/3), features like this ar…

At the moment we could still implement this for core auth providers - just read the user\_ids from `{google,twitter,facebook,...}_user_info` tables. Plugins **tend** to use `oauth2_user_infos`, so that is achievable. Plugins that use their own data format in PluginStoreRows will be pretty much impossible to provide statistics for with the current structure.

---

_[View the full topic](https://meta.discourse.org/t/statistics-regarding-registrations-native-versus-external/14442)._
