Confusion around this Plug-in stops
where the rubber hits Conversion Road.Darcy’s recipe for OFFICE HERO success may be all the rage, but this is the plug-in you want on your SUPER hero utility belt.
The Form Analysis Plug-in (“The Plug-in”) is a piece of JavaScript code that is inserted into the core Site Catalyst JavaScript File, s_code.js. This little baby is the BIG BROTHER of the forms on your site, watching your visitors take the tentative steps towards conversion or oblivion.
Although one of the more complex of the plug-ins, implementing The Plug-in can be as easy as 1, 2, 3, 4, 5
(Note: This post assumes that at least one other plug-in is implemented in your copy of s_code.js.
If not, Contact Us)
- Acquire the version of the Form Analysis Plug-in code (that is compatible with your implementation of SiteCatalyst) from your friendly Omniture Implementation Consultant.
- Insert the code into s_code.js in the designated “PLUGINS SECTION”
- Make the call to s.setupFormAnalysis() in function s_doPlugins()
- Set The Plug-in’s configuration parameters
- Insert “on-page” JavaScript code to send event data to Site Catalyst:
- Success events in the form’s onSubmit event handler,
- Error events as part of your client-side and/or server-side validation code.
… and then start watching your reports to see where your visitors are almost converting…
Steps 1 and 2 need no further explanation.
Step 3 looks something like this, depending on your pre-existing plug-ins:
function s_doPlugins(s) { // calls to other plug-in functions may already exist here // Form Analysis Plugin v.2.0 s.setupFormAnalysis(); } s.doPlugins=s_doPlugins;
NOTE: Suppress the urge to ask if strings are case-sensitive – they almost always are.
Step 4. Insert the configuration code in the “CONFIG SECTION”
This is where the business rules become JavaScript.
Today I deal only with the “how” of Form Analysis.
In a following post I will discuss the “why” of various configurations.
Which forms?
A comma-separated list of forms to be tracked by The Plug-in. Form names are those defined in the name attribute of the forms’