Hi Snowplowers,
Recently we are seeing an issue with automatically generating the page title column for some pages.
Please see the screenshow below for the title tag in the DOM:
Just to be sure that there is nothing weird happening with the page title, could you perhaps log the page title at the same time as you call snowplow('trackPageView');? Just put a console.log(document.title); before the page view call and see what it tells you.
If I’m reading that right, you get the title in the page view that you triggered from the console (I assume the first on in the table that you posted is the newer one).
But I wanted to see what is the output of document.title when the page is being initialized and tracking is set up, not when you call it from the console. I am not familiar with the @analytics/snowplow package, but I assume that you make a call like analytics.page() to track a page view? That’s when you should make sure to have the page title present. Could you add the console.log(document.title) call at that exact place to debug this?
There is now a v0.3.3 release of this library, which uses v3 of the Snowplow JavaScript Tracker (and no longer requires you to load an external sp.js file). You could try and upgrade to that and see if it helps.