Use RTP API to send clicks on Assets

Document created by 2174 on Apr 20, 2015Last modified by Vishal Sharma on Jun 26, 2018
Version 2Show 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');

 


Is this article helpful ?

YesNo


Attachments

    Outcomes