Como verificar qual ID de notificação foi clicado?

Meu aplicativo está recebendo notificações do GCM. Tenho tipos diferentes de notificações e, em algum momento, o usuário pode ter mais de uma notificação na barra de status. No entanto, preciso saber em qual exatamente ele clicou. No GCM em Mensagem, defina-os com

NotificationManager manager = (NotificationManager) getSystemService(NOTIFICATION_SERVICE);
        manager.notify(Integer.parseInt(notification_id), notification);

Preciso receber essa notificação_id após o clique na notificação. Tenho certeza de que isso é algo simples, mas não consegui encontrar nenhuma informação sobre isso.

Aqui estão as onMessage de GCMIntentService

@Override
protected void onMessage(Context context, Intent data) {
    String content_title;
    String content_text;
    String event_id;
    String content_info;
    String url;
    String match_id;
    // Message from PHP server
    content_title = data.getStringExtra("content_title");
    content_text = data.getStringExtra("content_text");
    content_info = data.getStringExtra("content_info") + "'";
    event_id = data.getStringExtra("event_id");
    match_id = data.getStringExtra("match_id");
    url = data.getStringExtra("url");
    NOTIFICATION_URL = url;

    // Open a new activity called GCMMessageView
    Intent intent = new Intent(this, GCMMessageView.class);
    // Pass data to the new activity
    intent.putExtra("message", content_title);
    intent.putExtra("url", url);
    // Starts the activity on notification click
    PendingIntent pIntent = PendingIntent.getActivity(this, 0, intent,
            PendingIntent.FLAG_UPDATE_CURRENT);

    Options opts = new Options();
    opts.inDither = true;
    opts.inScaled = false;


    /* Flag for no scalling */
    // Create the notification with a notification builder
    Notification notification = new NotificationCompat.Builder(this)
            .setSmallIcon(drawable_small).setLargeIcon(drawable_big)
            .setWhen(System.currentTimeMillis()).setTicker(content_title)
            .setContentTitle(content_title).setContentInfo(content_info)
            .setContentText(content_text).setContentIntent(pIntent)
            .getNotification();
    // Remove the notification on click
    notification.ledARGB = 0xff00ff00;
    notification.ledOnMS = 300;
    notification.ledOffMS = 1000;
    notification.flags |= Notification.FLAG_SHOW_LIGHTS;
    notification.flags |= Notification.FLAG_AUTO_CANCEL;


    NotificationManager manager = (NotificationManager) getSystemService(NOTIFICATION_SERVICE);
    manager.notify(Integer.parseInt(match_id), notification);

    try {
        Uri notification2 = RingtoneManager
                .getDefaultUri(RingtoneManager.TYPE_NOTIFICATION);
        Ringtone r = RingtoneManager.getRingtone(getApplicationContext(),
                notification2);
        r.play();
    } catch (Exception e) {
    }

    {
        // Wake Android Device when notification received
        PowerManager pm = (PowerManager) context
                .getSystemService(Context.POWER_SERVICE);
        final PowerManager.WakeLock mWakelock = pm.newWakeLock(
                PowerManager.FULL_WAKE_LOCK
                        | PowerManager.ACQUIRE_CAUSES_WAKEUP, "GCM_PUSH");
        mWakelock.acquire();

        // Timer before putting Android Device to sleep mode.
        Timer timer = new Timer();
        TimerTask task = new TimerTask() {
            public void run() {
                mWakelock.release();
            }
        };
        timer.schedule(task, 5000);
    }

}

E há o clique

String msg;

@Override
public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);

    Intent intent = getIntent();
    if (intent.hasExtra("url"))
        msg = intent.getExtras().getString("url");
    Log.e("URL", msg);
    setContentView(R.layout.activity_main);

    Intent browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse(msg
            + "?device_id="
            + GCMIntentService.DEVICE_REGISTRATION_ID.toString()));
    startActivity(browserIntent);

    // Toast.makeText(getApplicationContext(),
    // GCMIntentService.DEVICE_REGISTRATION_ID, Toast.LENGTH_LONG).show();
}

questionAnswers(1)

yourAnswerToTheQuestion