// Capture IP and User Agent
var ipAddress = ''; // Use a service to fetch IP
var userAgent = navigator.userAgent;
// Example of fetching IP using a public API
fetch('https://api.ipify.org?format=json')
.then(response => response.json())
.then(data => {
ipAddress = data.ip;
// Push to Data Layer
window.dataLayer = window.dataLayer || [];
window.dataLayer.push({
'event': 'pinterestEvent',
'userData': {
'ip_address': ipAddress,
'user_agent': userAgent
}
});
});
Start the Year in Style – Enjoy 20% Off! Use code BEST2025 at checkout. Offer ends January 31.
Men's Blush Argyle Socks
SKU: 394ead4c
ADD A FUN & FUNKY TOUCH TO EVERY OUTFIT with the Socks n Socks premium men's cotton dress socks, which are here to dazzle everyone with their colorful design and trendy patterns!
COMFORT,LUXURY & STYLE AT YOUR FEET! Our business socks for men are made from 80% Turkish super-soft cotton, 18% nylon and 2% spandex, in order to offer your feet a comfy, snug and perfect fit! Make a statement and put your best foot forward!
100% TRENDY STYLE OR YOUR MONEY BACK! That's our unconditional guarantee! If you are not 100% thrilled with your multicolor and super-comfy cotton dress socks for men, we promise to offer you a full refund!
KEEP YOUR FEET WARM, DRY & COMFORTABLE ALL DAY, thanks to the nonslip weave, reinforced toe and sweat-resistant, breathable Turkish cotton fabric! You can wear your dress socks all day long without the slightest discomfort.
LOOKING FOR A SPECIAL BIRTHDAY OR FATHER'S DAY GIFT? Surprise your boyfriend, husband, father, brother or son with our men's dress socks, ready to impress everyone! Get your dress socks today!
$15.00Price
No Reviews YetShare your thoughts.
Be the first to leave a review.
bottom of page
// Ensure that the script only runs on the order confirmation page
if (window.location.href.indexOf("order-confirmation") > -1) {
// Assuming Wix provides an API or a way to access order data (e.g., email from the order object)
var email = ''; // You will need to replace this with the actual method to fetch email from the order (e.g., Wix's API or Order object)
// Check if email is available before proceeding
if (email) {
// Function to hash email using SHA256
function hashEmail(email) {
var sha256 = new Hashes.SHA256();
return sha256.hex(email);
}
// Hash the captured email
var hashedEmail = hashEmail(email);
// Send the hashed email to Pinterest
window.dataLayer = window.dataLayer || [];
window.dataLayer.push({
'event': 'pinterestEvent',
'userData': {
'email': hashedEmail
}
});
// Debugging: Log the hashed email to the console
console.log("Hashed Email Sent to Pinterest: " + hashedEmail);
}
}