You need to sign in to do that
Don't have an account?
symantecAP
Capture how many times the link was clicked
Hi All I have a formula field which updates a hyperlink on the field called " JOB AIDE" on Case Object the link is
I want to track if the link was clicked.How many times and possibly who clicked it. So that I can report on it.
Thanks in advance
You can't track these natively, but you could build that into the system. I've outlined a small example of how this might be done.
Custom Page:
Custom Controller:
Custom Object: Tracker
Custom links would be changed (__URL__ is the original URL, escaped, __FRIENDLYNAME__ is the display name):
Hopefully this gives you an idea of how you might implement it.
The object itself would have OwnerId set to the person that clicked the link, Created Date is when they clicked on the link, and URL is the link that was clicked.
Of course, you could make this a lot more complex, like a second custom object to track the types of pages or URLs (to allow rollup summary fields), some other fields to track ownership and assign the records to an administrator (so users can not see/delete the data). I leave such modifications as an exercise for the reader.
Edit: Updated the link to the correct value.
All Answers
You can't track these natively, but you could build that into the system. I've outlined a small example of how this might be done.
Custom Page:
Custom Controller:
Custom Object: Tracker
Custom links would be changed (__URL__ is the original URL, escaped, __FRIENDLYNAME__ is the display name):
Hopefully this gives you an idea of how you might implement it.
The object itself would have OwnerId set to the person that clicked the link, Created Date is when they clicked on the link, and URL is the link that was clicked.
Of course, you could make this a lot more complex, like a second custom object to track the types of pages or URLs (to allow rollup summary fields), some other fields to track ownership and assign the records to an administrator (so users can not see/delete the data). I leave such modifications as an exercise for the reader.
Edit: Updated the link to the correct value.
Thank you so much for the approach. I am stuck at a point here. Let me show what i have done
I have created a custom object Tracker and did the following
and my formula field is
HYPERLINK("/Tracker/?url="&"http://powerpositions.cars.com/dealers/DMI/DmiFinal.html" , "Job Aide" , " " )
But the error i see is "URL NO LONGER EXISTS. You have attempted to reach a URL that is no longer in salesforce"
I have attached that as /apex/Tracker and it works great..
Thank you. U r the best.. u made me a hero
You're welcome! I updated the link. I can't believe had I had such a simple typo. Well, I'm glad that I was able to help you with your inquiry.
I understand this is an old thread but giving it a shot. 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 (https://zoom.us/j/XXXXXXXX" style="color:#0563c1; text-decoration:underline)">Yoga with XXXX</a></br></p></b> <i><br>This class provides strength and flexibility.</br></i>
Any idea how will i go about writing code?