HOw to Use Data Events from RTP Segments
Hi All,
Can someone help how to use "data event" in RTP segments under APIs? There is not good explanation on this in the documentation. I checked both the links but not sure where and how to make use of these?
https://docs.marketo.com/display/public/DOCS/Web+Segments -> It has just one liner explanation on using data events "
Data Events - Segment visitors that trigger specific Custom Data Events
Add the Event value you want to target. E.g. from third party data sources."
https://developers.marketo.com/javascript-api/web-personalization/custom-data-events/ - documentaion here is also not clear.
I want to pass the link URL whenever user clicks any link on the site and then see if the link URL has "/folder/* pattern then create the segment and show a campaign to those users. Basically, show a campaign to users on a specific page and when he clicks on any link from the page (which is external or other folder link on the site) then show him a widget asking him to stay on the page itself or go to the clicked page.
Regards,
Kamal
Any suggestions how to acheive this?