I am working on a CiviCRM plugin that will act as a unified solution for social media login.
Once someone clicks the Login button which this plugin adds (eg to an event page), he or she is redirected to a new page for further data exchange (eg login on Twitter, Google+ etc).
Is there a way I can get to know from which the button was clicked?
One way is to store the same while clicking the button or send it to the new page as a GET or POST variable. I just wanted to check if we already storing/getting it up somewhere in CiviCRM.