Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I've set up a redirect to allow a short URL to be used in advertising materials - e.g. domainname.com/advert
I used the built-in umbracoRedirect property. What I need to know is whether the referring page will show up in the google analytics report, or whether umbraco does this 'behind the scenes'.
If not, is there a simple way I can measure what percentage of hits to a certain page came from this new, short url vs. the main, longer url?
umbracoRedirect makes a 302 redirect http://our.umbraco.org/wiki/reference/umbraco-best-practices/umbracoredirect
So I guess your question actually relates to whether a 302 redirect passes the referal in google analytics, something I couldn't find a definitive answer for.
You could add some code to do a redirect and tag the url with an analytics tag http://www.google.co.uk/support/googleanalytics/bin/answer.py?answer=55518
As far as I can tell, a 302 doesn't look like it'll show the referrer as my page with umbracoRedirect on it. That link tagging seems like it'll do the trick, I just need to figure out how to add that as a redirect vs. using umbracoRedirect. Actually, I wonder if we can just do that on the server but redirect it to the tagged url...
Really appreciate the help, thanks again.
If it's for one unique page you can set up a url rewrite
Something like (not tested and don't know the effects of a permanent redirect)
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted