In one of our applications, a specific page that has a query string where we'd like to either edit or remove one specific parameter or remove the query string altogether before sending an event to Facebook/Meta. However, the tag documentation from FB doesn't seem to support defining a custom URL to send along with the events. In the Facebook connector script itself, it appears to set the 'dl' parameter as location.href and doesn't look for any other value besides that. Does anyone know if this is possible? I've thought about setting a custom event instead of the standard ones but I don't think that will avoid the issue of the pixel capturing the location.href. I could also try using an image pixel but that's not a desirable solution.
... View more