Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Visitor Page Views, Visitor Referrer, identified Company #179

Open
jpark919 opened this issue Apr 11, 2019 · 4 comments
Open

Visitor Page Views, Visitor Referrer, identified Company #179

jpark919 opened this issue Apr 11, 2019 · 4 comments

Comments

@jpark919
Copy link

These 3 objects are listed under the 'Object Field Reference' page but no pages are dedicated to them to identify the parameters like the other objects. How else can our users utilize these objects?

When querying something along these lines of...
https://pi.pardot.com/api/visitorPageView/version/4/do/query

including the user keys. However, the returning results are HTML content of the login page instead (ref: https://screencast.com/t/YKpdmx7aVkfY). Any idea on how to use those objects?

@bmsteele
Copy link
Contributor

visitor_page_view data is returned from /visit endpoint: http://developer.pardot.com/kb/api-version-3/visits/#xml-response-formats

visitor_referrer part of /visitor: http://developer.pardot.com/kb/api-version-3/visitors/#xml-response-formats

@jpark919
Copy link
Author

sweeeet thanks!

@bmsteele
Copy link
Contributor

welcome! Docs could definitely be improved to point this out but if there's any other confusing ones like that, you can generally find what you're looking for in the xml-response section of an endpoint that seems like it would belong there.

@royt-via
Copy link

@jpark919 , were you able to pull visitor_referrer or visitor_page_view that way?

@bmsteele, I'm calling version 4 endpoints and when calling https://pi.pardot.com/api/visitor/version/4/do/query with params {'output': 'full', 'format': 'json'} and the relevant headers, I get in response a json with 2 keys - attributes and result - where result is another json with 2 keys - total_results and visitor - but, visitor is just an array of visitor objects as described here but none of them has a visitor_referrer property. am I missing something?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants