Greetings and proactive chat

When to say hello, what to say first on pricing and product pages, and when to leave a buyer alone.