Guys, for some reason, rudderstack still sends “Vi...
# support
w
Guys, for some reason, rudderstack still sends “Viewed <Page title> Page” to Amplitude. Any idea how I can prevent this?
g
Hey @wooden-notebook-24208 can you provide any additional information? Are you not sending page calls to RudderStack? Which SDK are you using? What calls are you trying to send to RudderStack/Amplitude?
w
NPM: “rudder-sdk-js”: “1.0.12"
Copy code
rudderEvents: {
          vars: {
            writeKey: process.env.RUDDER_AMP_WRITE_KEY,
            dataPlaneUrl: process.env.RUDDER_PLANE_URI,
            pageName: consultationResponse
              ? `${consultationResponse.title} - ${app.i18n.t('consultation.title')} ${currentMarket.countryName} — ${app.i18n.t('globals.siteName')}`
              : `${app.i18n.t('errorMessages.consultationNotFound')} — ${app.i18n.t('globals.siteName')}`
          },
          triggers: {
            renderStart: {
              on: 'render-start',
              request: 'track',
              vars: {
                eventName: 'Question visited'
              },
              extraUrlParams: {
                'properties.question_id': consultationResponse.id,
                'properties.answers_count': consultationResponse.answers_count,
                'properties.premium': !!(consultationResponse.urgent || consultationResponse.is_private)
              }
            }
          },
Any idea?