<?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>fields marshall &#187; webtips</title>
	<atom:link href="http://fieldsmarshall.com/category/webtips/feed/" rel="self" type="application/rss+xml" />
	<link>http://fieldsmarshall.com</link>
	<description>Website Optimization and PPC Issues</description>
	<lastBuildDate>Tue, 12 Apr 2011 12:11:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Redirects for Affiliate Links</title>
		<link>http://fieldsmarshall.com/redirects-for-affiliate-links/</link>
		<comments>http://fieldsmarshall.com/redirects-for-affiliate-links/#comments</comments>
		<pubDate>Fri, 01 Oct 2010 16:41:33 +0000</pubDate>
		<dc:creator>fields.marshall</dc:creator>
				<category><![CDATA[webtips]]></category>
		<category><![CDATA[affiliate links]]></category>
		<category><![CDATA[redirects]]></category>

		<guid isPermaLink="false">http://fieldsmarshall.com/?p=306</guid>
		<description><![CDATA[There are a few ways to do redirects to clean up affiliate links. Here is a list of my top four PHP redirect - write the code yourself (see below ) This will work on any php based platorm. .htaccess redirect &#8212;  again write the code yourself and edit the .htaccess file. This is more [...]]]></description>
			<content:encoded><![CDATA[<p>There are a few ways to do redirects to clean up affiliate links.</p>
<p>Here is a list of my top four</p>
<ol>
<li><strong>PHP redirect </strong>- write the code yourself (see below ) This will work on any php based platorm.</li>
<li><strong>.htaccess redirect</strong> &#8212;  again write the code yourself and edit the .htaccess file. This is more techy / complicated.</li>
<li><a href="http://bit.ly/">Use a service like Bit.ly</a>.</li>
<li>WordPress Users &#8211; use a plugin like <a href="/go/prettylink">pretty link</a>. There is another one called (gocodes) but prettylink is much more developed.</li>
</ol>
<h3>Php Redirects with errors</h3>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&lt;html&gt;<br />
&lt;php<br />
/* This will give an error. Note the output<br />
* above, which is before the header() call */<br />
header('Location: http://www.example.com/');<br />
?&gt;</div></div>
<h3>Php Redirects Done Well</h3>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&lt;?php<br />
header(&quot;Location: http://www.example.com/&quot;); /* Redirect browser */<br />
<br />
/* Make sure that code below does not get executed when we redirect. */<br />
exit;<br />
?&gt;</div></div>
<h3>.htaccess redirects done well</h3>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">RewriteEngine On<br />
<br />
redirect 301 /recommend http://fields.mgeary1.hop.clickbank.net/ [L]<br />
<br />
RewriteBase /<br />
RewriteCond %{REQUEST_FILENAME} !-f<br />
RewriteCond %{REQUEST_FILENAME} !-d<br />
RewriteRule . /index.php [L]</div></div>
]]></content:encoded>
			<wfw:commentRss>http://fieldsmarshall.com/redirects-for-affiliate-links/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing Analytics on a Large Website</title>
		<link>http://fieldsmarshall.com/installing-analytics-on-a-large-website/</link>
		<comments>http://fieldsmarshall.com/installing-analytics-on-a-large-website/#comments</comments>
		<pubDate>Sat, 19 Sep 2009 14:23:49 +0000</pubDate>
		<dc:creator>fields.marshall</dc:creator>
				<category><![CDATA[techtips]]></category>
		<category><![CDATA[webtips]]></category>
		<category><![CDATA[analytics]]></category>
		<category><![CDATA[google analytics]]></category>

		<guid isPermaLink="false">http://fieldsmarshall.com/?p=223</guid>
		<description><![CDATA[have you ever needed to install Google Analytics all static HTML files on your website ? If you have a large website that can be a lot of work so you have a few options. You can have the apache webserver install it automatically on the fly http://ballade.cs.ucla.edu/~kirill/analytics.html The downside here is that this requires [...]]]></description>
			<content:encoded><![CDATA[<p>have you ever needed to install Google Analytics all static HTML files on your website ? If you have a large website that can be a <strong>lot of work</strong> so you have a few options.</p>
<ol>
<li> You can have the apache webserver install it automatically on the fly <a href="http://ballade.cs.ucla.edu/~kirill/analytics.html" target="_blank">http://ballade.cs.ucla.edu/~kirill/analytics.html</a> The downside here is that this requires CPU power and can slow things down a bit if you are not using modperl</li>
<li>Search and replace all instances of the body tag with your analytics tag. You could use perl or sed on the unix command line to do this.  Some ideas <a href="http://www.unix.com/shell-programming-scripting/41286-sed-search-replace-question-google-analytics.html" target="_blank">here </a></li>
<li>Or just use this script from <a href="http://gleamynode.net/articles/2230/" target="_blank">http://gleamynode.net/articles/2230/</a></li>
</ol>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #666666; font-style: italic;">#!/bin/sh -e</span><br />
<span style="color: #666666; font-style: italic;"># inject-google-analytics</span><br />
<br />
<span style="color: #007800;">TRACKER_ID</span>=<span style="color: #ff0000;">&quot;UA-XXXXX-X&quot;</span><br />
<span style="color: #666666; font-style: italic;">#BE SURE TO CHANGE THE ID ABOVE</span><br />
<br />
<span style="color: #007800;">TRACKER_CODE</span>=<span style="color: #ff0000;">&quot;&lt;script type=&quot;</span>\<span style="color: #000000; font-weight: bold;">&amp;</span>quot;text<span style="color: #000000; font-weight: bold;">/</span>javascript\<span style="color: #000000; font-weight: bold;">&amp;</span>quot;<span style="color: #ff0000;">&quot;&gt;// &lt;![CDATA[<br />
&nbsp; &nbsp;var gaJsHost = ((<span style="color: #000099; font-weight: bold;">\&quot;</span>https:<span style="color: #000099; font-weight: bold;">\&quot;</span> == document.location.protocol) ? <span style="color: #000099; font-weight: bold;">\&quot;</span>https://ssl.<span style="color: #000099; font-weight: bold;">\&quot;</span> : <span style="color: #000099; font-weight: bold;">\&quot;</span>http://www.<span style="color: #000099; font-weight: bold;">\&quot;</span>); document.write(unescape(<span style="color: #000099; font-weight: bold;">\&quot;</span>%3Cscript src='<span style="color: #000099; font-weight: bold;">\&quot;</span> + gaJsHost + <span style="color: #000099; font-weight: bold;">\&quot;</span>google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E<span style="color: #000099; font-weight: bold;">\&quot;</span>));<br />
// ]]&gt;&lt;/script&gt;<br />
&lt;script type=&quot;</span>\<span style="color: #000000; font-weight: bold;">&amp;</span>quot;text<span style="color: #000000; font-weight: bold;">/</span>javascript\<span style="color: #000000; font-weight: bold;">&amp;</span>quot;<span style="color: #ff0000;">&quot;&gt;// &lt;![CDATA[<br />
&nbsp; &nbsp;var pageTracker = _gat._getTracker('<span style="color: #007800;">$TRACKER_ID</span>'); pageTracker._trackPageview();<br />
// ]]&gt;&lt;/script&gt;&quot;</span><br />
<br />
<span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">`</span><span style="color: #c20cb9; font-weight: bold;">dirname</span> <span style="color: #007800;">$0</span><span style="color: #000000; font-weight: bold;">`</span><br />
<span style="color: #c20cb9; font-weight: bold;">find</span> <span style="color: #660033;">-name</span> <span style="color: #ff0000;">'*.html.new'</span> <span style="color: #660033;">-delete</span><br />
<span style="color: #c20cb9; font-weight: bold;">find</span> <span style="color: #660033;">-name</span> <span style="color: #ff0000;">'*.html'</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">egrep</span> <span style="color: #660033;">-v</span> <span style="color: #660033;">--</span> <span style="color: #ff0000;">'-frame.html$'</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #000000; font-weight: bold;">while</span> <span style="color: #c20cb9; font-weight: bold;">read</span> <span style="color: #660033;">-r</span> TARGET; <span style="color: #000000; font-weight: bold;">do</span><br />
<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #c20cb9; font-weight: bold;">grep</span> <span style="color: #660033;">-qi</span> <span style="color: #ff0000;">&quot;<br />
continue;<br />
fi<br />
if grep -qi &quot;</span><span style="color: #007800;">$TRACKER_ID</span><span style="color: #ff0000;">&quot; &quot;</span><span style="color: #007800;">$TARGET</span><span style="color: #ff0000;">&quot;; then<br />
continue;<br />
fi<br />
<br />
echo &quot;</span>Injecting: <span style="color: #007800;">$TARGET</span><span style="color: #ff0000;">&quot;<br />
<br />
case <span style="color: #780078;">`grep -i '' &quot;$TARGET&quot; | wc -l`</span> in<br />
1)<br />
cat &quot;</span><span style="color: #007800;">$TARGET</span><span style="color: #ff0000;">&quot; | sed &quot;</span>s:\\<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000; font-weight: bold;">&amp;</span>lt;\\<span style="color: #000000; font-weight: bold;">/</span>BODY<span style="color: #000000; font-weight: bold;">&amp;</span>gt;\\<span style="color: #000000; font-weight: bold;">|&amp;</span>lt;\\<span style="color: #000000; font-weight: bold;">/</span>body<span style="color: #000000; font-weight: bold;">&amp;</span>gt;\\<span style="color: #7a0874; font-weight: bold;">&#41;</span>:<span style="color: #000000; font-weight: bold;">`</span><span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #007800;">$TRACKER_CODE</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">sed</span> <span style="color: #ff0000;">'s:;:\\\\;:g'</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">sed</span> <span style="color: #ff0000;">'s/:/\\\\:/g'</span><span style="color: #000000; font-weight: bold;">`</span>\\<span style="color: #000000;">1</span>:gi<span style="color: #ff0000;">&quot; &amp;gt; &quot;</span><span style="color: #007800;">$TARGET</span>.new<span style="color: #ff0000;">&quot;<br />
mv -f &quot;</span><span style="color: #007800;">$TARGET</span>.new<span style="color: #ff0000;">&quot; &quot;</span><span style="color: #007800;">$TARGET</span><span style="color: #ff0000;">&quot;<br />
;;<br />
*)<br />
{<br />
cat &quot;</span><span style="color: #007800;">$TARGET</span><span style="color: #ff0000;">&quot;<br />
echo &quot;</span><span style="color: #007800;">$TRACKER_CODE</span><span style="color: #ff0000;">&quot;<br />
} &amp;gt; &quot;</span><span style="color: #007800;">$TARGET</span>.new<span style="color: #ff0000;">&quot;<br />
mv -f &quot;</span><span style="color: #007800;">$TARGET</span>.new<span style="color: #ff0000;">&quot; &quot;</span><span style="color: #007800;">$TARGET</span><span style="color: #ff0000;">&quot;<br />
;;<br />
esac<br />
done</span></div></div>
<p><strong>Usage Tips</strong></p>
<ul>
<li>this will search and insert Google Analytics code for <strong>ALL .html files </strong>so if you are in the master directory with multiple websites below <strong>be careful. </strong></li>
<li>Set your filetype to unix if you are uploading this script  otherwise you will get errors</li>
<li>Be sure to put in your own analytics ID<strong><br />
</strong></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://fieldsmarshall.com/installing-analytics-on-a-large-website/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>8 Tips for Tracking With Google</title>
		<link>http://fieldsmarshall.com/8-tips-for-tracking-with-google/</link>
		<comments>http://fieldsmarshall.com/8-tips-for-tracking-with-google/#comments</comments>
		<pubDate>Wed, 26 Aug 2009 19:26:09 +0000</pubDate>
		<dc:creator>fields.marshall</dc:creator>
				<category><![CDATA[adwords]]></category>
		<category><![CDATA[techtips]]></category>
		<category><![CDATA[webtips]]></category>
		<category><![CDATA[tracking codes]]></category>
		<category><![CDATA[website optimzer]]></category>

		<guid isPermaLink="false">http://fieldsmarshall.com/?p=195</guid>
		<description><![CDATA[If you are tracking clickthrus, events, conversions using Google Analytics here are a few tips, ideas and hints for tracking and then later on improving your webpage using Google tools : analytics, adwords and Google website optimizer. New to Google Analytics is something called event tracking. Google events are slightly different than goals in Google [...]]]></description>
			<content:encoded><![CDATA[<p><img class="size-medium wp-image-211 alignleft" style="margin: 5px;" title="Click tracking" src="http://fieldsmarshall.com/wp-content/uploads/2009/08/22363859-300x239.gif" alt="Click tracking" width="300" height="239" /></p>
<p>If you are<strong> tracking clickthrus, events, conversions </strong>using Google Analytics here are a few tips, ideas and hints for tracking and then later on improving your webpage using Google tools : analytics, adwords and Google website optimizer.</p>
<p>New to Google Analytics is something called <strong>event tracking.</strong> Google events are slightly different than goals in Google analytics and while Google suggests that you track using events &#8211; I could find no easy way / interface to see which keyword is generating a desired event &#8211; like a click thru or a sale with events. This leaves  us with a  doing both tracking events and generating goals to have the best desired result.</p>
<ol>
<li>Here are <strong>some ideas for best practices</strong> for click tracking on an affiliate website.</li>
</ol>
<ol>
<li><strong>Install Jquery</strong> &#8211; this is easy to do ( 1 line of  lightweight javascript) . <strong>Why ? </strong>Because you can use jquery to track all similiarly named outgoing links. See how <a href="http://fieldsmarshall.com/wp-includes/js/jquery/jquery.js" target="_blank">tiny jquery</a> is by clicking here.</li>
<li><strong>Redirect / rename all affiliate link simliarly</strong> -  I am using a plugin called <a href="http://www.webmaster-source.com/gocodes-redirection-plugin-wordpress/" target="_blank">gocodes </a>- it seems pretty good and I am sure their are others. But the point is that you want to track every click thru and you want all the links you are tracking to look the same.  So you want all affiliate links to look  like /recommends/ or /go/ , etc. To be consistent but also because of the tracking code provided below and because of Tip number 3</li>
<li><strong>Setup goals for click thrus on Google Analytics</strong> &#8211; If you are following point number two above you can easily set a goal for all links that match  /recommends/.+ ,  /go/.+ or whatever syntax you use.
<div id="attachment_196" class="wp-caption alignnone" style="width: 574px"><a href="http://fieldsmarshall.com/wp-content/uploads/2009/08/Analytics-goals.png"><img class="size-full wp-image-196" title="Analytics-goals" src="http://fieldsmarshall.com/wp-content/uploads/2009/08/Analytics-goals.png" alt="analytics goals" width="564" height="358" /></a><p class="wp-caption-text">analytics goals</p></div>
<p>Even better if you can track both click thrus and goals but for right now &#8211; just do clickthru tracking -  An article to reference &#8212; <a href="http://analytics.blogspot.com/2009/05/how-to-setup-goals-in-google-analytics.html" target="_blank">http://analytics.blogspot.com/2009/05/how-to-setup-goals-in-google-analytics.html</a></li>
<li><strong>Install this tracking code to track all click </strong>that match  your syntax.
<div class="codecolorer-container javascript default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="javascript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">jQuery<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'a'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">click</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span><br />
<span style="color: #003366; font-weight: bold;">var</span> $a<span style="color: #339933;">=</span>jQuery<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #003366; font-weight: bold;">var</span> href<span style="color: #339933;">=</span>$a.<span style="color: #660066;">attr</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'href'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>href.<span style="color: #660066;">match</span><span style="color: #009900;">&#40;</span><span style="color: #009966; font-style: italic;">/go\//</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><br />
<span style="color: #009900;">&#123;</span><span style="color: #003366; font-weight: bold;">var</span> category<span style="color: #339933;">=</span><span style="color: #3366CC;">'outgoing'</span><span style="color: #339933;">;</span><br />
<span style="color: #003366; font-weight: bold;">var</span> event<span style="color: #339933;">=</span><span style="color: #3366CC;">'click'</span><span style="color: #339933;">;</span><br />
<span style="color: #003366; font-weight: bold;">var</span> label<span style="color: #339933;">=</span>href<span style="color: #339933;">;</span><br />
pageTracker._trackPageview<span style="color: #009900;">&#40;</span>href<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
pageTracker._trackEvent<span style="color: #009900;">&#40;</span>category<span style="color: #339933;">,</span>event<span style="color: #339933;">,</span>label<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><span style="color: #009900;">&#125;</span><span style="color: #009900;">&#125;</span><br />
<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></div>
<p>This kind of tracking code matches all outgoing links with the keyword /recommends/ and will generate a goal proivded you did the previous steps for 2 and 3. To change this syntax to another naming convention is easy enough. This code also generates both a goal and an event in analytics.<br />
Thanks to  these contributers listed- for this idea &#8212; <a href="http://blog.rebeccamurphey.com/2008/12/04/update-tracking-outbound-clicks-with-google-analytics-and-jquery/" target="_blank">rebeccamurphey</a> , <a href="http://think2loud.com/use-jquery-with-google-analytics-to-track-clicks-on-outgoing-links-from-your-site/" target="_blank">think2loud</a> and <a href="http://css-tricks.com/track-outgoing-clicks-in-google-analytics-with-jquery/" target="_blank">css-tricks<br />
</a>If this is too complicated then manually insert page tracking &#8211;<a href="http://www.johncow.com/google-analytics-creating-goals/" target="_blank"> http://www.johncow.com/google-analytics-creating-goals/ </a></li>
<li>To track <strong>conversions in adwords</strong> or to assign conversions to click thrus you could just click add this code snippet below
<div class="codecolorer-container javascript default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="javascript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #003366; font-weight: bold;">var</span> image <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">new</span> Image<span style="color: #009900;">&#40;</span><span style="color: #CC0000;">1</span><span style="color: #339933;">,</span><span style="color: #CC0000;">1</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
image.<span style="color: #660066;">src</span> <span style="color: #339933;">=</span> <span style="color: #3366CC;">&quot;http://www.googleadservices.com/pagead/conversion/XXXXXXX/?value=1&amp;amp;label=Purchase&amp;amp;script=0&quot;</span><span style="color: #339933;">;</span></div></div>
<p>This just initiates an image pixel so that a conversion in adwords is generated.</p>
<p>So now you have tracking for goals, events and possibly adwords conversion events setup for your website done easily provided that you name , cloak and redirect your links in all the same fashion</li>
<li>Now if you want to try and <strong>improve your webpage </strong>- you might try this -<a href="http://www.google.com/support/websiteoptimizer/bin/answer.py?hl=en&amp;answer=93181" target="_blank"> Counting a conversion when a link is clicked with website optimizer</a> Here is the essential code
<div class="codecolorer-container javascript default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="javascript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #339933;">&lt;!--</span> <span style="color: #003366; font-weight: bold;">function</span> ConversionCount<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> _uacct <span style="color: #339933;">=</span> <span style="color: #3366CC;">'UA-xxxxx-x'</span><span style="color: #339933;">;</span> urchinTracker<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;/yyyyyyyyyy/goal&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000066; font-weight: bold;">return</span> <span style="color: #003366; font-weight: bold;">true</span><span style="color: #339933;">;</span> <span style="color: #009900;">&#125;</span> <span style="color: #006600; font-style: italic;">// --&gt;&lt;a onclick=&quot;return ConversionCount();&quot; href=&quot;http://www.example.com/file.pdf&quot;&gt;Download the file&lt;/a&gt;</span></div></div>
</li>
<li>If you are looking to improve , <strong>decrease page bounce rates</strong> &#8211; then you might try optimizing pages using webiste optimizer for a version that keeps people on your website longer &#8212; Here are the details &#8211; <a href="http://www.google.com/support/websiteoptimizer/bin/answer.py?hl=en&amp;answer=74345" target="_blank">http://www.google.com/support/websiteoptimizer/bin/answer.py?hl=en&amp;answer=74345</a></li>
<li> <strong>Stuck with how to setup a landing page </strong>? Here is a<a href="http://www.jimyaghi.com/capture_generator/" target="_blank"> simple optin idea for lead pages &#8211; landing page generator </a>- very simple but you get the idea here or <strong>even better</strong> monitor adwords campaigns that are working with a tool like <a href="/go/traffictravis/" target="_blank">traffic travis.</a></li>
</ol>
<p>By implementing these tips you should be able to <strong>track and improve your webpage&#8217;s effectiveness </strong>with Google tracking tools.  <strong>Leave a comment </strong>below if this helps you!</p>
]]></content:encoded>
			<wfw:commentRss>http://fieldsmarshall.com/8-tips-for-tracking-with-google/feed/</wfw:commentRss>
		<slash:comments>20</slash:comments>
		</item>
		<item>
		<title>All You Ever Need To Know About SEO</title>
		<link>http://fieldsmarshall.com/all-you-ever-need-to-know-about-seo/</link>
		<comments>http://fieldsmarshall.com/all-you-ever-need-to-know-about-seo/#comments</comments>
		<pubDate>Wed, 22 Jul 2009 03:01:37 +0000</pubDate>
		<dc:creator>fields.marshall</dc:creator>
				<category><![CDATA[optimization]]></category>
		<category><![CDATA[seo]]></category>
		<category><![CDATA[techtips]]></category>
		<category><![CDATA[webtips]]></category>

		<guid isPermaLink="false">http://fieldsmarshall.com/?p=190</guid>
		<description><![CDATA[Finally its all here from Google&#8217;s Mouth &#8211; http://googlewebmastercentral.blogspot.com/2008/11/googles-seo-starter-guide.html Or just download it here .. Great info but I didnt see any mention of having W3C valid HTML which is one additional thing to consider. search-engine-optimization-starter-guide]]></description>
			<content:encoded><![CDATA[<p>Finally its all here from Google&#8217;s Mouth &#8211; </p>
<p><a href="http://googlewebmastercentral.blogspot.com/2008/11/googles-seo-starter-guide.html"> http://googlewebmastercentral.blogspot.com/2008/11/googles-seo-starter-guide.html</a></p>
<p>Or just download it here ..  Great info but I didnt see any mention of having W3C valid HTML which is one additional thing to consider.</p>
<p><a href='http://fieldsmarshall.com/wp-content/uploads/2009/07/search-engine-optimization-starter-guide.pdf'>search-engine-optimization-starter-guide</a></p>
]]></content:encoded>
			<wfw:commentRss>http://fieldsmarshall.com/all-you-ever-need-to-know-about-seo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To Rsync Between Two Webhosts in Three Easy Steps</title>
		<link>http://fieldsmarshall.com/how-to-rsync-between-two-webhost-in-three-easy-steps/</link>
		<comments>http://fieldsmarshall.com/how-to-rsync-between-two-webhost-in-three-easy-steps/#comments</comments>
		<pubDate>Tue, 24 Mar 2009 17:31:03 +0000</pubDate>
		<dc:creator>fields.marshall</dc:creator>
				<category><![CDATA[techtips]]></category>
		<category><![CDATA[webtips]]></category>

		<guid isPermaLink="false">http://fieldsmarshall.com/?p=150</guid>
		<description><![CDATA[If you have webhosting contracts with two different companies you can backup data by passing it back and forth on a regular schedule using Rsync. It requires a bit more work initially but then you put this backup on a automated regular interval (cron job) Here is How to Setup Rsync in Three Easy Steps. [...]]]></description>
			<content:encoded><![CDATA[<p>If you have webhosting contracts with two different companies you can backup data by passing it back and forth on a regular schedule using Rsync. </p>
<p>It requires a bit more work initially but then you put this backup on a automated regular interval (cron job)</p>
<p>Here is<strong> How to Setup Rsync in Three Easy Steps.</strong></p>
<ol>
<li> <strong>Login with ssh to your webhost</strong> and type in <strong><em>ssh-keygen -t rsa</em> </strong> Hit return twice. You should see &#8211; Your identification has been saved in xxxx</li>
<li> <strong>Send the Authentication file</strong> <code> rsync  --progress "/home/name/.ssh/id_rsa.pub" username@serverspace.com:/home/name/.ssh/authorized_keys</li>
<li> <strong>Repeat step two again</strong> - now if you a have setup this up correctly Rysnc will only ask for the password once </li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://fieldsmarshall.com/how-to-rsync-between-two-webhost-in-three-easy-steps/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>5 Simple Strategies To Quickly Backup WordPress Blogs</title>
		<link>http://fieldsmarshall.com/5-simple-strategies-to-quickly-backup-wordpress-blogs/</link>
		<comments>http://fieldsmarshall.com/5-simple-strategies-to-quickly-backup-wordpress-blogs/#comments</comments>
		<pubDate>Fri, 20 Mar 2009 16:14:56 +0000</pubDate>
		<dc:creator>fields.marshall</dc:creator>
				<category><![CDATA[adwords]]></category>
		<category><![CDATA[techtips]]></category>
		<category><![CDATA[webtips]]></category>

		<guid isPermaLink="false">http://fieldsmarshall.com/?p=143</guid>
		<description><![CDATA[As mentioned in a recent post, I had several blogs that were infected with HTML Iframe virus. I really not sure how it happened but it reinforces the point that you NEED A BACKUP STRATEGY if you work / make your living online. Here are Five Simple Things you can do to backup your WordPress [...]]]></description>
			<content:encoded><![CDATA[<p>As mentioned in a recent post, I had several blogs that were infected with HTML Iframe virus. I really not sure how it happened but it reinforces the point that you <strong>NEED A BACKUP STRATEGY</strong> if you work / make your living online. </p>
<p><img src="http://fieldsmarshall.com/wp-content/uploads/2009/03/backup-tips.jpg" alt="Secure Data Backup" title="Secure Data Backup" width="425" height="282" class="alignnone size-full wp-image-144" /></p>
<p>Here are <strong>Five Simple Things</strong> you can do to backup your WordPress blogs </p>
<p>1) <strong>Install WP &#8211; Database backup plugin</strong>. They are always improving this so its<strong> Highly Recommended</strong>. A must for a wordpress blog. &#8211;> <a href="http://www.ilfilosofo.com/blog/wp-db-backup">Download WP- database backup plugin here</a></p>
<p>2) <strong>Use a database backup script </strong>- You want to use this one &#8211;> <a href="http://sourceforge.net/projects/automysqlbackup/">http://sourceforge.net/projects/automysqlbackup/</a></p>
<p>3) Once a monthly do a <strong>complete Cpanel backup</strong> &#8211;  It looks something like this.</p>
<p>4) Once you download that Cpanel backup &#8211; <strong>Install a service like Mozy.com to backup your cpanel backup</strong>. Its a bit redundant but Mozy is a great service and cheaper that Amazon S3 for me as I have backed up 42 Gigs for $5 / month.</p>
<p>5) This may not be as simple but if you have two hosting accounts &#8211; you can <strong>rsync the data to another machine</strong> (including the output from number two above Automysqlbackup.)  See related posts below for information on how to backup with rsync.</p>
<p>This may sound like overkill but you&#8217;ll sleep better knowing that you have a backup strategy for your digital life. Without a backup plan you could<strong> EASILY lose MONTHS OF WORK!!<br />
</strong><br />
Any other suggestions ? </p>
]]></content:encoded>
			<wfw:commentRss>http://fieldsmarshall.com/5-simple-strategies-to-quickly-backup-wordpress-blogs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HTML:Iframe-inf wordpress Infection</title>
		<link>http://fieldsmarshall.com/htmliframe-inf-wordpress-infection/</link>
		<comments>http://fieldsmarshall.com/htmliframe-inf-wordpress-infection/#comments</comments>
		<pubDate>Mon, 02 Mar 2009 21:19:36 +0000</pubDate>
		<dc:creator>fields.marshall</dc:creator>
				<category><![CDATA[techtips]]></category>
		<category><![CDATA[webtips]]></category>

		<guid isPermaLink="false">http://fieldsmarshall.com/?p=133</guid>
		<description><![CDATA[If your blog has been infected by the HTML:Iframe-inf  infection according to avast here are two scripts that can help you. First What is the HTML:Iframe infection? &#8211; Its just a line of text that is inserted at the end of every index.php and/or index.htm in your website. Nothing to freak out about but you [...]]]></description>
			<content:encoded><![CDATA[<p>If your blog has been infected by the HTML:Iframe-inf  infection according to avast here are two scripts that can help you.</p>
<p>First <strong>What is the HTML:Iframe infection? </strong> &#8211; Its just a line of text that is inserted at the end of every index.php and/or index.htm in your website. Nothing to freak out about but you want to fix it. And Its probably due to wordpress not being secure.</p>
<p>Anyways, here is what you do :   This is something you run on the commmand line &#8211; See the video below for an idea.</p>
<h2><strong>You will need to find infected files first.<br />
</strong></h2>
<pre>find / -type f | xargs grep -l '&lt;iframe'  2&gt;/dev/null

or you could print out a list of files possibly comprimised. 

by typing 

find / -type f | xargs grep -l '&lt;iframe'  2&gt;/dev/null &gt;infectedFileslist.txt</pre>
<p>The first step is figuring out what is going on with your virus infection.</p>
<p>If you know the time frame of when the virus ran then you could narrow the list of infected files even more by tweaking the find command.</p>
<p>Lets say you know it infected your website about 5 days ago.</p>
<p>Then you would modify the find command to search all files modified less than 10 days ago.</p>
<pre>find / -type f -mtime -10 | xargs grep -l '&lt;iframe'  2&gt;/dev/null &gt;infectedFileslist.txt</pre>
<p>More info on the find command here</p>
<pre><a href="http://" target="_blank">http://content.hccfl.edu/pollock/Unix/FindCmd.htm </a></pre>
<pre class="Indent">my short version
find . -mtime +5 -mtime -10 # find files modifed between 5 and 10 days ago

Ok so now you have a list of infected files ... This is <strong>VERY HELPFUL as </strong>you are halfway there to cleaning up your server.</pre>
<h2><strong>Remove infected text</strong></h2>
<pre>find / -type f -mtime -10 | xargs grep -l '&lt;iframe'| xargs perl -pi -e 's/^.*\&lt;iframe.*$/ /g'

Here is an explanation of what the script does line by line so you can adjust per your situation.

find / -type f -mtime -10  - looks all files that were modified in the last 10 days ( you adjust as needed)
xargs grep -l '&lt;iframe' - of  that list of files modified recently look for a line that says &lt;iframe
xargs perl -pi -e 's/^.*\&lt;iframe.*$/ /g'   - search and replace that line with a blank space

Understanding this last line - <strong>perl -pi -e</strong> is important -- <a href="http://www.linux.org/lessons/short/perlpie/perl_pie.html" target="_blank">http://www.linux.org/lessons/short/perlpie/perl_pie.html </a> 

You want to be sure that you know whats going on there because this is where the search and the replace happens -

Check out this article -- <a href="http://www.linux.org/lessons/short/perlpie/perl_pie.html" target="_blank">http://www.linux.org/lessons/short/perlpie/perl_pie.html </a> 

You can modify the script line by line to</pre>
<p>Here is a video explaining this:[youtube]http://www.youtube.com/watch?v=HXzLgY2f01U[/youtube]</p>
<p>Leave me a comment if this helps you !</p>
<h2>What you can do afterwards to prevent more virus attacks</h2>
<ul>
<li>Find a webhost that will help you restore instead of going through all this fixing</li>
<li>Secure your wordpress installation &#8211; google wp security wordpress plugin</li>
<li>Check out this plugin to monitor your system- <a href="http://mattwalters.net/projects/wordpress-file-monitor/" target="_blank">http://mattwalters.net/projects/wordpress-file-monitor/<br />
</a></li>
<li>Remove unused themes</li>
<li>Update wordpress</li>
<li>Stop Badware &#8211; <a href="http://www.stopbadware.org/home/security" target="_blank">http://www.stopbadware.org/home/security</a></li>
<li>Update and remove unknown and unpopular plugins</li>
</ul>
<p>&nbsp;</p>
<h2>Update April 12 , 2011.</h2>
<p> The free version of Avast has been generating false positives with this HTML-inf infection.  I have just turned mine of for a few days and I hope they fix the problem. Traffic has spiked to this website for this term so its not just me !<br />
On another note &#8212; if you do really have this infection &#8211; you will need to clean and secure your website &#8212; Maybe hire someone on scriptlance, rent a coder or elance might be your best bet as it can be technically intimidating.</p>
]]></content:encoded>
			<wfw:commentRss>http://fieldsmarshall.com/htmliframe-inf-wordpress-infection/feed/</wfw:commentRss>
		<slash:comments>28</slash:comments>
		</item>
		<item>
		<title>3 ways to do direct linking to a clickbank checkout page</title>
		<link>http://fieldsmarshall.com/3-ways-to-do-direct-linking-to-a-clickbank-checkout-page/</link>
		<comments>http://fieldsmarshall.com/3-ways-to-do-direct-linking-to-a-clickbank-checkout-page/#comments</comments>
		<pubDate>Fri, 02 Jan 2009 16:33:15 +0000</pubDate>
		<dc:creator>fields.marshall</dc:creator>
				<category><![CDATA[ppc]]></category>
		<category><![CDATA[seo]]></category>
		<category><![CDATA[techtips]]></category>
		<category><![CDATA[webtips]]></category>

		<guid isPermaLink="false">http://fieldsmarshall.com/?p=121</guid>
		<description><![CDATA[how to directly link to the order page clickbank http://www.netprofitstoday.com/blog/video-how-to-link-directly-to-a-clickbank-product-order-page/ Some nice tools per setting cookies when visitors land on your page http://smugmarketing.com/tools/cookie.html http://tools.marketingbully.com/covert-cookie/]]></description>
			<content:encoded><![CDATA[<p><strong> how to directly link to the order page clickbank</strong></p>
<p><a href="http://www.netprofitstoday.com/blog/video-how-to-link-directly-to-a-clickbank-product-order-page/"> http://www.netprofitstoday.com/blog/video-how-to-link-directly-to-a-clickbank-product-order-page/</a></p>
<p>Some nice tools per setting cookies when visitors land on your page</p>
<p><a href="http://smugmarketing.com/tools/cookie.html" target="_blank">http://smugmarketing.com/tools/cookie.html</a></p>
<p><a href="http://tools.marketingbully.com/covert-cookie/" target="_blank">http://tools.marketingbully.com/covert-cookie/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://fieldsmarshall.com/3-ways-to-do-direct-linking-to-a-clickbank-checkout-page/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>How To Count Inodes For Each Directory</title>
		<link>http://fieldsmarshall.com/how-to-count-inodes-for-each-directory/</link>
		<comments>http://fieldsmarshall.com/how-to-count-inodes-for-each-directory/#comments</comments>
		<pubDate>Thu, 01 Jan 2009 02:53:45 +0000</pubDate>
		<dc:creator>fields.marshall</dc:creator>
				<category><![CDATA[techtips]]></category>
		<category><![CDATA[webtips]]></category>

		<guid isPermaLink="false">http://fieldsmarshall.com/?p=118</guid>
		<description><![CDATA[Hostgator whom this website is hosted with limits you to 50,00o inodes per account.  So it not unlimited as they claim but nonetheless its pretty good hosting .. Here is a script that I wrote which helps you count each inodes in a directory #!/bin/bash # count inodes for each directory LIST=`ls` for i in [...]]]></description>
			<content:encoded><![CDATA[<p>Hostgator whom this website is hosted with limits you to 50,00o inodes per account.  So it not unlimited as they claim but nonetheless its pretty good hosting ..</p>
<p>Here is a script that I wrote which helps you count each inodes in a directory</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">#!/bin/bash<br />
# count inodes for each directory<br />
LIST=`ls`<br />
for i in $LIST; do<br />
echo $i<br />
find $i -printf &quot;%i\n&quot; | sort -u | wc -l<br />
done</div></div>
<p>Also this line seems good for figuring out which directory is using up the most space</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">du -ks ./* | sort -n</div></div>
]]></content:encoded>
			<wfw:commentRss>http://fieldsmarshall.com/how-to-count-inodes-for-each-directory/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Writing For Websites</title>
		<link>http://fieldsmarshall.com/writing-for-websites/</link>
		<comments>http://fieldsmarshall.com/writing-for-websites/#comments</comments>
		<pubDate>Wed, 06 Aug 2008 15:11:13 +0000</pubDate>
		<dc:creator>fields.marshall</dc:creator>
				<category><![CDATA[webtips]]></category>

		<guid isPermaLink="false">http://fieldsmarshall.com/?p=104</guid>
		<description><![CDATA[Users on the web dont read &#8211; they skim &#8230; So here is what you need to do. Get to the point Use highlighted text Emphasize important things Read this article &#8211; http://www.useit.com/alertbox/9710a.html Use objective neutral language On a somewhat related note here is a website that my friend roman reffered to me and that [...]]]></description>
			<content:encoded><![CDATA[<p>Users on the web dont read &#8211; they skim &#8230;</p>
<p>So here is what you need to do.</p>
<ul>
<li>Get to the point</li>
<li>Use highlighted text</li>
<li><strong>Emphasize important things</strong></li>
<li>Read this article &#8211; <a href="http://www.useit.com/alertbox/9710a.html">http://www.useit.com/alertbox/9710a.html</a></li>
<li>Use objective neutral language</li>
</ul>
<p>On a somewhat related note here is a website that my friend roman reffered to me and that I am experimienting while for article writing.  &#8211; http://www.textbroker.com</p>
<p>Where should I submit well written articles. I myself will be focusing on ezinearticles and <a href="http://affsphere.com">affsphere.com.</a></p>
<p>Affsphere looks promising as an affiliate friendly and editor reviewed articles marketing directory. Affsphere like squidoo has revenue sharing. Check them out.</p>
]]></content:encoded>
			<wfw:commentRss>http://fieldsmarshall.com/writing-for-websites/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

