<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: How to track customer phone calls generated through Adwords</title>
	<atom:link href="http://believedesign.net/php/how-to-track-customer-phone-calls-generated-through-adwords/feed" rel="self" type="application/rss+xml" />
	<link>http://believedesign.net/php/how-to-track-customer-phone-calls-generated-through-adwords</link>
	<description>Design &#38; development articles: CSS, XHTML, DHTML, AJAX, JavaScript, PHP, MYSQL</description>
	<pubDate>Thu, 09 Sep 2010 03:21:09 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: rob</title>
		<link>http://believedesign.net/php/how-to-track-customer-phone-calls-generated-through-adwords#comment-334</link>
		<dc:creator>rob</dc:creator>
		<pubDate>Thu, 22 Jul 2010 09:07:58 +0000</pubDate>
		<guid isPermaLink="false">http://believedesign.net/?p=25#comment-334</guid>
		<description>Good point Nick - I've added in the errant apostrophe now.  It should work with that in place - let me know what further problems you are seeing if it doesn't.</description>
		<content:encoded><![CDATA[<p>Good point Nick - I&#8217;ve added in the errant apostrophe now.  It should work with that in place - let me know what further problems you are seeing if it doesn&#8217;t.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick</title>
		<link>http://believedesign.net/php/how-to-track-customer-phone-calls-generated-through-adwords#comment-333</link>
		<dc:creator>Nick</dc:creator>
		<pubDate>Fri, 16 Jul 2010 03:11:15 +0000</pubDate>
		<guid isPermaLink="false">http://believedesign.net/?p=25#comment-333</guid>
		<description>This is a great post, but I'm not having any luck getting this to work for me.  In the second code snippet, I noticed that there is no closing ' in $_COOKIE['Believe_Adwords].

I added the ' and it still didn't work for me anyways.  I'll keep plugging away at it.</description>
		<content:encoded><![CDATA[<p>This is a great post, but I&#8217;m not having any luck getting this to work for me.  In the second code snippet, I noticed that there is no closing &#8216; in $_COOKIE['Believe_Adwords].</p>
<p>I added the &#8216; and it still didn&#8217;t work for me anyways.  I&#8217;ll keep plugging away at it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Admin</title>
		<link>http://believedesign.net/php/how-to-track-customer-phone-calls-generated-through-adwords#comment-282</link>
		<dc:creator>Admin</dc:creator>
		<pubDate>Tue, 20 Oct 2009 06:50:44 +0000</pubDate>
		<guid isPermaLink="false">http://believedesign.net/?p=25#comment-282</guid>
		<description>if (isset($_COOKIE['Believe_Yahoo])) echo “555-0968-5566“; // no. for Yahoo visitors

    else echo “555-8979-4567“; // no. for everyone else</description>
		<content:encoded><![CDATA[<p>if (isset($_COOKIE['Believe_Yahoo])) echo “555-0968-5566“; // no. for Yahoo visitors</p>
<p>    else echo “555-8979-4567“; // no. for everyone else</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Admin</title>
		<link>http://believedesign.net/php/how-to-track-customer-phone-calls-generated-through-adwords#comment-281</link>
		<dc:creator>Admin</dc:creator>
		<pubDate>Tue, 20 Oct 2009 06:49:58 +0000</pubDate>
		<guid isPermaLink="false">http://believedesign.net/?p=25#comment-281</guid>
		<description>For your error, it's not really possible to work out what the issue is without seeing your code - if line 83 doesn't have a problem on it, check out the lines of PHP before this line for any missing " ' ; , or } !

For tracking yahoo, you can use the same approach - I've never advertised with Yahoo but I guess that when someone clicks through on an ad in Yahoo, they will add something to the URL just like Google add "?gclid="

For the purposes of dem:oing, lets say they add ?yclid=

if ($_GET['yclid']) {

$expire=time()+60*60*8;
setcookie(”Believe_Yahoo”, $_GET['yclid'], $expire);

}


and then 

    </description>
		<content:encoded><![CDATA[<p>For your error, it&#8217;s not really possible to work out what the issue is without seeing your code - if line 83 doesn&#8217;t have a problem on it, check out the lines of PHP before this line for any missing &#8221; &#8216; ; , or } !</p>
<p>For tracking yahoo, you can use the same approach - I&#8217;ve never advertised with Yahoo but I guess that when someone clicks through on an ad in Yahoo, they will add something to the URL just like Google add &#8220;?gclid=&#8221;</p>
<p>For the purposes of dem:oing, lets say they add ?yclid=</p>
<p>if ($_GET['yclid']) {</p>
<p>$expire=time()+60*60*8;<br />
setcookie(”Believe_Yahoo”, $_GET['yclid'], $expire);</p>
<p>}</p>
<p>and then</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ray</title>
		<link>http://believedesign.net/php/how-to-track-customer-phone-calls-generated-through-adwords#comment-276</link>
		<dc:creator>Ray</dc:creator>
		<pubDate>Mon, 05 Oct 2009 16:33:28 +0000</pubDate>
		<guid isPermaLink="false">http://believedesign.net/?p=25#comment-276</guid>
		<description>I've tried to  implement the above code and I am getting the following error. Cany suggestions. Thank you in advance.

Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /services9/webpages/l/o/lonestarreversemortgage.com/public/thankyou.php on line 83</description>
		<content:encoded><![CDATA[<p>I&#8217;ve tried to  implement the above code and I am getting the following error. Cany suggestions. Thank you in advance.</p>
<p>Parse error: syntax error, unexpected T_STRING, expecting &#8216;,&#8217; or &#8216;;&#8217; in /services9/webpages/l/o/lonestarreversemortgage.com/public/thankyou.php on line 83</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ray@corpmark.net</title>
		<link>http://believedesign.net/php/how-to-track-customer-phone-calls-generated-through-adwords#comment-275</link>
		<dc:creator>ray@corpmark.net</dc:creator>
		<pubDate>Fri, 02 Oct 2009 13:51:41 +0000</pubDate>
		<guid isPermaLink="false">http://believedesign.net/?p=25#comment-275</guid>
		<description>Tracking phone responses from Google Adwords is extremly helpful in determining how to focus your pay per click campaigns. I am wonder if there is a way to do the same thing in Yahoo. I there a code or cookie available for Yahoo?</description>
		<content:encoded><![CDATA[<p>Tracking phone responses from Google Adwords is extremly helpful in determining how to focus your pay per click campaigns. I am wonder if there is a way to do the same thing in Yahoo. I there a code or cookie available for Yahoo?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Admin</title>
		<link>http://believedesign.net/php/how-to-track-customer-phone-calls-generated-through-adwords#comment-270</link>
		<dc:creator>Admin</dc:creator>
		<pubDate>Thu, 10 Sep 2009 16:46:55 +0000</pubDate>
		<guid isPermaLink="false">http://believedesign.net/?p=25#comment-270</guid>
		<description>Hey Adam,

As long as the cookie is being set before your call to display the phone number, then it should display the correct one immediately.

Is this the case?

Otherwise you could try posting your code up here, so I can take a look?

Rob</description>
		<content:encoded><![CDATA[<p>Hey Adam,</p>
<p>As long as the cookie is being set before your call to display the phone number, then it should display the correct one immediately.</p>
<p>Is this the case?</p>
<p>Otherwise you could try posting your code up here, so I can take a look?</p>
<p>Rob</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adam</title>
		<link>http://believedesign.net/php/how-to-track-customer-phone-calls-generated-through-adwords#comment-269</link>
		<dc:creator>Adam</dc:creator>
		<pubDate>Tue, 01 Sep 2009 05:33:24 +0000</pubDate>
		<guid isPermaLink="false">http://believedesign.net/?p=25#comment-269</guid>
		<description>If I put the cookie on the landing page I have to refresh the page to see the changes made by the cookie on the page? Am I doing something wrong?</description>
		<content:encoded><![CDATA[<p>If I put the cookie on the landing page I have to refresh the page to see the changes made by the cookie on the page? Am I doing something wrong?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: PHP Newbie</title>
		<link>http://believedesign.net/php/how-to-track-customer-phone-calls-generated-through-adwords#comment-264</link>
		<dc:creator>PHP Newbie</dc:creator>
		<pubDate>Thu, 30 Jul 2009 05:21:09 +0000</pubDate>
		<guid isPermaLink="false">http://believedesign.net/?p=25#comment-264</guid>
		<description>I've tried your php phone number cookie however when you navigate to another page on the site the original (non-google) number seems to be displayed. Do you have a work around for this problem?

I've taken it a step further and used it in a php include which displays the number in my sidebar navigation sitewide. Maybe this is the problem?

Otherwise it works fine if you stay on that first landing page.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve tried your php phone number cookie however when you navigate to another page on the site the original (non-google) number seems to be displayed. Do you have a work around for this problem?</p>
<p>I&#8217;ve taken it a step further and used it in a php include which displays the number in my sidebar navigation sitewide. Maybe this is the problem?</p>
<p>Otherwise it works fine if you stay on that first landing page.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: I see clicks in Adwords but they don&#8217;t show in Analytics &#124; Web &#124; Believe Design - anything is possible...</title>
		<link>http://believedesign.net/php/how-to-track-customer-phone-calls-generated-through-adwords#comment-234</link>
		<dc:creator>I see clicks in Adwords but they don&#8217;t show in Analytics &#124; Web &#124; Believe Design - anything is possible...</dc:creator>
		<pubDate>Tue, 21 Apr 2009 12:23:28 +0000</pubDate>
		<guid isPermaLink="false">http://believedesign.net/?p=25#comment-234</guid>
		<description>[...] If you are using Google Adwords to advertise and generate traffic to your website, then you ought to be using Google Analytics to track this traffic (and more importantly, how this traffic converts in to leads/sales so that you know how cost-effective your Adwords spend is - for example, how to track phone calls generated by Adwords) [...]</description>
		<content:encoded><![CDATA[<p>[...] If you are using Google Adwords to advertise and generate traffic to your website, then you ought to be using Google Analytics to track this traffic (and more importantly, how this traffic converts in to leads/sales so that you know how cost-effective your Adwords spend is - for example, how to track phone calls generated by Adwords) [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
