Tracking form abandonment, exit-links, and other matters...
Your rating: None Average: 5 (1 vote)

Unfortunately, some things can only be measured using page tags, and form abandonment and exit-link tracking are some of them.  For example, when a form is abandoned, you would like the browser to send an image request (what we call a "self-tag") with query parameters (so you know what just happened) to your server.  Pion can easily be configured to detect these events and deliver them to your analytics provider for analysis.  An example of this was provided a few days ago within formAbandon.html (see attachments).
 
The Services team here at Atomic Labs has begun the process of developing and maintaining a library of JavaScript code that will make issues like the ones described above easier for Pion customers to solve.  Although we are certain that there will be special needs out there...we are aware of a few that are frequently asked for, so here's a good start.  This latest example includes a JS file (which will be the basis of our library), and a test HTML page to show you how it works and what it does.
 
This version supports form-abandonment tracking (as the previous version did), and automatic exit-link tracking, and is a much cleaner approach that will be less likely to interfere with your own JS code.  Please take a look at try it out!  Just expand the pionTags.zip file (see attachments) and open the HTML file in a browser.
 
How do you configure this new PION tag module?  Simple: you give it an object containing configuration properties.  The code is quite readable, so you can always look there...but here is the list of configuration settings you can use with this version:

  • tagURL (string): default is empty (i.e.no actual tag-request happens)
  • debug (true/false): default is false, enables debugging (popup boxes)
  • noFormAbandon (true/false): default is false, disables form-abandonment tracking
  • noExitLink (true/false): default is false, disables exit-link tracking
  • intDomains (array): default is [hostname-of-current-location], allows you to define regex snippets that represent your "internal" domains, so we know if a link is an exit-link.  Each value is used as a rightmost domain-match (i.e. ends with that pattern, or with a dot "." and then that pattern).

Share your comments with us...we are always looking for new ideas here!

AttachmentSize
pionTags.zip1.61 KB
formAbandon.html1.95 KB