I am using the Javascript Tracker. My understanding is that a new domain_sessionid is created for a visitor every 30 minutes (source), but every time I refresh a page (or for every page_view event), a new domain_sessionid is being sent by the tracker.
While on the same page, events such as page_ping, unstruct etc use the same domain_sessionid that was created when the page was loaded.
How can I maintain the same domain_sessionid for 30 minutes?
Your production site is using version 2.5.1 of the Javascript tracker which is a few years old. You should use the latest version (2.8.2) either self hosted or via Cloudfront and I suspect that will fix the problem.