Are you tired of opening lead database, opening a new lead page and replacing the ID with the one you actually want to see? Just drag this link to your bookmark toolbar, click it(while on a page in your Marketo instance), type in the ID of the lead you want to see and press enter.
Bam, there's your lead in a new tab.
Here's the code:
(function () {
(function () {
var % 20lead = prompt("Enter%20Lead%20ID", 0);
if (lead > 0) {
var % 20host = document.location.host;
var % 20url = "//" + host + "/leadDatabase/loadLeadDetail?leadId=" + lead;
var % 20myWindow = window.open(url);
} else {
console.log(lead);
alert("Invalid%20Lead%20ID.%20%20ID%20must%20be%20an%20integer%20greater%20than%20zero.")
}
})()
})();
PS: If you can't drag the link, just create a new bookmark, and set this as the location:
javascript:(function(){(function(){var%20lead=prompt("Enter%20Lead%20ID",0);if(lead>0){var%20host=document.location.host;var%20url="//"+host+"/leadDatabase/loadLeadDetail?leadId="+lead;var%20myWindow=window.open(url);}else{console.log(lead);alert("Invalid%20Lead%20ID.%20%20ID%20must%20be%20an%20integer%20greater%20than%20zero.")}})()})();
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.