When our graphics are embedded, Pym appends a bunch of URL params with info about the parent location, iframe width, etc. These are useful in their own way, but they make for messy URLs in the GA4 reporting and it's hard to look at traffic to individual embeds within a multi-page graphics project.
See "document location" below in the GA tracking for this graphic.
When we send the pageview event, can we trim off the extra URL params on the document location so it's just the page URL?
And then secondarily, we'll want to update the GA tracking for the interactive template to make sure embeds there are handled similarly (and don't also strip out any non-pym url params, in case there are project-specific params we want to track — thinking of how values are passed for elections embeds).