// 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 Men's Vintage Lightweight Thermal Henley
SKU: 6759283a
60% Cotton, 40% Polyester
Button closure
Machine Wash, Tumble Dry LOW Heat, Do Not Bleach
SIZE REFERENCE: Size Medium fits men with a height of 6', a weight of 165 lbs, 38" chest. Please check with the size chart before ordering our mens thermal henley!
STYLISH DESIGN: These casual henley offer a classic aesthetic design with unique details of contrast fabrics, stitches and seam lines. Mens waffle henley are the perfect addition to any outfit!
VERSATILE HENLEY: Men's button neck henley are a wardrobe staple for any occasion. Whether you're going to work, school, lounging at home, party or night out, these shirt will be your go-to.
EXCELLENT QUALITY - Why bother with shirts that are stuffy and uncomfortable? Our crewneck henley shirt for men are made of lightweight and breathable thermal fabric that lets you move in complete comfort.
ZIMEGO DIFFERENCE: ZIMEGO cool henley for men are a perfect blend of fashion and functionality. We take pride in the quality of our designer t-shirts for men.
$36.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);
}
}