<?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: Add a Google Analytics trackEvent on each field</title>
		<link>https://legacy.forums.gravityhelp.com/topic/add-a-google-analytics-trackevent-on-each-field</link>
		<description>Gravity Support Forums Topic: Add a Google Analytics trackEvent on each field</description>
		<language>en-US</language>
		<pubDate>Sun, 19 Apr 2026 20:25:11 +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/add-a-google-analytics-trackevent-on-each-field" rel="self" type="application/rss+xml" />

		<item>
			<title>Rob Harrell on "Add a Google Analytics trackEvent on each field"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/add-a-google-analytics-trackevent-on-each-field#post-56362</link>
			<pubDate>Tue, 24 Apr 2012 11:25:16 +0000</pubDate>
			<dc:creator>Rob Harrell</dc:creator>
			<guid isPermaLink="false">56362@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hey Mattis, you should be able to achieve this with this hook:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_field_input&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Gform_field_input&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Just be sure to pass the correct name and id when replacing.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Metronet on "Add a Google Analytics trackEvent on each field"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/add-a-google-analytics-trackevent-on-each-field#post-56150</link>
			<pubDate>Mon, 23 Apr 2012 00:13:47 +0000</pubDate>
			<dc:creator>Metronet</dc:creator>
			<guid isPermaLink="false">56150@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I am fairly new to gravity forms and JavaScript. But I am wondering if there is a simple way to add an onFocus on each field in a Gravity Form so I can track form behavior in Google Analytics.&#60;/p&#62;
&#60;p&#62;Basically I'd like to change:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#38;lt;input type=&#38;quot;text&#38;quot; tabindex=&#38;quot;1&#38;quot; class=&#38;quot;medium&#38;quot; value=&#38;quot;&#38;quot; id=&#38;quot;input_1_1&#38;quot; name=&#38;quot;input_1&#38;quot;&#38;gt;&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;To&#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#38;lt;input type=&#38;quot;text&#38;quot; onfocus=&#38;quot;javascript:_gaq.push([&#38;#39;_trackEvent&#38;#39;, &#38;#39;form&#38;#39;, &#38;#39;input_1&#38;#39;, &#38;#39;input_1&#38;#39;]);&#38;quot; tabindex=&#38;quot;1&#38;quot; class=&#38;quot;medium&#38;quot; value=&#38;quot;&#38;quot; id=&#38;quot;input_1_1&#38;quot; name=&#38;quot;input_1&#38;quot;&#38;gt;&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;Is this possible?&#60;/p&#62;
&#60;p&#62;Thanks for any help on this :)&#60;/p&#62;
&#60;p&#62;Cheers&#60;/p&#62;
&#60;p&#62;Mattis
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
