Overrides other SPA `save` calls; ignores an interaction so it is not be saved or sent to New Relic.


Requires New Relic Browser agent version nr-963 or higher.

Access to this feature depends on your subscription level. New Relic's single page app (SPA) monitoring is only available with New Relic Browser Pro.


This SPA method will cause an interaction to be ignored. It will not be saved or sent to New Relic Browser. This method overrides any previous or subsequent calls to save.

Return value(s)

This method returns the same API object created by newrelic.interaction().


router.addRoute('/uninteresting-route', () => {
    newrelic.interaction() // Get handle to current interaction.
        .ignore() // Ignore this interaction to ensure it will not be saved.
    renderUninterestingRoute() // Render route.