<?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: Integrate clicktale with AJAX multipage form</title>
		<link>https://legacy.forums.gravityhelp.com/topic/integrate-clicktale-with-ajax-multipage-form</link>
		<description>Gravity Support Forums Topic: Integrate clicktale with AJAX multipage form</description>
		<language>en-US</language>
		<pubDate>Sat, 04 Apr 2026 09:19:20 +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/integrate-clicktale-with-ajax-multipage-form" rel="self" type="application/rss+xml" />

		<item>
			<title>Alex Cancado on "Integrate clicktale with AJAX multipage form"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/integrate-clicktale-with-ajax-multipage-form#post-18437</link>
			<pubDate>Sun, 13 Feb 2011 23:07:16 +0000</pubDate>
			<dc:creator>Alex Cancado</dc:creator>
			<guid isPermaLink="false">18437@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;No, we don't have a &#34;Post Render&#34; hook. I haven't found a case where that would be helpful yet. But yes, the PHP hooks (i.e. gform_pre_render) will fire on AJAX forms.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>idealists on "Integrate clicktale with AJAX multipage form"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/integrate-clicktale-with-ajax-multipage-form#post-18432</link>
			<pubDate>Sun, 13 Feb 2011 21:52:13 +0000</pubDate>
			<dc:creator>idealists</dc:creator>
			<guid isPermaLink="false">18432@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thank you for that.&#60;/p&#62;
