library(httptest)
set_requester(
function(r) {
gsub_request(
gsub_request(
r,
# Prune the fake domain
"https\\://connect.example/",
""
),
# Truncate GUIDs to 8 characters
"([0-9a-f]{8})\\-[0-9a-f\\-]{27}",
"\\1"
)
}
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.