1
vote
1answer
220 views

301 redirection removes UTM tags from URLs

A page redirects to another page using a 301 redirect in a .htaccess file. If try to access the page from a URL with UTM tagging after redirection, it removes all UTM tagging. Is this normal ...
0
votes
1answer
164 views

How to secretly rewrite Google Analytics campaign codes to main page?

I want to create a simple "secret" mod_rewrite redirect (not shown in user's browser address box) to redirect: http://www.mydomain.com/code -> ...
3
votes
2answers
71 views

Google Analytics Campaigns - cleanup URL after arriving to webpage?

After visitor lands to my webpage using campaign url: http://www.mydomain.com?utm_source=signature&utm_medium=email&utm_campaign=myname Is it possible to do a rewrite to ...
1
vote
2answers
170 views

Can I have tracking parameters immediately after a forward slash /?

I would like to start redirecting all /index.php pageviews to / to clean up GA data and otherwise simplify URL hits. Does anyone foresee this causing any problem when using tracking parameters? E.g. ...
3
votes
2answers
2k views

How to track subdomains with Google Analytics while having mod_rewrite redirect to a subdomain?

When users come directly to domain.com or www.domain.com, I am redirecting them to shop.domain.com via this .htaccess rewrite: RewriteEngine on RewriteCond %{HTTP_HOST} ^www.domain.com$ [OR] ...