Skip to main content

Hi,

Is there a way to prevent page view tracking on one specific page of our application? We want to track them in most places, but there are a couple of pages we’d like to avoid. Is that possible?

 

Thanks!

Hi @Jorge Mir Alvarez 

Are you using the Browser SDK for instrumenting page view events?


@Saish Redkar yes, we are.


If you are tracking the default page view events, then there are couple of configuration options in the SDK which can enable some control on what to track and omit - https://www.docs.developers.amplitude.com/data/sdks/browser-2/#advanced-configuration-for-tracking-page-views

I haven’t used this option, but you can give it a shot. If not, then you would need to write the blocking condition yourself on your client instrumentation code.

Amplitude gives the ability of blocking certain events on their side, but currently that is limited to only the entire event and not on a given event property value.

 

 


Reply