Topic-icon Tracking FB Connect (Member Registration) via Google Analytics

Active Subscriptions:

None
As title, is it possible to track it?

I only found tracking of FB like in the report but not for the registration.

Please advice. Thanks a lot ;)
The topic has been locked.
Active Subscriptions:

None
Alex, any idea?

Thanks.
The topic has been locked.
Active Subscriptions:

None
Alex, any idea?

Thanks.
The topic has been locked.
Support Specialist
Anson,
Sorry for the delay. It's an interesting idea, but not something that's available right now. The reason that it works with the Like button is because Facebook actually has built-in support for Google Analytics to track that feature.

For registrations (or other features), it would take some custom Analytics code. It's a little in-depth, but the information on setting up a custom Analytics trigger can be found on the page below:
developers.google.com/analytics/devguide...js/eventTrackerGuide

If you think you have a Javascript query that you want to test from the above, we can help you find the right place to put it, depending on how you want to track... when the user first registers, when they click the Login with Facebook button (which they may or may not register after) or some other place.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
Got it Alex.

Actually I would like to track 4 things related to JFBConnect.
1. Public User click "FB Connect" Button in my website (via module, or {JFB...})
2. Public User click "Accept" in pop up of FB connect box
3. Public User click "Accept" in the 2nd pop up of FB connect box (request for posting message to their wall)
4. Registered User click "FB Connect" Button in my website to login

Please advise where I should place the GA code for them. Thanks a lot.
The topic has been locked.
Support Specialist
1) and 4) could be done pretty easily, because that travels through our Javascript file in jfbconnect.js In there, you'd want to edit the following section:
provider: function(name)
        {
            if (name == 'facebook')
                jfbc.login.facebook();
Update that with your tracking code like:
provider: function(name)
        {
            if (name == 'facebook')
            {
                // TRIGGER YOUR CODE HERE. This is *right* before the login popup displays.
                jfbc.login.facebook();
            }

2) and 3) would not be possible because those happen 'inside' Facebook, and they have no way for us to hook into that process. They don't provide JFBConnect with any method to see how many prompts the user received, what their action was, or any other details about how the login process went other than it was successful (after everything is done) or wasn't.

Let me know if that helps,
Alex
The topic has been locked.
Active Subscriptions:

None
Alex, thanks for your reply.

Is it possible to track point 1 & 4 separately?

Thanks.
The topic has been locked.
Support Specialist
If you're using the automatic registration feature, no. Once the user logs in, whether it's a first time registration or a subsequent login, they are redirected to JFBConnect's provider login flow. If auto-registration is enabled, they are registered, logged in and redirected to wherever they need to be. If they are returning and logging in, the same thing happens (excluding the registration).. they are logged in and redirected to wherever they need to be.

If you have a special URL for users that just registered go to, you could add the tracking code on that page. Other options exist, but there would have to be some way on a page to detect if the user just registered or if they are just logging in.. and JFBConnect doesn't distinguish between the two while the user is viewing a page.. we do it all behind the scenes on the server.. and in that case, we can't run Javascript to trigger an event.

I hope that helps explain. If you think you have an idea though, just let me know.

Thanks,
Alex
The topic has been locked.