3

I'm using Facebook Analytics in my app and wants to analyse which 'signup method' from Facebook and Email/Password users are using more.

For this I followed the docs here.

Here's what I tried:

FacebookSdk.sdkInitialize(getApplicationContext());
AppEventsLogger.activateApp(this);
logger = AppEventsLogger.newLogger(this);

Bundle bundle1 = new Bundle();
bundle1.putString("methodUsed", "email_password");
logger.logEvent("signup_method", bundle1);

Though the event got shown in the 'Events' tab of the dashboard, the space under the 'Value' row is empty which should have been "facebook".

Please let me know if I'm doing anything incorrectly here and how can I get the value also shown in the dashboard?

Hammad Nasir
  • 2,889
  • 7
  • 52
  • 133
  • The space under the "value" column should be empty with your code. Value would be used for the valueToSum parameter. However, you should be seeing data under the "parameters" column. You should be seeing "methodUsed - email_password" (or "methodUsed - facebook" - assuming this is in some code that you didn't include in your question?). Are you seeing either of those? If not can you post the code for logging methodUsed = "facebook"? – Chris Barker Jan 12 '17 at 18:46
  • where is this "parameters" column? – Hammad Nasir Jan 12 '17 at 19:34
  • Oh, sorry, I didn't notice you were looking at the "Events" tab. "parameters" is in the "Event Debugging" tab. – Chris Barker Jan 13 '17 at 00:49
  • there isn't anything under "parameter" too. – Hammad Nasir Jan 13 '17 at 01:24

1 Answers1

3

Parameters won't be shown on an event's page under the events tab.

For your use case, you'll want to look in the Breakdowns tab. Create a breakdown for your "signup_method" event, and under "Breakdown 1", select "methodUsed" as your breakdown parameter. Then click Save, and you should see a breakdown of how many people used each signup method.

Chris Barker
  • 2,279
  • 14
  • 15
  • Great! I can see different "`methodUsed`" here. So, this is how I would be able to see the "`value`"/"`parameter`" of any custom event? – Hammad Nasir Jan 13 '17 at 01:27
  • Yes, this is how you would see a breakdown by parameters for any custom (or predefined) event. – Chris Barker Jan 13 '17 at 14:06
  • can you help me with the steps to see breakdown with screenshots, i am not finding any breakdown action in a events page – Jay Pithiya Aug 08 '23 at 07:49