- Our ‘Search’ now searches every page on our website, including informational pages and new articles.
- You can add products to your ‘Wish List’ in order to save products that you may want to buy.
- If you want to check on your order, look at your wish list, or enter a Return Request, and much more, you must log in to your account and click on ‘My Account’
- Jewelry Club Members: Your discount will now be automatically deducted from each product price, instead of one lump discount after the order subtotal. Please let us know if you have any questions about this.
window.onload = function() {
var pathName = window.location.pathname;
fbq('track', 'PageView', {},
"");
// Search events start -- only fire if the shopper lands on the /search.php page
if (pathName.indexOf('/search.php') === 0 && getUrlParameter('search_query')) {
fbq('track', 'Search', {
content_type: 'product_group',
content_ids: [],
search_string: getUrlParameter('search_query')
});
}
// Search events end
// Wishlist events start -- only fire if the shopper attempts to add an item to their wishlist
if (pathName.indexOf('/wishlist.php') === 0 && getUrlParameter('added_product_id')) {
fbq('track', 'AddToWishlist', {
content_type: 'product_group',
content_ids: []
});
}
// Wishlist events end
// Lead events start -- only fire if the shopper subscribes to newsletter
if (pathName.indexOf('/subscribe.php') === 0 && getUrlParameter('result') === 'success') {
fbq('track', 'Lead', {});
}
// Lead events end
// Registration events start -- only fire if the shopper registers an account
if (pathName.indexOf("https://www.cheapwholesalejewelry.com/login.php") === 0 && getUrlParameter('action') === 'account_created') {
fbq('track', 'CompleteRegistration', {}, "");
}
// Registration events end
// Checkout events start -- only fire if the shopper lands on a /checkout* page
if (pathName === '/checkout.php' || /^/(embedded-)?checkout$/.test(pathName)) {
window.sessionStorage.setItem('fb_conversion_key_', 'true');
if (getUrlParameter('action') === 'process_payment') {
fbq('track', 'AddPaymentInfo');
} else {
fbq('track', 'InitiateCheckout');
}
}
// Checkout events end
function getUrlParameter(name) {
var cleanName = name.replace(/[[]/, '[').replace(/[]]/, ']');
var regex = new RegExp('[?&]' + cleanName + '=([^]*)');
var results = regex.exec(window.location.search);
return results === null ? '' : decodeURIComponent(results[1].replace(/+/g, ' '));
}
}
CheapWholesaleJewelry.com User Quick Tips – CheapWholesaleJewelry.com originally appeared via www.cheapwholesalejewelry.com