The German association of data protection authorities have ruled that tracking using IP addresses breaches German law. The ruling and the implications for marketers are covered on the Marketing Law website, which highlights that:

IP-addresses are considered personal data.
The storage of IP-addresses will be found non-compliant with German data protection.
The use of web analytics tools based on IP-addresses will be found illegal and can be sanctioned with a fine up to €50.000.