trackPageview

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.

handler

an instance of TrackHandler. May be null, in which case onSuccess and onFailure callbacks won't be fired.