track your downloads/files or create "funnel" tracking data

Do something cool with CMS? Show us ...
This board is for 'Answers', and the discussion of answers... Not for questions.
Post Reply
JeremyBASS

track your downloads/files or create "funnel" tracking data

Post by JeremyBASS »

Here is a very simple example but you can go hog-wild on it, use a form and a little js to track a file download.. you could think of this as a miny download manager with stat collection...  Great for client data, and that little extra to hand back with only 5 mins sunk in for that wow factor.

What you'll need:

FormBuilder
FormBrowser

I have provided the sample form for FB but the steps are basically..

1.)create FB form
2.)add the FormBrowser field
3.) add for too FormBrowser
3.) have the file link in the Submission Template
5.)Start collecting stats.. (granted you need to do the other normal FB/FBR steps and you should look at the form I provided)


working example...
http://www.visitnorthcentralidaho.org/testing.html


simple but you could do so much more with this... like  password protect by forcing a use to be a FEU user... ie

Code: Select all

{assign var=userids value=$gCms->modules.FrontEndUsers.object->LoggedinId()}
{if $userids!=""}
{FormBuilder form='pdf test'}
{/if}

then they could get to the link... you can add even more to protect it... some many things you could do here...



Now I'm using some js here (jQuery flav)

Code: Select all

 if($('#DownloadThis').length > 0){
//alert($('#DownloadThis a').attr('href'));
window.open($('#DownloadThis a').attr('href')); 

}	

But you can use the meta tag or.. what ever you wish...

Cheers
jeremyBass
Attachments

[The extension xml has been deactivated and can no longer be displayed.]

Last edited by JeremyBASS on Sat Dec 12, 2009 2:55 am, edited 1 time in total.
Post Reply

Return to “Tips and Tricks”