Use RTP API to send clicks on Assets

Document created by 2174 Employee on Apr 20, 2015
Version 1Show Document
  • View in full screen mode

Also see: RTP Javascript API


RTP asset discovery technology is discovering clicks on links that direct to files such as: PDF, YouTube, PPT etc.

Also, it uses predefined URL patterns to count an HTML page as an asset (see: Enabling Asset Discovery - Marketo Docs - Marketo User Manual).


In some cases, the download (submit) button is not a direct link to the asset itself but to a javascript that opens the asset.

When this is the case, it is required to code the asset discovery events in the page.

The way to do it is by using the  rtp( 'send' , 'view')  API call.

NOTE: this method can be used only with RTP API tag version

This is how the code should look like:


rtp('send', 'view','/case_study1.pdf');


In order to push the "/case_study1.pdf", customers will have to code by themselves a javascript that capture the URL within the page and push it into the API call.

Since these are individually cases per each website, it is impossible to code it for every customer.

Instead, all the documentation exist on