I’ve worked around getting website visitor data into Salesforce.com many different ways and it’s always been more difficult than I thought it should be so I went to work on building a Salesforce.com app that would allow flexible website tracking straight into Salesforce.com.
Visitor tracking would be OK on its own, but to group it across several different websites or different campaigns would be better and Salesforce.com has the standard campaign object that would be a natural object to organize website visitors and their actions by. Additionally, it’s always helpful to know Lead and Contact’s web history and by extension website history for Accounts. The result of several months of work is SALTYICS, a force.com app to do everything mentioned above.
If you would like to try it out, you can follow the link above and click “Get It Now” to install and use instantly for up to 60 days.
Now, to use SALTYICS for the standard scenario of simply tracking page visitors and linking them to a campaign in Salesforce.com:

- Add the jQuery library to your pages.
- Go to the “Visitor Tracking” tab in SALYTICS and click on the campaign lookup field to select a campaign visitors should be tracked against.
- Select “Page Visit” as the Event.
- Click “Generate” and copy and paste the generated code into the pages you would like to track after the jQuery script reference.
Once this is complete, you will be able to view the campaign and it’s Visualforce dashboard that displays the number of page views and visits for the pages you are tracking for the campaign.

This is how to get started with Salesforce.com website tracking, but additional functionality includes:
- Linking visitors to Leads and Contacts by email address
- Tracking form submissions
- Tracking custom events, such as downloads or custom goals for your website
If you have chance to try out SALYTICS, I’d love to hear feedback especially any suggested enhancements.
