Piwik losing external websites since mod_rewrite?

i think i’ve got a problem with piwik, since i’m using mod_rewrite.

Thats the mod_rewrite-code which i use to redirect visitors of domain.de to www.domain.de:

RewriteCond %{HTTP_HOST} ^domain\.de$ [NC]
RewriteRule ^(.*)$ [www.domain.de/$1](www.domain.de/$1) [R=301]

After I’ve put this code in my .htaccess i do not get any more information about external website which link to my site.

Why? I hope you can help me style_emoticons/<#EMO_DIR#>/smile.gif

best regards


the referer information can and probably will get lost during your http redirect.

See: Troubleshooting - Analytics Platform - Matomo