<?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: Google Analytics Event Tracking with Ajax Enabled</title>
		<link>https://legacy.forums.gravityhelp.com/topic/google-analytics-event-tracking-with-ajax-enabled</link>
		<description>Gravity Support Forums Topic: Google Analytics Event Tracking with Ajax Enabled</description>
		<language>en-US</language>
		<pubDate>Sat, 04 Apr 2026 04:51:42 +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/google-analytics-event-tracking-with-ajax-enabled" rel="self" type="application/rss+xml" />

		<item>
			<title>mthompson on "Google Analytics Event Tracking with Ajax Enabled"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/google-analytics-event-tracking-with-ajax-enabled#post-215809</link>
			<pubDate>Fri, 19 Apr 2013 13:41:25 +0000</pubDate>
			<dc:creator>mthompson</dc:creator>
			<guid isPermaLink="false">215809@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Sounds like quite a few request to apply event tracking. I'm looking for a solution to apply event tracking around next/submit buttons. I have a 2 step form before reaching the thank you page and would like to see the number of visitors that click on 'next' and 'submit application' and to compare against the number of actual conversions.&#60;/p&#62;
&#60;p&#62;Is there such a solution?&#60;/p&#62;
&#60;p&#62;Thank you!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Rufo on "Google Analytics Event Tracking with Ajax Enabled"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/google-analytics-event-tracking-with-ajax-enabled#post-213344</link>
			<pubDate>Wed, 17 Apr 2013 18:04:13 +0000</pubDate>
			<dc:creator>Chris Rufo</dc:creator>
			<guid isPermaLink="false">213344@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hello,&#60;/p&#62;
&#60;p&#62;I'd like to follow up on this question. I'm searching for a simple way to get Google Analytics tracking and I'd love to not have to edit the core functions -- I'm new at this and really would love to see a simple Event tracking integrated into the Gravity Forms plugin.&#60;/p&#62;
&#60;p&#62;Anyway, does the suggestion above from amadex work? Can we simply paste that code into the confirmation message and it will start tracking? Anything else we need to do? &#60;/p&#62;
&#60;p&#62;Thank you!&#60;/p&#62;
&#60;p&#62;Christopher
&#60;/p&#62;</description>
		</item>
		<item>
			<title>amadex on "Google Analytics Event Tracking with Ajax Enabled"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/google-analytics-event-tracking-with-ajax-enabled#post-207435</link>
			<pubDate>Fri, 12 Apr 2013 18:40:37 +0000</pubDate>
			<dc:creator>amadex</dc:creator>
			<guid isPermaLink="false">207435@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;It wouldn't be enough for the function to call only:&#60;br /&#62;
    &#38;lt;script type=&#34;text/javascript&#34;&#38;gt;&#60;br /&#62;
        jQuery(document).ready(function($) {&#60;br /&#62;
            _gaq.push(['_trackEvent', 'event_category', 'event_action', '&#38;lt;?php echo $form[&#34;title&#34;]; ?&#38;gt;']);&#60;br /&#62;
            console.log('&#38;lt;?php echo $form[&#34;title&#34;]; ?&#38;gt;');&#60;br /&#62;
        });&#60;br /&#62;
    &#38;lt;/script&#38;gt;&#60;br /&#62;
?&#60;/p&#62;
&#60;p&#62;If it works from the confirmation message, why it wouldn't work from the function?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Google Analytics Event Tracking with Ajax Enabled"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/google-analytics-event-tracking-with-ajax-enabled#post-160292</link>
			<pubDate>Mon, 04 Mar 2013 19:59:36 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">160292@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;It does normally work if you paste the code into the confirmation message area.  You just have to be sure to check the &#34;Disable Auto-formatting&#34; box to ensure the JavaScript code is not altered.&#60;/p&#62;
&#60;p&#62;Thank you for sharing your solution.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>jmbarlow on "Google Analytics Event Tracking with Ajax Enabled"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/google-analytics-event-tracking-with-ajax-enabled#post-157864</link>
			<pubDate>Fri, 01 Mar 2013 12:59:27 +0000</pubDate>
			<dc:creator>jmbarlow</dc:creator>
			<guid isPermaLink="false">157864@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;This might be useful for someone else. I wanted to be able to track form submissions on Ajax-enabled Gravity forms with an analytics event, and I also didn't want to create separate confirmation pages for each form, or edit the confirmation message individually.&#60;/p&#62;
&#60;p&#62;Pastie for sticking in the active theme's functions.php:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://pastie.org/6361095&#34; rel=&#34;nofollow&#34;&#62;http://pastie.org/6361095&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;The (ajax) confirmation message is in a frame which doesn't have access to jquery or the google analytics library, so the - perhaps a bit inelegant - solution is to call the scripts again from within that frame. Might also work just by pasting these into the confirmation message.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
