Use “Danke, dass du zuhörst.” for “Thanks for listening.” Use du with a friend who has listened to you.