Skip to main content

Hello, I’m facing this problem where my Amplitude dashboard still contains empty page titles even though I am seeing the events being sent on the web app.

 

For context, I’m using NextJS. The page title is generated using generateMetadata

 

I am not able to figure out why we are still receiving events with empty page titles.

 

Screenshot of Amplitude Data Table

 

Hi Andy,

Thank you for reaching out. I understand how frustrating it can be to see empty page titles in your Amplitude dashboard, especially when you are certain that events are being sent from your web app. Based on your description, it seems that the issue might be related to how the page titles are being captured and sent to Amplitude. While we aren't experts on the NextJS platform, here are a few steps you can take to troubleshoot this issue:

1. Verify Metadata Generation: Ensure that the generateMetadata function in NextJS is correctly generating and updating the page titles before the events are sent to Amplitude.
2. Check Event Payloads: Inspect the payloads being sent to Amplitude to confirm that the page titles are included and correctly populated. You can use browser developer tools to monitor network requests and verify the data being sent.
3. Review Integration Setup: Double-check your integration setup between NextJS and Amplitude to ensure that all necessary configurations are in place for capturing and sending page titles.
4. Consult Documentation: Refer to the NextJS and Amplitude documentation for any specific guidelines or updates related to metadata handling and event tracking.

If the issue persists after trying these steps, please let me know, and I'll be happy to assist further. Thank you for using Amplitude, and I look forward to helping you resolve this issue.

Best,
Jarren


P.S. Checkout upcoming events and user meetups on our events page.

Reply