<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Utah Web Design Blog &#187; ASP</title>
	<atom:link href="http://www.redolivedesign.com/utah-web-designers-blog/index.php/category/utah-web-design/asp/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.redolivedesign.com/utah-web-designers-blog</link>
	<description>Corporate Blog Site for Red Olive Design Inc.</description>
	<lastBuildDate>Tue, 31 Aug 2010 15:32:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Old school asp trick to track referrer and use it in your contact forms</title>
		<link>http://www.redolivedesign.com/utah-web-designers-blog/2007/01/12/old-school-asp-trick-to-track-referrer-and-use-it-in-your-contact-forms/</link>
		<comments>http://www.redolivedesign.com/utah-web-designers-blog/2007/01/12/old-school-asp-trick-to-track-referrer-and-use-it-in-your-contact-forms/#comments</comments>
		<pubDate>Fri, 12 Jan 2007 20:21:38 +0000</pubDate>
		<dc:creator>Matthew Moeller</dc:creator>
				<category><![CDATA[ASP]]></category>
		<category><![CDATA[Utah Web Design]]></category>

		<guid isPermaLink="false">http://www.redolivedesign.com/utah-web-designers-blog/2007/08/22/old-school-asp-trick-to-track-referrer-and-use-it-in-your-contact-forms/</guid>
		<description><![CDATA[Ever wanted to know how a visitor found your site but are too lazy to go look up the stats?  Collect the referrer information on the homepage and store it in a session.  When they fill out a contact form collect that info and there you go.  The below code assumes you have a windows [...]]]></description>
			<content:encoded><![CDATA[<p>Ever wanted to know how a visitor found your site but are too lazy to go look up the stats?  Collect the referrer information on the homepage and store it in a session.  When they fill out a contact form collect that info and there you go.  The below code assumes you have a windows server or unix with chilisoft installed, and that your have a contact form that fires off an email. Now for the code:</p>
<p><strong>Step 1:</strong> Paste this asp code on your home page near the top.</p>
<p><code>&lt;%Dim referrer<br />
Session("REFERER")= Request.ServerVariables("HTTP_REFERER") %&gt;</code></p>
<p><strong>Step 2:</strong> Setup your contact form to collect the variable.</p>
<p> <code> &lt;INPUT TYPE="hidden" NAME="Referrer" VALUE="&lt;%=Session("REFERER")%&gt;"&gt;</code></p>
<p> That&#8217;s it, pretty easy huh?  If you were so inclined you could collect a custom variable on each page of your site then loop em out in your contact form to see what pages the user spent time on while visiting your website. Visit <a href="http://www.redolivedesign.com/red-olive-aboutus.html" title="RED OLIVE CREATIVE">Red Olive Design</a>, a <a href="http://www.redolivedesign.com/services/utah-web-site-designers.html" title="Utah Web Site Design">Utah web design</a> company for more asp tips.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.redolivedesign.com/utah-web-designers-blog/2007/01/12/old-school-asp-trick-to-track-referrer-and-use-it-in-your-contact-forms/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
