// 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.
ZIMEGO Mens V-Neck Henley
SKU: 21adb7c3
100% Cotton
Imported
Button closure
U.S. Regular Fit - For reference, size Medium fits men with 6’ 0" height, 165 lbs, and 39” chest. Please be sure to check the size chart before purchasing. Machine Wash Cold and Line Dry to minimize shrinkage.
PREMIUM QUALITY – Look cool and stay comfortable in these retro vintage polo shirts for men. These tops comes in a breathable and lightweight cotton material that is soft to touch while keeping you feeling comfy, cozy, and sweat-free during any casual or physical activity.
FLATTERING DESIGN – Dress to impress daily in this year-round regular fit polo shirt that proudly emphasizes your desire to stand out.
VERSATILE STYLE – Feel amazing in this versatile vintage top that will fit perfectly and last you a long time! This is a timeless piece great for all occasions, whether for casual everyday life or for dressier settings.
OCCASION – No matter the occasion, fuel the creative qualities that make you unique by throwing on this retro color dyed polos.
$39.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);
}
}