// 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 } }); });
top of page
Luxury Aviation Sunglasses

Luxury Aviation Sunglasses

SKU: 4000507504913

Department Name: ADULT
Lens Color 1: red sunglasses black sunglasses blue
Sunglasses Function: 100%UV400 protection,Sun Glasses
Use Occasions: Fishing Sunglasses Shopping,Party,Travel
Lens Color 2: clear sunglasses orange sunglasses Gray
Sunglasses Feature: Fashion,Luxury,Lightweight,Stylish
Brand Name: OwnSense
Item Type: EYEWEAR
Model Number: a_2580
Eyewear Type: Sunglasses
Style: Rimless
Frame Material: Alloy
Lenses Material: Plastic
Lenses Optical Attribute: UV400
Lens Width: 58MM
Lens Height: 53MM
Gender: Women

    PriceFrom $15.75
    No Reviews YetShare your thoughts. Be the first to leave a review.
    • Instagram
    • Pinterest

    ©2024 by B You. All Rights Reserved.

    539 W. Commerce St #5729   Dallas, TX 75208

    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); } }