&#60;p&#62;Is there also another hook, that occurs at the end of the output, like gf_post_render?&#60;/p&#62;
&#60;p&#62;Also, do these hooks work when using AJAX forms?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Alex Cancado on "Integrate clicktale with AJAX multipage form"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/integrate-clicktale-with-ajax-multipage-form#post-18369</link>
			<pubDate>Fri, 11 Feb 2011 22:03:57 +0000</pubDate>
			<dc:creator>Alex Cancado</dc:creator>
			<guid isPermaLink="false">18369@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;The gform_page_loaded is a Javascript hook and only applies to AJAX forms. For non AJAX forms, you could use the gform_pre_render hook to get access to the current page number. See below.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;add_filter(&#38;quot;gform_pre_render&#38;quot;, &#38;quot;gf_pre_render&#38;quot;);
function gf_pre_render($form){
    $current_page = 1;
    if(isset(GFFormDisplay::$submission[$form[&#38;quot;id&#38;quot;]]))
        $current_page = GFFormDisplay::$submission[$form[&#38;quot;id&#38;quot;]][&#38;quot;page_number&#38;quot;];

    echo &#38;quot;page: {$current_page}&#38;quot;;

    return $form;
}&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "Integrate clicktale with AJAX multipage form"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/integrate-clicktale-with-ajax-multipage-form#post-18361</link>
			<pubDate>Fri, 11 Feb 2011 20:25:29 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">18361@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I've forwarded your question to another member of our team who is more familiar with the gform_page_loaded hook.  He will reply to this thread once he has a chance... it may take sometime as it's currently after business hours and a weekend.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>idealists on "Integrate clicktale with AJAX multipage form"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/integrate-clicktale-with-ajax-multipage-form#post-18360</link>
			<pubDate>Fri, 11 Feb 2011 20:12:00 +0000</pubDate>
			<dc:creator>idealists</dc:creator>
			<guid isPermaLink="false">18360@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Question, does gform_page_loaded work with AJAX off?&#60;br /&#62;
If not, is there  a similar jquery hook  that will return the page number/&#34;current_page&#34; on multipage forms with ajax turned off?&#60;/p&#62;
&#60;p&#62;Or even for that matter a PHP hook that returms the current page of the multi-page form?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "Integrate clicktale with AJAX multipage form"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/integrate-clicktale-with-ajax-multipage-form#post-18313</link>
			<pubDate>Fri, 11 Feb 2011 15:03:56 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">18313@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I'm not familiar with ClickTale or what it does.  Depending on how it works it should record multiple pages beyond the 1st page.  You should test it out using it with AJAX turned on and AJAX turned off.  If it doesn't work with AJAX multi-page it may work with it turned off.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>idealists on "Integrate clicktale with AJAX multipage form"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/integrate-clicktale-with-ajax-multipage-form#post-18304</link>
			<pubDate>Fri, 11 Feb 2011 13:31:33 +0000</pubDate>
			<dc:creator>idealists</dc:creator>
			<guid isPermaLink="false">18304@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I may have another way of doing it with PHP using:&#60;br /&#62;
&#60;a href=&#34;http://wiki.clicktale.com/Article/PHP_integration_module&#34; rel=&#34;nofollow&#34;&#62;http://wiki.clicktale.com/Article/PHP_integration_module&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Only thing, in order to cache the form page I need to be able to trigger both:&#60;br /&#62;
&#38;lt;?php&#60;br /&#62;
          require_once(&#34;[physical_path_to_clicktale_dir_here]\ClickTale\ClickTaleTop.php&#34;);&#60;br /&#62;
?&#38;gt;&#60;br /&#62;
&#38;lt;?php&#60;br /&#62;
          require_once(&#34;[physical_path_to_clicktale_dir_here]\ClickTale\ClickTaleBottom.php&#34;);&#60;br /&#62;
?&#38;gt;&#60;/p&#62;
&#60;p&#62;Every time a new ajax form page is loaded. I know there is javascript hook for this:&#60;br /&#62;
jQuery(document).bind('gform_page_loaded', function(event, form_id, current_page){&#60;/p&#62;
&#60;p&#62;But is there a PHP hook I could use to call the above PHP codes when the multi-page form page is changed?  Need to do this to cache/capture the page.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>idealists on "Integrate clicktale with AJAX multipage form"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/integrate-clicktale-with-ajax-multipage-form#post-18291</link>
			<pubDate>Fri, 11 Feb 2011 12:25:19 +0000</pubDate>
			<dc:creator>idealists</dc:creator>
			<guid isPermaLink="false">18291@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi&#60;/p&#62;
&#60;p&#62;Can anybody shed some light on how best to integrate clicktale to gravityforms (ajax)  multipage forms?&#60;/p&#62;
&#60;p&#62;Clicktale provides 2 javascript codes, one that should be placed after &#38;lt;body&#38;gt; tag:&#60;br /&#62;
&#38;lt;body&#38;gt;&#60;br /&#62;
&#38;lt;script type='text/javascript'&#38;gt;&#60;br /&#62;
		var WRInitTime=(new Date()).getTime();&#60;br /&#62;
&#38;lt;/script&#38;gt; &#60;/p&#62;
&#60;p&#62;The other before &#38;lt;/body&#38;gt; tag:&#60;br /&#62;
&#38;lt;!-- ClickTale Bottom part --&#38;gt;&#60;br /&#62;
&#38;lt;div id=&#34;ClickTaleDiv&#34; style=&#34;display: none;&#34;&#38;gt;&#38;lt;/div&#38;gt;&#60;br /&#62;
&#38;lt;script type=&#34;text/javascript&#34;&#38;gt;&#60;br /&#62;
if(document.location.protocol!='https:')&#60;br /&#62;
  document.write(unescape(&#34;%3Cscript%20src='http://s.clicktale.net/WRb6.js'%20type='text/javascript'%3E%3C/script%3E&#34;));&#60;br /&#62;
&#38;lt;/script&#38;gt;&#60;br /&#62;
&#38;lt;script type=&#34;text/javascript&#34;&#38;gt;&#60;br /&#62;
if(typeof ClickTale=='function') ClickTale(xxxx,1,&#34;www07&#34;);&#60;br /&#62;
&#38;lt;/script&#38;gt;&#60;br /&#62;
&#38;lt;!-- ClickTale end of Bottom part --&#38;gt;&#60;/p&#62;
&#60;p&#62;If I did it exactly like that I do not believe it world record pages beyond the 1st page in the multi-page form. (correct me if I am wrong).&#60;/p&#62;
&#60;p&#62;Any suggestions would be greatly appreciated. Thanks
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
