Explore the synergistic partnership between Seneca Foods and Ruan in this one-page document, highlighting their successful ‘Can’ Do collaboration. Learn how Seneca Foods, a prominent shelf-to-table business, strategically selected Ruan for Dedicated Contract Transportation, achieving significant cost savings and ensuring consistent, efficient production.
Download the complimentary report today to access the full insights.
#myIframe {
height: 1020px !important;
}
@media (min-width: 768px) {
#myIframe {
height: 980px !important;
}
}
@media (min-width: 1024px) {
#myIframe {
height: 1000px !important;
}
}
// Function to create the iframe URL
function createIframeURL() {
// Get the parent URL and create a URLSearchParams object
var parentURL = new URL(window.location.href);
var params = new URLSearchParams(parentURL.search);
// Construct the iframe URL with all parameters
var iframeURL = "https://freightwaves.dragonforms.com/loading.do?omedasite=0184MediaWhitePaperSeneca_Ruan20231228";
// Loop through all parameters and append them to the iframe URL
for (const param of params.entries()) {
var key = param[0];
var value = param[1];
iframeURL += `&${encodeURIComponent(key)}=${encodeURIComponent(value)}`;
}
// Set the iframe URL
var iframe = document.getElementById("myIframe");
iframe.src = iframeURL;
}
// Call the function on page load
createIframeURL();
window.addEventListener("message", function(event) {
console.log('Event',event.data);
// Check if the origin of the event matches the expected iframe domain
if (event.origin === "https://freightwaves.dragonforms.com") {
// Handle the message received from the iframe here
if (event.data.message === "redirect") {
console.log("Redirecting...");
// Construct the redirect URL with the email parameter
const redirectUrl = "https://bit.ly/48ByQGf";
// Perform the redirection
window.location.href = redirectUrl;
} else {
console.log("Message received, but not a redirect.");
}
} else {
console.log("Received message from unexpected origin:", event.origin);
}
}, false);
The post White Paper: Seneca Foods and Ruan Have a “Can” Do Partnership appeared first on FreightWaves.
Source: freightwaves - White Paper: Seneca Foods and Ruan Have a “Can” Do Partnership
Editor: Sponsor