browser-sdk

Home > @datadog/browser-rum > RumGlobal > startView

RumGlobal.startView property

Start a view manually. Enable to manual start a view, use trackViewsManually: true init parameter and call startView() to create RUM views and be aligned with how you’ve defined them in your SPA application routing.

Signature:

startView: {
 (name?: string): void;
 (options: ViewOptions): void;
 };