trackPageview

suspend fun EngageBySailthru.trackPageview(url: URI, tags: List<String?>?)

Asynchronously registers that the given "page" has been viewed with Marigold SPM. Note that a Content View here directly corresponds to a page view in SPM.

Parameters

url

The URL of the page we're tracking a view of. Must be a valid URL with protocol (eg. http:// or https://) - this generally should correspond to the web link of the content being tracked, and the stored URL in the Marigold content collection. This must not be null.

tags

Tags for this page. May be null.

Throws

Thrown if there is an error processing the request.