My dev guy is struggling to figure out the scripts here: http://developers.marketo.com/documentation/websites/rtp-js-api/
We are trying to pull out the Visitor Data by adding
rtp('get', 'visitor', someCallbackFunction(visitor));
to our RTP tag. But now he says he needs a way to call the function. But there's no documentation around that.
I've read other topics on here regarding munchkin calls and there's usually always includes stuff like this:
https://<host>/rest/v1/leads.json?filterType=cookie&filterValues=<cookie>&fields=email,firstName,lastName,company&access_token=<token>
So - is there a json script I can customize to utilize the code above? Are we completely misreading the documentation and doing something wrong? Thanks for the help!