Missing page titles

I have two sites that share the same product database. The Matomo tracking code installed on the site that actually hosts the database reads the product details page titles as well as the url. The tracking code on the remote site, that does not host the database, does not display the page titles, only the url.

I can go into a lot more detail about the setup, but does this ring any bells?

No bells ringing here, might be able to say more after seeing both tracking codes.

Thanks I have solved it. It was a coding
issue.