<?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>SEOjeff &#124; Jeffrey Nichols &#187; w3c</title>
	<atom:link href="http://seojeff.com/category/w3c/feed/" rel="self" type="application/rss+xml" />
	<link>http://seojeff.com</link>
	<description>SEO/SEM Tips for Internet Professionals</description>
	<lastBuildDate>Wed, 01 Feb 2012 13:13:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>How to get the new AdWords conversion tracking code to validate</title>
		<link>http://seojeff.com/2008/04/14/how-to-get-the-new-adwords-conversion-tracking-code-to-validate/</link>
		<comments>http://seojeff.com/2008/04/14/how-to-get-the-new-adwords-conversion-tracking-code-to-validate/#comments</comments>
		<pubDate>Mon, 14 Apr 2008 15:01:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[AdWords]]></category>
		<category><![CDATA[tools]]></category>
		<category><![CDATA[w3c]]></category>
		<category><![CDATA[google]]></category>

		<guid isPermaLink="false">http://seojeff.com/?p=16</guid>
		<description><![CDATA[Google has recently updated the code snippet used to track conversions for AdWords. As of this writing the code in it&#8217;s native format will kick back a few errors when attempting to W3C validate. Here is how to fix those errors without breaking the code. Here is the code in it&#8217;s original format. &#60;!-- Google [...]]]></description>
			<content:encoded><![CDATA[<p>Google has recently updated the code snippet used to track conversions for AdWords. As of this writing the code in it&#8217;s native format will kick back a few errors when attempting to <a href="http://validator.w3.org/" target="_blank">W3C</a> validate. Here is how to fix those errors without breaking the code.</p>
<p><strong>Here is the code in it&#8217;s original format.</strong></p>
<blockquote><pre><code>&lt;!-- Google Code for Lead Conversion Page --&gt;
&lt;script language="JavaScript" type="text/javascript"&gt;
&lt;!--
var google_conversion_id = XXXXXXXXXX;
var google_conversion_language = "en_US";
var google_conversion_format = "X";
var google_conversion_color = "ffffff";
var google_conversion_label = "your_label";
//--&gt;
&lt;/script&gt;
&lt;script language="JavaScript" src="http://www.googleadservices.com/pagead/conversion.js"&gt;
&lt;/script&gt;
&lt;noscript&gt;
&lt;img height="1" width="1" border="0" src="http://www.googleadservices.com/pagead/conversion/XXXXXXXXXX/?label=lead&amp;amp;script=0"&gt;
&lt;/noscript&gt;</code></pre>
</blockquote>
<p><strong>Here is the updated code which will now validate.</strong> I have highlighted the pieces that have changed. Please note that your entries for the id, language, format, color and label will be different.</p>
<blockquote><pre><code>&lt;!-- Google Code for Lead Conversion Page --&gt;
&lt;script language="JavaScript" type="text/javascript"&gt;
&lt;!--
var google_conversion_id = XXXXXXXXXX;
var google_conversion_language = "en_US";
var google_conversion_format = "X";
var google_conversion_color = "ffffff";
var google_conversion_label = "your_label";
//--&gt;
&lt;/script&gt;
&lt;script language="JavaScript" <span style="color:#FF0000">type="text/javascript"</span> src="http://www.googleadservices.com/pagead/conversion.js"&gt;
&lt;/script&gt;
&lt;noscript&gt;
&lt;img height="1" width="1" border="0" src="http://www.googleadservices.com/pagead/conversion/XXXXXXXXXX/?label=lead&amp;amp;script=0" <span style="color:#FF0000">alt="" /&gt;</span>
&lt;/noscript&gt;</code></pre>
</blockquote>
<p><strong>Please note: this applies to XHTML Transitional doctype written in utf-8 encoding. You may also <a href="http://seojeff.com/docs/adwords_conversion_code.txt">download this post</a> as a plain text file for easy copy &amp; pasting.</strong></p>
<p><strong>Enjoy!</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://seojeff.com/2008/04/14/how-to-get-the-new-adwords-conversion-tracking-code-to-validate/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

