jQuery(function ($) { $.ajax({ url: "http://winetravelcard.com/ny/wp-admin/admin-ajax.php", data: { current: window.location.href, referral: escape(document.referrer), action: 'prion_tracking', page: 'prion-tracking-post', priontracking: '1' }, success: function(data) {}, type: 'POST' }); });