<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: UPDATED: Integrating Google Analytics with a CRM</title>
	<atom:link href="http://cutroni.com/blog/2009/03/18/updated-integrating-google-analytics-with-a-crm/feed/" rel="self" type="application/rss+xml" />
	<link>http://cutroni.com/blog/2009/03/18/updated-integrating-google-analytics-with-a-crm/</link>
	<description></description>
	<lastBuildDate>Fri, 25 Jun 2010 14:53:55 -0400</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: ‘Roll Your Own’ Phone Call Tracking Program – It Is Easy!&#160;&#124;&#160;John R. Live</title>
		<link>http://cutroni.com/blog/2009/03/18/updated-integrating-google-analytics-with-a-crm/comment-page-1/#comment-2306</link>
		<dc:creator>‘Roll Your Own’ Phone Call Tracking Program – It Is Easy!&#160;&#124;&#160;John R. Live</dc:creator>
		<pubDate>Wed, 09 Dec 2009 03:21:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.epikone.com/blog/?p=981#comment-2306</guid>
		<description>[...] Now that the back end of our call tracking application is working, we need to build the logic that controls which phone number to display. Rather than reinventing the wheel and coming up with our own code to detect the referrer and other information about the visitor, let’s use what Google Analytics already knows! The code we use to read the Google Analytics cookie is based on the code written by EpikOne and published in their blog post “Integrating Google Analytics With A CRM“. [...]</description>
		<content:encoded><![CDATA[<p>[...] Now that the back end of our call tracking application is working, we need to build the logic that controls which phone number to display. Rather than reinventing the wheel and coming up with our own code to detect the referrer and other information about the visitor, let’s use what Google Analytics already knows! The code we use to read the Google Analytics cookie is based on the code written by EpikOne and published in their blog post “Integrating Google Analytics With A CRM“. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: &#8216;Roll Your Own&#8217; Phone Call Tracking Program &#8211; It Is Easy! &#171; seOverflow Blog</title>
		<link>http://cutroni.com/blog/2009/03/18/updated-integrating-google-analytics-with-a-crm/comment-page-1/#comment-2305</link>
		<dc:creator>&#8216;Roll Your Own&#8217; Phone Call Tracking Program &#8211; It Is Easy! &#171; seOverflow Blog</dc:creator>
		<pubDate>Tue, 08 Dec 2009 15:29:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.epikone.com/blog/?p=981#comment-2305</guid>
		<description>[...] Now that the back end of our call tracking application is working, we need to build the logic that controls which phone number to display. Rather than reinventing the wheel and coming up with our own code to detect the referrer and other information about the visitor, let&#8217;s use what Google Analytics already knows! The code we use to read the Google Analytics cookie is based on the code written by EpikOne and published in their blog post &#8220;Integrating Google Analytics With A CRM&#8220;. [...]</description>
		<content:encoded><![CDATA[<p>[...] Now that the back end of our call tracking application is working, we need to build the logic that controls which phone number to display. Rather than reinventing the wheel and coming up with our own code to detect the referrer and other information about the visitor, let&#8217;s use what Google Analytics already knows! The code we use to read the Google Analytics cookie is based on the code written by EpikOne and published in their blog post &#8220;Integrating Google Analytics With A CRM&#8220;. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 30+ Google Analytics Plugins, Hacks &#38; Tricks</title>
		<link>http://cutroni.com/blog/2009/03/18/updated-integrating-google-analytics-with-a-crm/comment-page-1/#comment-2301</link>
		<dc:creator>30+ Google Analytics Plugins, Hacks &#38; Tricks</dc:creator>
		<pubDate>Mon, 26 Oct 2009 12:41:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.epikone.com/blog/?p=981#comment-2301</guid>
		<description>[...] Integrating Google Analytics with a CRM - This post offers a couple of ways to do [...]</description>
		<content:encoded><![CDATA[<p>[...] Integrating Google Analytics with a CRM &#8211; This post offers a couple of ways to do [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Justin Cutroni</title>
		<link>http://cutroni.com/blog/2009/03/18/updated-integrating-google-analytics-with-a-crm/comment-page-1/#comment-2300</link>
		<dc:creator>Justin Cutroni</dc:creator>
		<pubDate>Wed, 21 Oct 2009 02:29:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.epikone.com/blog/?p=981#comment-2300</guid>
		<description>Hey Adrian,

Unfortunately no.  But if you know a PHP developer they should be able to figure out he to translate the functionality out of JavaScript and into PHP.

Thanks for the question,

Justin</description>
		<content:encoded><![CDATA[<p>Hey Adrian,</p>
<p>Unfortunately no.  But if you know a PHP developer they should be able to figure out he to translate the functionality out of JavaScript and into PHP.</p>
<p>Thanks for the question,</p>
<p>Justin</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adrian</title>
		<link>http://cutroni.com/blog/2009/03/18/updated-integrating-google-analytics-with-a-crm/comment-page-1/#comment-2299</link>
		<dc:creator>Adrian</dc:creator>
		<pubDate>Fri, 16 Oct 2009 18:57:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.epikone.com/blog/?p=981#comment-2299</guid>
		<description>Hey everyone!
Has this script been configured to PHP yet? I don&#039;t have the skillset to do it myself, but I am told that&#039;s how I need to have it by a friend of mine.

Thanks!</description>
		<content:encoded><![CDATA[<p>Hey everyone!<br />
Has this script been configured to PHP yet? I don&#8217;t have the skillset to do it myself, but I am told that&#8217;s how I need to have it by a friend of mine.</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Analytics Talk &#187; Blog Archive &#187; How Google Analytics Tracks &#8216;Bookmark&#8217; Visits</title>
		<link>http://cutroni.com/blog/2009/03/18/updated-integrating-google-analytics-with-a-crm/comment-page-1/#comment-2294</link>
		<dc:creator>Analytics Talk &#187; Blog Archive &#187; How Google Analytics Tracks &#8216;Bookmark&#8217; Visits</dc:creator>
		<pubDate>Sun, 31 May 2009 01:01:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.epikone.com/blog/?p=981#comment-2294</guid>
		<description>[...] UPDATED: Integrating Google Analytics with a CRM  [...]</description>
		<content:encoded><![CDATA[<p>[...] UPDATED: Integrating Google Analytics with a CRM  [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Justin Cutroni</title>
		<link>http://cutroni.com/blog/2009/03/18/updated-integrating-google-analytics-with-a-crm/comment-page-1/#comment-2293</link>
		<dc:creator>Justin Cutroni</dc:creator>
		<pubDate>Sun, 31 May 2009 00:36:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.epikone.com/blog/?p=981#comment-2293</guid>
		<description>Wow, thanks Ethan!  I appreciate it!

Justin</description>
		<content:encoded><![CDATA[<p>Wow, thanks Ethan!  I appreciate it!</p>
<p>Justin</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ethan Johnson</title>
		<link>http://cutroni.com/blog/2009/03/18/updated-integrating-google-analytics-with-a-crm/comment-page-1/#comment-2292</link>
		<dc:creator>Ethan Johnson</dc:creator>
		<pubDate>Fri, 29 May 2009 20:50:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.epikone.com/blog/?p=981#comment-2292</guid>
		<description>Justin,

Thanks for the great &quot;how to&quot;. I have converted part of the script to asp.net vb.  Hopefully someone can benefit. Code snippets are below.

Ethan

        Dim strCookieValue As String = &quot;&quot;
        Dim strKeyword As String = &quot;&quot;
        Dim strStart As String = &quot;utmctr=&quot;
        Dim strEnd As String = &quot;&#124;&quot;


        Try
            strCookieValue = ReadCookie(&quot;__utmz&quot;)
            strKeyword = getValue(strCookieValue, strStart, strEnd)

        Catch ex As Exception
            &#039;just swallow exception and move on
            strKeyword = &quot;&quot;
        End Try

    Private Function getValue(ByVal strSearch As String, ByVal strStart As String, ByVal strEnd As String) As String
        Dim strRtn As String = &quot;&quot;
        Dim strWorking As String = &quot;&quot;
        Dim intStart1 As Int32 = 0
        Dim intStart2 As Int32 = 0

        intStart1 = strSearch.IndexOf(strStart) + Len(strStart) + 1
        strWorking = Mid(strSearch, intStart1)
        intStart2 = strWorking.IndexOf(strEnd)

        &#039;if no end found take the whole length
        If intStart2 = -1 Then intStart2 = Len(strWorking)

        strWorking = Left(strWorking, intStart2)
        &#039;replace HTML encoded spaces
        strRtn = Replace(strWorking, &quot;%20&quot;, &quot; &quot;)

        Return strRtn

    End Function
    Private Function ReadCookie(ByVal strName As String) As String
        Dim strCookieValue As String = &quot;&quot;
        Dim ga_cookie As HttpCookie = Request.Cookies(strName)
        If Not ga_cookie Is Nothing Then
            strCookieValue = ga_cookie.Value
        End If

        Return strCookieValue

    End Function</description>
		<content:encoded><![CDATA[<p>Justin,</p>
<p>Thanks for the great &#8220;how to&#8221;. I have converted part of the script to asp.net vb.  Hopefully someone can benefit. Code snippets are below.</p>
<p>Ethan</p>
<p>        Dim strCookieValue As String = &#8220;&#8221;<br />
        Dim strKeyword As String = &#8220;&#8221;<br />
        Dim strStart As String = &#8220;utmctr=&#8221;<br />
        Dim strEnd As String = &#8220;|&#8221;</p>
<p>        Try<br />
            strCookieValue = ReadCookie(&#8220;__utmz&#8221;)<br />
            strKeyword = getValue(strCookieValue, strStart, strEnd)</p>
<p>        Catch ex As Exception<br />
            &#8216;just swallow exception and move on<br />
            strKeyword = &#8220;&#8221;<br />
        End Try</p>
<p>    Private Function getValue(ByVal strSearch As String, ByVal strStart As String, ByVal strEnd As String) As String<br />
        Dim strRtn As String = &#8220;&#8221;<br />
        Dim strWorking As String = &#8220;&#8221;<br />
        Dim intStart1 As Int32 = 0<br />
        Dim intStart2 As Int32 = 0</p>
<p>        intStart1 = strSearch.IndexOf(strStart) + Len(strStart) + 1<br />
        strWorking = Mid(strSearch, intStart1)<br />
        intStart2 = strWorking.IndexOf(strEnd)</p>
<p>        &#8216;if no end found take the whole length<br />
        If intStart2 = -1 Then intStart2 = Len(strWorking)</p>
<p>        strWorking = Left(strWorking, intStart2)<br />
        &#8216;replace HTML encoded spaces<br />
        strRtn = Replace(strWorking, &#8220;%20&#8243;, &#8221; &#8220;)</p>
<p>        Return strRtn</p>
<p>    End Function<br />
    Private Function ReadCookie(ByVal strName As String) As String<br />
        Dim strCookieValue As String = &#8220;&#8221;<br />
        Dim ga_cookie As HttpCookie = Request.Cookies(strName)<br />
        If Not ga_cookie Is Nothing Then<br />
            strCookieValue = ga_cookie.Value<br />
        End If</p>
<p>        Return strCookieValue</p>
<p>    End Function</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Justin Cutroni</title>
		<link>http://cutroni.com/blog/2009/03/18/updated-integrating-google-analytics-with-a-crm/comment-page-1/#comment-2291</link>
		<dc:creator>Justin Cutroni</dc:creator>
		<pubDate>Mon, 18 May 2009 20:59:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.epikone.com/blog/?p=981#comment-2291</guid>
		<description>Hey Nick,

That&#039;s another way to do it.  I&#039;d say it&#039;s about the same complexity :)  That&#039;s the thing I love about GA, there&#039;s always more than one way to get something done.

Justin</description>
		<content:encoded><![CDATA[<p>Hey Nick,</p>
<p>That&#8217;s another way to do it.  I&#8217;d say it&#8217;s about the same complexity :)  That&#8217;s the thing I love about GA, there&#8217;s always more than one way to get something done.</p>
<p>Justin</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick</title>
		<link>http://cutroni.com/blog/2009/03/18/updated-integrating-google-analytics-with-a-crm/comment-page-1/#comment-2290</link>
		<dc:creator>Nick</dc:creator>
		<pubDate>Tue, 12 May 2009 20:19:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.epikone.com/blog/?p=981#comment-2290</guid>
		<description>Hi Justin,

Just read your article. Why don&#039;t you just pull the cookie data out of ga.js with _getLinkerUrl(), and pass back through the utm.gif parameters, so the CRM can just make image requests to GA?

That way you can send back pageviews (conversions) as well as transactions and products.

At least that the way I&#039;d do it :)</description>
		<content:encoded><![CDATA[<p>Hi Justin,</p>
<p>Just read your article. Why don&#8217;t you just pull the cookie data out of ga.js with _getLinkerUrl(), and pass back through the utm.gif parameters, so the CRM can just make image requests to GA?</p>
<p>That way you can send back pageviews (conversions) as well as transactions and products.</p>
<p>At least that the way I&#8217;d do it :)</p>
]]></content:encoded>
	</item>
</channel>
</rss>
