The RTP tag should be inserted into the page you which to personalize. You can also have it present on every page by putting it into the zesty.io
This method is called automatically on the tag level to set the relevant account id. You can set the account id when you wish to split between different domains.
Method Name: 'setAccount'
Parameter: accountId (passed as a string)
var accountId = '561-HYG-937';
Note: In Marketo, you company must be a Web Personalization account and have the RTP tag deployed on your site prior to using the Dynamic Content API. Read More
If autoRender parameter is passed as true, then this function will automatically render the content in the designated DOM element.
var autoRender = true;
rtp('get', 'campaign', autoRender);
<div> elements can be personalized by designated them with ID tags. For example you can create the div
<div id="my-marketo-personalization"></div> , in Marketo's interface you need to setup a personalized space and input the target id to
For full details on the RTP integration, visit the Marketo documentation
© Copyright 2010-2018 Zesty.io Platform, Inc. All Rights Reserved.