I have a ton of people that visit my site based on a random keyword which I'd like to Dynamically display either a string of text and a link to the right site. or redirect to a node. I'm curious if anyone has done this before.
I think you're going to have to provide more information.
If the keyword is specified in the url, you could always write an xslt that reads the query string (umbraco.library:RequestQueryString('keyword')) and performs a <xsl:choose> action based on this.
I'm looking at Google Analytics and I see a lot off people enter my site via Google doing a search on these key words and then hit my homepage. What I'd like to do in those instances is display a blurb with a link"Hey, you got here from Google search for [keywords]. You might find this of more interest."
I'm assuming there would have to be a Javascript that would pull this data from the user session or something. Like this example: http://www.jdstiles.com/java/whoami.html
How to Display Dynamic Content Based on Keyword?
I have a ton of people that visit my site based on a random keyword which I'd like to Dynamically display either a string of text and a link to the right site. or redirect to a node. I'm curious if anyone has done this before.
I think you're going to have to provide more information.
If the keyword is specified in the url, you could always write an xslt that reads the query string (umbraco.library:RequestQueryString('keyword')) and performs a <xsl:choose> action based on this.
Thanks Chris,
I'm looking at Google Analytics and I see a lot off people enter my site via Google doing a search on these key words and then hit my homepage. What I'd like to do in those instances is display a blurb with a link "Hey, you got here from Google search for [keywords]. You might find this of more interest."
I'm assuming there would have to be a Javascript that would pull this data from the user session or something. Like this example: http://www.jdstiles.com/java/whoami.html
You could look at the UrlReferrer property of the HttpRequest object - http://msdn.microsoft.com/en-us/library/system.web.httprequest.urlreferrer.aspx
That should contain the google search performed which you can scrape and find their keywords
is working on a reply...