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
Manpreet Singh 207Manpreet Singh 207 

Track number of clicks on embedded link in Visualforce page

Hello All,

I would like to track (capture name and date/time) the number of clicks on embedded link in our visualforce page. 

On a high level I think, i will need to create a custom object which will have custom fields

1) Lookup field on user object to capture user name
2) Date/Time field to capture Date/time details

Below mentioned is the embedded link in our visualforce page.

<b><p style="font-size:15px"><br>9:00-9:45 AM -- <a href="https://zoom.us/j/XXXXXXXX">Yoga with XXXX</a></br></p></b> <i><br>This class provides strength and flexibility.</br></i>
ANUTEJANUTEJ (Salesforce Developers) 
Hi Manpreet,

I found the below link which seems to have a similar use case can you please check this out once:

>> https://developer.salesforce.com/forums/?id=906F00000008yYqIAI

In case if this comes handy can you please choose this as the best answer so that it can be used by others in the future.

Regards,
Anutej