takk fyrir mig

Usage notes
This phrase is used to show gratitude: after finishing a meal you were invited to, when leaving a party you were invited to, after a trip someone took you on, or after a performance (to thank the audience for coming). It is fairly deferential and can be used in formal situations.