function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
eway-saleseway-sales 

Tracking users in force.com sites

Hi, we are considering moving our entire front end web site to force.com - Can we track customers on the site without them logging in?

 

 

1. user submits a form on force.com site

2. we create a sf account and a unique cookie

3. can we then track that user via the cookie? Ie pages visited?

 

This would help with the sales process to know where and when the customer visited our site. Ie call them when they are on the site or even send an email when certain pages are viewed automatically.

 

thanks

matt

Best Answer chosen by Admin (Salesforce Developers) 
BulentBulent
You can't create/read cookies from apex code as of today. However, you should be able to set/read cookies on a visualforce page via javascript code and via Google analytics or some other web analytics tool you should be able to differentiate the new users vs. returning users

All Answers

CWDCWD

I was just wondering something very similar. Is there any way to logically create users inside the database instead of using SFDC's systems to login a user?

 

tks

-CWD

eway-saleseway-sales
We use liveperson.com and can see the current users on our website. If they have given details previously we know their name. This is possible just not sure with force.com sites. Matt
BulentBulent
You can't create/read cookies from apex code as of today. However, you should be able to set/read cookies on a visualforce page via javascript code and via Google analytics or some other web analytics tool you should be able to differentiate the new users vs. returning users
This was selected as the best answer