Description Usage Arguments Value Examples
View source: R/pardot_visits.R
Make a call to the Pardot API and returns the visits matching the specified criteria parameters.
1 | pardot_visits(..., verbose = 0)
|
... |
Comma separated list of parameter name and parameter value pairs. Parameter names are not quoted. Allowed parameter names are ids, visitor_ids, prospect_ids. |
verbose |
Verbose output. See pardot_client(). |
A data frame. See http://developer.pardot.com/kb/object-field-references/#visit and http://developer.pardot.com/kb/object-field-references/#visitor-page-view. Note: The field visitor_page_view in the returned data frame contains nested lists. Use pardot_client() parameter unlist_dataframe = TRUE to expand the list field into data frame rows, or unlist_dataframe = FALSE to retain the lists as they are.
1 2 3 4 5 | ## Not run:
set_credentials("your-username", "your-password", "your-user-key")
df <- pardot_visits()
df <- pardot_visits(created_after = 'yesterday', prospect_id = 123)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.