<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>SEO per SEO &#124; Web marketing, web developing blog &#187; facileforms</title>
	<atom:link href="http://www.seoperseo.it/tag/facileforms/feed" rel="self" type="application/rss+xml" />
	<link>http://www.seoperseo.it</link>
	<description>...solo un altro Blog targato Marco Salvadori</description>
	<lastBuildDate>Wed, 11 Jan 2012 01:31:21 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Tracciare goals analytics su FacileForms</title>
		<link>http://www.seoperseo.it/tracciare-goals-analytics-facileforms.html</link>
		<comments>http://www.seoperseo.it/tracciare-goals-analytics-facileforms.html#comments</comments>
		<pubDate>Wed, 24 Jun 2009 12:33:25 +0000</pubDate>
		<dc:creator>Marco Salvadori</dc:creator>
				<category><![CDATA[Seo medium]]></category>
		<category><![CDATA[facileforms]]></category>
		<category><![CDATA[forms]]></category>
		<category><![CDATA[joomla]]></category>

		<guid isPermaLink="false">http://www.seoperseo.it/?p=180</guid>
		<description><![CDATA[
&#160;
Se lavori nel web ti sarà certamente capitato di lavorare su un sito Joomla. Spesso i siti web hanno dei form che permettono all&#8217;utente di registrarsi, richiedere informazioni o inviarle.
Joomla ha dei componenti che gestiscono e creano i form.
Uno di questi, molto usato su Joomla 1.0 è FacileForm.
Non credi che sarebbe interessante poter monitorare semplicemente [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.seoperseo.it/wp-content/uploads/2009/06/facileforms-analytics1.jpg" alt="facileforms-analytics1" title="facileforms-analytics1" width="547" height="226" class="alignnone size-full wp-image-187" /></p>
<p>&nbsp;</p>
<p>Se lavori nel web ti sarà certamente capitato di lavorare su un sito <strong>Joomla</strong>. Spesso i siti web hanno dei <strong>form </strong>che permettono all&#8217;utente di registrarsi, richiedere informazioni o inviarle.<br />
<strong>Joomla </strong>ha dei componenti che gestiscono e creano i <strong>form</strong>.<br />
Uno di questi, molto usato su <strong>Joomla 1.0</strong> è <strong>FacileForm</strong>.</p>
<p>Non credi che sarebbe interessante poter <strong>monitorare </strong>semplicemente con un paio di righe di codice i click sul tasto di invio form, tracciandoli come <strong>goals in analytics</strong>?<br />
Non sarebbe interessante <strong>tracciare gli obiettivi</strong> anche nel caso in cui il sito sia di un tuo cliente, per mostrargli l&#8217;incremento delle conversioni come <strong>risultato del tuo lavoro SEO</strong>?</p>
<p>Bene, nel caso di <strong>FacileForms </strong>è possibile tracciare l&#8217;invio dei form in pochi passi:</p>
<p>1) Entra su FacileForms dal pannello di amministrazione di Joomla.</p>
<p>2) Nel menù di amministrazione di FacileForms clicca sulla voce &#8220;Manage Scripts&#8221;.</p>
<p>3) Quindi scegli la funzione &#8220;validate and submit forms&#8221; dalla lista.</p>
<p>4) Si aggiungono due righe alla funzione che c&#8217;è nel seguente modo:</p>
<p><strong>FUNZIONE STANDARD PRIMA DELLA MODIFICA</strong></p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #003366; font-weight: bold;">function</span> ff_validate_submit<span style="color: #009900;">&#40;</span>element<span style="color: #339933;">,</span> action<span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
    error <span style="color: #339933;">=</span> ff_validation<span style="color: #009900;">&#40;</span><span style="color: #CC0000;">0</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>error <span style="color: #339933;">!=</span> <span style="color: #3366CC;">''</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        <span style="color: #000066;">alert</span><span style="color: #009900;">&#40;</span>error<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        ff_validationFocus<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span> <span style="color: #000066; font-weight: bold;">else</span>
        ff_submitForm<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span> <span style="color: #006600; font-style: italic;">// ff_validate_submit</span></pre></div></div>

<p><strong>FUNZIONE DOPO LA MODIFICA</strong></p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #003366; font-weight: bold;">function</span> ff_validate_submit<span style="color: #009900;">&#40;</span>element<span style="color: #339933;">,</span> action<span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
    error <span style="color: #339933;">=</span> ff_validation<span style="color: #009900;">&#40;</span><span style="color: #CC0000;">0</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>error <span style="color: #339933;">!=</span> <span style="color: #3366CC;">''</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        <span style="color: #000066;">alert</span><span style="color: #009900;">&#40;</span>error<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        ff_validationFocus<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span> <span style="color: #000066; font-weight: bold;">else</span><span style="color: #009900;">&#123;</span>
        formName<span style="color: #339933;">=</span>element.<span style="color: #660066;">form</span>.<span style="color: #000066;">name</span><span style="color: #339933;">;</span>
        pageTracker._trackPageview<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;/&quot;</span> <span style="color: #339933;">+</span> formName <span style="color: #339933;">+</span><span style="color: #3366CC;">&quot;.html&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        ff_submitForm<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span> <span style="color: #006600; font-style: italic;">// ff_validate_submit</span></pre></div></div>

<p>5) Si vanno quindi a inserire gli obiettivi su analytics che saranno del tipo &#8220;/nomeform.html&#8221;</p>
<p><strong>Suggerimento</strong>: Per verificare con sicurezza il nome del form e quindi l&#8217;url fittizia che fa da obiettivo si può mettere un alert al caso di errore e provare a inviare i form lasciando i campi vuoti come nel seguente modo:</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #003366; font-weight: bold;">function</span> ff_validate_submit<span style="color: #009900;">&#40;</span>element<span style="color: #339933;">,</span> action<span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
    error <span style="color: #339933;">=</span> ff_validation<span style="color: #009900;">&#40;</span><span style="color: #CC0000;">0</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>error <span style="color: #339933;">!=</span> <span style="color: #3366CC;">''</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        formName<span style="color: #339933;">=</span>element.<span style="color: #660066;">form</span>.<span style="color: #000066;">name</span><span style="color: #339933;">;</span>
        pageTracker._trackPageview<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;/&quot;</span> <span style="color: #339933;">+</span> formName <span style="color: #339933;">+</span> <span style="color: #3366CC;">&quot;.html&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #000066;">alert</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;/&quot;</span> <span style="color: #339933;">+</span> formName <span style="color: #339933;">+</span><span style="color: #3366CC;">&quot;.html&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #006600; font-style: italic;">//alert(error);</span>
        ff_validationFocus<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span> <span style="color: #000066; font-weight: bold;">else</span>
        ff_submitForm<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span> <span style="color: #006600; font-style: italic;">// ff_validate_submit</span></pre></div></div>

<p>Per idee, domande o suggerimenti scrivete pure qui sotto <img src='http://www.seoperseo.it/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.seoperseo.it/tracciare-goals-analytics-facileforms.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

