<?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: Stuff More Than One Value into GA&#039;s User Defined Segment</title>
	<atom:link href="http://www.lunametrics.com/blog/2008/04/17/stuff-more-than-one-value-in-gas-user-defined-segment/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.lunametrics.com/blog/2008/04/17/stuff-more-than-one-value-in-gas-user-defined-segment/</link>
	<description>LunaMetrics</description>
	<lastBuildDate>Mon, 22 Mar 2010 04:24:10 +0000</lastBuildDate>
	<generator>http://wordpress.org/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Wouter Bakker</title>
		<link>http://www.lunametrics.com/blog/2008/04/17/stuff-more-than-one-value-in-gas-user-defined-segment/comment-page-1/#comment-1689</link>
		<dc:creator>Wouter Bakker</dc:creator>
		<pubDate>Sun, 15 Nov 2009 13:49:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.lunametrics.com/blog/2008/04/17/stuff-more-than-one-value-in-gas-user-defined-segment/#comment-1689</guid>
		<description>Hi,

Labelling mij vistors works. Thanks for your free advise.

Greetz,

Ioptia.nl</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Labelling mij vistors works. Thanks for your free advise.</p>
<p>Greetz,</p>
<p>Ioptia.nl</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mitja Petan</title>
		<link>http://www.lunametrics.com/blog/2008/04/17/stuff-more-than-one-value-in-gas-user-defined-segment/comment-page-1/#comment-1554</link>
		<dc:creator>Mitja Petan</dc:creator>
		<pubDate>Tue, 13 Oct 2009 11:40:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.lunametrics.com/blog/2008/04/17/stuff-more-than-one-value-in-gas-user-defined-segment/#comment-1554</guid>
		<description>Hi John,

Thank you for your code. But I found bug in it.

