Usage of deprecatedReplaceInURN for Macros in path macros

Image 1 Image 2 Image 3 Image 4
Here we see numerous privacy professors teaching their class about how to do string replacement. - iSac, ChatGPT, April 21, 2024.

deprecatedReplaceInURN Usage for Macros in Path

Overview

Here we demonstrate usage of deprecatedReplaceInURN a bit. Chrome is in the process of making the availability and documentation of deprecatedReplaceInURN more official, but it will be around until 2026 as discussed here.

Prereqs

I haven't gotten back to Chrome yet on getting my attestation down, so for now see here.

Test

We do a relatively simple test here where this page (pst-one) is the "publisher page", uses pst-ssp.com to run a private auction on page, where pst-dsp.com is invited to bid and returns a creative served from pst-dsp.com.

See Me Work!!!

Submit a message you would like to see substituted into the call to the creative server in the someId path macro here /frames/deprecatedReplaceInURN/replace-path-macro/creative/id/%%some_id%%/whatever.

The JS doing the replacement is here.
The server serving the "creative" is here.

Implications

I'm not sure this gets us a whole lot beyond what we get query param swaps. We can't do anything with DNS just based on path, it would potentially integrate better with some existing application logic, including L7 routing...will continue to think...maybe guaranteed ordering?