Go or have: two different questions
The verbs går and har give you two ways to ask about wellbeing. The first is useful for a general update; the second puts greater emphasis on the person's own situation. If you ask a friend how they have been managing after a difficult week, the personal form may fit particularly well. A question about general progress can also refer to a particular activity, so use the context to understand the response rather than expecting a fixed greeting ritual.
Listen for the small words
Danish speech often reduces unstressed syllables, which can make a short expression difficult to separate into individual words. The spelling of det, for example, is not a reliable guide to how clearly its final consonant will be heard in ordinary conversation. Practise listening to the whole question as one unit. The sound of a recorded phrase is a better model than any English phonetic approximation.
Keep the exchange reciprocal
Modern Danish commonly uses du in ordinary conversations, including many professional encounters. You can return a question with Og dig? or Hvad med dig? when talking to one person. If the person you meet has time to talk, add a small detail about your visit after answering. A short response is enough when someone is busy. Choosing an appropriate moment for a conversation matters more than adding a long series of polite words.