<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.1" -->
<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>Gravity Support Forums Topic: Coupon Code Tracking with Google Analytics</title>
		<link>https://legacy.forums.gravityhelp.com/topic/coupon-code-tracking-with-google-analytics</link>
		<description>Gravity Support Forums Topic: Coupon Code Tracking with Google Analytics</description>
		<language>en-US</language>
		<pubDate>Tue, 28 Apr 2026 16:10:34 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.1</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>https://legacy.forums.gravityhelp.com/search.php</link>
		</textInput>
		<atom:link href="https://legacy.forums.gravityhelp.com/rss/topic/coupon-code-tracking-with-google-analytics" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "Coupon Code Tracking with Google Analytics"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/coupon-code-tracking-with-google-analytics#post-104487</link>
			<pubDate>Wed, 19 Dec 2012 11:16:58 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">104487@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;It may take a little while to show up.  Please let us know if it is working or not.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mjeune on "Coupon Code Tracking with Google Analytics"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/coupon-code-tracking-with-google-analytics#post-102680</link>
			<pubDate>Fri, 14 Dec 2012 11:30:34 +0000</pubDate>
			<dc:creator>mjeune</dc:creator>
			<guid isPermaLink="false">102680@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;The alert worked fine, but can't locate the entry in GA.  Probably have to wait a little bit.  Will let you know.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Coupon Code Tracking with Google Analytics"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/coupon-code-tracking-with-google-analytics#post-102640</link>
			<pubDate>Fri, 14 Dec 2012 09:53:12 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">102640@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I see.  The form field exists and the visitor enters their coupon code.  You want to track what they enter.  Try adding this jQuery to an HTML field in your form:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;script type=&#38;quot;text/javascript&#38;quot;&#38;gt;
  jQuery(&#38;#39;#input_229_1&#38;#39;).change(function() {
    alert(&#38;#39;.change() called for field 229_1&#38;#39;);
    pageTracker._trackEvent(&#38;#39;Coupons&#38;#39;, this.form.action, this.value);
  });
&#38;lt;/script&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;The coupon field in my form #229 is field 1, which is why line 2 has &#34;input_229_1&#34; - update this to the field where your coupon code is being entered.&#60;/p&#62;
&#60;p&#62;You can remove the &#34;alert&#34; line once you are sure this code is being executed.  &#60;/p&#62;
&#60;p&#62;This should work if Google Analytics is present on the page.  Let us know if you need help.  Please provide a link to your form online if you need additional assistance.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mjeune on "Coupon Code Tracking with Google Analytics"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/coupon-code-tracking-with-google-analytics#post-102383</link>
			<pubDate>Thu, 13 Dec 2012 18:23:08 +0000</pubDate>
			<dc:creator>mjeune</dc:creator>
			<guid isPermaLink="false">102383@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Manually, the user types them in.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Coupon Code Tracking with Google Analytics"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/coupon-code-tracking-with-google-analytics#post-102357</link>
			<pubDate>Thu, 13 Dec 2012 16:27:30 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">102357@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;How are your coupons being added to the form?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mjeune on "Coupon Code Tracking with Google Analytics"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/coupon-code-tracking-with-google-analytics#post-102289</link>
			<pubDate>Thu, 13 Dec 2012 14:37:07 +0000</pubDate>
			<dc:creator>mjeune</dc:creator>
			<guid isPermaLink="false">102289@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I read the Google forums about this and I think I found a solution, but the solution requires that some JavaScript code be attached to the coupon field:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;onchange=&#38;quot;pageTracker._trackEvent(&#38;#39;Coupons&#38;#39;, this.form.action, this.value);&#38;quot;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;How do I go about attaching this JS code to the field?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Coupon Code Tracking with Google Analytics"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/coupon-code-tracking-with-google-analytics#post-102261</link>
			<pubDate>Thu, 13 Dec 2012 13:35:22 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">102261@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;This is a question for the Google Analytics experts.  We have no specific information about tracking in Google Analytics.  Gravity Forms will collect the data.  Customization beyond that point is up to you.&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://productforums.google.com/forum/#&#34; rel=&#34;nofollow&#34;&#62;http://productforums.google.com/forum/#&#60;/a&#62;!forum/analytics
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mjeune on "Coupon Code Tracking with Google Analytics"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/coupon-code-tracking-with-google-analytics#post-102176</link>
			<pubDate>Thu, 13 Dec 2012 11:11:53 +0000</pubDate>
			<dc:creator>mjeune</dc:creator>
			<guid isPermaLink="false">102176@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I created a form which contains a coupon field in it.  How would I go about tracking the coupon codes entered in this field (as visitors fill out and submit the form) in Google Analytics?  I am not looking to validate the codes, I'm simply wanting to track whatever code is entered in GA.  Is this possible?  If yes, how?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