If you send information like this:
superSetVar(&#039;/campaign_name=External Adv.&#039;);

Then this value will not be sent into GA. Problem is if you are sending value with dot.

I think problem is here:
removePrefix = /^.*\.(.*)/.exec(getVar);</description>
		<content:encoded><![CDATA[<p>Hi John,</p>
<p>Thank you for your code. But I found bug in it.</p>
<p>If you send information like this:<br />
superSetVar(&#8216;/campaign_name=External Adv.&#8217;);</p>
<p>Then this value will not be sent into GA. Problem is if you are sending value with dot.</p>
<p>I think problem is here:<br />
removePrefix = /^.*\.(.*)/.exec(getVar);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert Douglas</title>
		<link>http://www.lunametrics.com/blog/2008/04/17/stuff-more-than-one-value-in-gas-user-defined-segment/comment-page-1/#comment-1021</link>
		<dc:creator>Robert Douglas</dc:creator>
		<pubDate>Mon, 08 Jun 2009 20:40:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.lunametrics.com/blog/2008/04/17/stuff-more-than-one-value-in-gas-user-defined-segment/#comment-1021</guid>
		<description>Hey John,

Nice script. Small and simple. We&#039;re having some trouble integrating it though - it seems that if we try to unset the var and there&#039;s only one in the cookie, it doesn&#039;t get removed. For example,

superSetVar(&quot;/eyes=blue&quot;); // cookie says eyes = blue
unsetVar(&quot;/eyes=&quot;); // cookie still says eyes = blue

Debugging in Firebug I see it getting to superSetvarTracker._setVar(&quot;&quot;); but checking the cookie after this, it still has the original value.

Any ideas?

Thanks,
Rob.</description>
		<content:encoded><![CDATA[<p>Hey John,</p>
<p>Nice script. Small and simple. We&#8217;re having some trouble integrating it though &#8211; it seems that if we try to unset the var and there&#8217;s only one in the cookie, it doesn&#8217;t get removed. For example,</p>
<p>superSetVar(&#8220;/eyes=blue&#8221;); // cookie says eyes = blue<br />
unsetVar(&#8220;/eyes=&#8221;); // cookie still says eyes = blue</p>
<p>Debugging in Firebug I see it getting to superSetvarTracker._setVar(&#8220;&#8221;); but checking the cookie after this, it still has the original value.</p>
<p>Any ideas?</p>
<p>Thanks,<br />
Rob.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marissa</title>
		<link>http://www.lunametrics.com/blog/2008/04/17/stuff-more-than-one-value-in-gas-user-defined-segment/comment-page-1/#comment-1020</link>
		<dc:creator>Marissa</dc:creator>
		<pubDate>Mon, 01 Jun 2009 15:33:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.lunametrics.com/blog/2008/04/17/stuff-more-than-one-value-in-gas-user-defined-segment/#comment-1020</guid>
		<description>Thanks for this script - we&#039;ve been trying to think of a way to lump a group of users together over time based on some of the actions they take on our site, and this seems to do the trick.

The only issue I&#039;m having, is that the session appears to only be set on the return visit, and not on the visit where the action is taken. So let&#039;s say I want to track users who sign up for our email list and then sign our petition:

1. On their first visit, they signup for the email list - in analytics, their user defined variable for this visit not set.
2. On their second visit, they sign the petition - their user defined variable for this visit is emailsignup=1
3. They would need to visit a third time in order to get the user defined variable emailsignup=1/petition=1

Is there any way around this? I know Google Analytics is picky when it comes to resetting user defined variables. Is there a more clear way to reset it within the session? Or is there Javascript I could use to do a force reset of the session to get the user defined variable in there?

Thanks!
Marissa</description>
		<content:encoded><![CDATA[<p>Thanks for this script &#8211; we&#8217;ve been trying to think of a way to lump a group of users together over time based on some of the actions they take on our site, and this seems to do the trick.</p>
<p>The only issue I&#8217;m having, is that the session appears to only be set on the return visit, and not on the visit where the action is taken. So let&#8217;s say I want to track users who sign up for our email list and then sign our petition:</p>
<p>1. On their first visit, they signup for the email list &#8211; in analytics, their user defined variable for this visit not set.<br />
2. On their second visit, they sign the petition &#8211; their user defined variable for this visit is emailsignup=1<br />
3. They would need to visit a third time in order to get the user defined variable emailsignup=1/petition=1</p>
<p>Is there any way around this? I know Google Analytics is picky when it comes to resetting user defined variables. Is there a more clear way to reset it within the session? Or is there Javascript I could use to do a force reset of the session to get the user defined variable in there?</p>
<p>Thanks!<br />
Marissa</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel</title>
		<link>http://www.lunametrics.com/blog/2008/04/17/stuff-more-than-one-value-in-gas-user-defined-segment/comment-page-1/#comment-1019</link>
		<dc:creator>Daniel</dc:creator>
		<pubDate>Wed, 13 May 2009 18:20:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.lunametrics.com/blog/2008/04/17/stuff-more-than-one-value-in-gas-user-defined-segment/#comment-1019</guid>
		<description>Hello John and thanks for posting this solution.

I would like to know if your solution can work for me, or what can be done if not.
I am advertising a minisite where people register, during their registration I gather information about them and whether they completed successfully of failed.
I would like to use the user defined segment to do some drill downs, but I have that information DURING and at THE END of the process.
I understood from the talkbacks that this information will only be posted at the next visit.

Is there a way to track information about the user as part of the current session?

Would appriciate suggestions.

Thanks,
Daniel</description>
		<content:encoded><![CDATA[<p>Hello John and thanks for posting this solution.</p>
<p>I would like to know if your solution can work for me, or what can be done if not.<br />
I am advertising a minisite where people register, during their registration I gather information about them and whether they completed successfully of failed.<br />
I would like to use the user defined segment to do some drill downs, but I have that information DURING and at THE END of the process.<br />
I understood from the talkbacks that this information will only be posted at the next visit.</p>
<p>Is there a way to track information about the user as part of the current session?</p>
<p>Would appriciate suggestions.</p>
<p>Thanks,<br />
Daniel</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Henson</title>
		<link>http://www.lunametrics.com/blog/2008/04/17/stuff-more-than-one-value-in-gas-user-defined-segment/comment-page-1/#comment-1018</link>
		<dc:creator>John Henson</dc:creator>
		<pubDate>Tue, 14 Apr 2009 13:49:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.lunametrics.com/blog/2008/04/17/stuff-more-than-one-value-in-gas-user-defined-segment/#comment-1018</guid>
		<description>Asdsa,

You are the first person to comment on that !!</description>
		<content:encoded><![CDATA[<p>Asdsa,</p>
<p>You are the first person to comment on that !!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: asdsa</title>
		<link>http://www.lunametrics.com/blog/2008/04/17/stuff-more-than-one-value-in-gas-user-defined-segment/comment-page-1/#comment-1017</link>
		<dc:creator>asdsa</dc:creator>
		<pubDate>Tue, 14 Apr 2009 08:10:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.lunametrics.com/blog/2008/04/17/stuff-more-than-one-value-in-gas-user-defined-segment/#comment-1017</guid>
		<description>*Large Male Member* &lt;-- that&#039;s an unfortunate wording :D</description>
		<content:encoded><![CDATA[<p>*Large Male Member* &lt;&#8211; that&#8217;s an unfortunate wording <img src='http://www.lunametrics.com/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Henson</title>
		<link>http://www.lunametrics.com/blog/2008/04/17/stuff-more-than-one-value-in-gas-user-defined-segment/comment-page-1/#comment-1016</link>
		<dc:creator>John Henson</dc:creator>
		<pubDate>Mon, 09 Mar 2009 15:00:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.lunametrics.com/blog/2008/04/17/stuff-more-than-one-value-in-gas-user-defined-segment/#comment-1016</guid>
		<description>The best way to handle those 2 problems is with more descriptive campaign tagging.

Is it possible to tag your Yahoo paid search with campaign parameters that include utm_medium=cpc ?

Is it possible to tag your Paid email campaigns with utm_medium=emailp or some other value that is different from &quot;email&quot; ?

In order to use the user defined segment you have to know that the visitor came from one of these sources anyway, that means that the links would already have to be tagged with some other identifier.  Otherwise you&#039;d not have any hook with which to set the user defined segment for that visitor.  That is to say, it doesn&#039;t seem like you&#039;d be able to tell which visitors came from yahoo paid search and which came from yahoo organic search.</description>
		<content:encoded><![CDATA[<p>The best way to handle those 2 problems is with more descriptive campaign tagging.</p>
<p>Is it possible to tag your Yahoo paid search with campaign parameters that include utm_medium=cpc ?</p>
<p>Is it possible to tag your Paid email campaigns with utm_medium=emailp or some other value that is different from &#8220;email&#8221; ?</p>
<p>In order to use the user defined segment you have to know that the visitor came from one of these sources anyway, that means that the links would already have to be tagged with some other identifier.  Otherwise you&#8217;d not have any hook with which to set the user defined segment for that visitor.  That is to say, it doesn&#8217;t seem like you&#8217;d be able to tell which visitors came from yahoo paid search and which came from yahoo organic search.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Biskup</title>
		<link>http://www.lunametrics.com/blog/2008/04/17/stuff-more-than-one-value-in-gas-user-defined-segment/comment-page-1/#comment-1015</link>
		<dc:creator>Matt Biskup</dc:creator>
		<pubDate>Fri, 06 Mar 2009 22:23:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.lunametrics.com/blog/2008/04/17/stuff-more-than-one-value-in-gas-user-defined-segment/#comment-1015</guid>
		<description>I&#039;d like to group all my traffic into Paid or Free segments so I could work with GA charts on each of these two big segments. Reason: I have clients with paid inclusion in Yahoo which shows up as Organic in GA, and I have a client that we use utm_Medium=email for their house email to their existing lists (free) as well as email where we are paying to have a banner included in some other business&#039; blast so this mass Paid or Free segmentation would help. I can do this with filters but I wind up subtracting all Visits/Visitors/Transactions, etc... tallied by my &quot;All Paid Sources&quot; Profile from the main Profile which has no filters.

How would I populate _setVar to do this? Would I use the regular code or the SuperSetVar code? I&#039;m not a programmer but I&#039;d like to go into my IT dep&#039;t with at least something in my hand that says they could do this - saves me from calling b.s. on my IT guy if he doesn&#039;t know it can be done but tells me it &quot;can&#039;t&quot; anyway.

Thanks,
Matt Biskup</description>
		<content:encoded><![CDATA[<p>I&#8217;d like to group all my traffic into Paid or Free segments so I could work with GA charts on each of these two big segments. Reason: I have clients with paid inclusion in Yahoo which shows up as Organic in GA, and I have a client that we use utm_Medium=email for their house email to their existing lists (free) as well as email where we are paying to have a banner included in some other business&#8217; blast so this mass Paid or Free segmentation would help. I can do this with filters but I wind up subtracting all Visits/Visitors/Transactions, etc&#8230; tallied by my &#8220;All Paid Sources&#8221; Profile from the main Profile which has no filters.</p>
<p>How would I populate _setVar to do this? Would I use the regular code or the SuperSetVar code? I&#8217;m not a programmer but I&#8217;d like to go into my IT dep&#8217;t with at least something in my hand that says they could do this &#8211; saves me from calling b.s. on my IT guy if he doesn&#8217;t know it can be done but tells me it &#8220;can&#8217;t&#8221; anyway.</p>
<p>Thanks,<br />
Matt Biskup</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Henson</title>
		<link>http://www.lunametrics.com/blog/2008/04/17/stuff-more-than-one-value-in-gas-user-defined-segment/comment-page-1/#comment-1014</link>
		<dc:creator>John Henson</dc:creator>
		<pubDate>Mon, 02 Feb 2009 20:56:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.lunametrics.com/blog/2008/04/17/stuff-more-than-one-value-in-gas-user-defined-segment/#comment-1014</guid>
		<description>I think that would be mostly personal preference.  Google Analytics gets the referrer value from the browser and just writes it to the __utmz cookie.  I would probably just get it from the browser, personally.</description>
		<content:encoded><![CDATA[<p>I think that would be mostly personal preference.  Google Analytics gets the referrer value from the browser and just writes it to the __utmz cookie.  I would probably just get it from the browser, personally.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
