jQuery = jQuery||$; var ajaxurl = 'https://zuru.com/wp-admin/admin-ajax.php'; jQuery(document).ready(function(){ $("body").on('click', ".vote_item_outdoortoy a", function(){ domain = window.location.host; source_url = window.location.href; page_url = ""; element_name = "Vote Outdoor Toy Click"; jQuery.ajax({ type:'post', url:ajaxurl, data:{'action':'viewclick','domain':domain,'page_url':page_url,'source_url':source_url,'element_name':element_name}, cache:false, dataType:'json', success:function(result){ return true; } }); }) $("body").on('click', ".vote_item_collectable a", function(){ domain = window.location.host; source_url = window.location.href; page_url = ""; element_name = "Vote Collectable Click"; jQuery.ajax({ type:'post', url:ajaxurl, data:{'action':'viewclick','domain':domain,'page_url':page_url,'source_url':source_url,'element_name':element_name}, cache:false, dataType:'json', success:function(result){ return true; } }); }) $("body").on('click', ".vote_item_plushtoy a", function(){ domain = window.location.host; source_url = window.location.href; page_url = ""; element_name = "Vote Plush Toy Click"; jQuery.ajax({ type:'post', url:ajaxurl, data:{'action':'viewclick','domain':domain,'page_url':page_url,'source_url':source_url,'element_name':element_name}, cache:false, dataType:'json', success:function(result){ return true; } }); }) $("body").on('click', ".sg-cross-word .mainImg img", function(){ domain = window.location.host; source_url = window.location.href; page_url = ""; element_name = "SG CROSS WORD"; jQuery.ajax({ type:'post', url:ajaxurl, data:{'action':'viewclick','domain':domain,'page_url':page_url,'source_url':source_url,'element_name':element_name}, cache:false, dataType:'json', success:function(result){ return true; } }); }) $("body").on('click', ".sg-coloring-b .mainImg img", function(){ domain = window.location.host; source_url = window.location.href; page_url = ""; element_name = "SG COLORING - B"; jQuery.ajax({ type:'post', url:ajaxurl, data:{'action':'viewclick','domain':domain,'page_url':page_url,'source_url':source_url,'element_name':element_name}, cache:false, dataType:'json', success:function(result){ return true; } }); }) $("body").on('click', ".sg-coloring-a .mainImg img", function(){ domain = window.location.host; source_url = window.location.href; page_url = ""; element_name = "SG COLORING - A "; jQuery.ajax({ type:'post', url:ajaxurl, data:{'action':'viewclick','domain':domain,'page_url':page_url,'source_url':source_url,'element_name':element_name}, cache:false, dataType:'json', success:function(result){ return true; } }); }) $("body").on('click', "#kids-zone.kids-page .collector-s-guide .btn", function(){ domain = window.location.host; source_url = window.location.href; page_url = ""; element_name = "KIDS COLLECTORS GUIDE BUTTON"; jQuery.ajax({ type:'post', url:ajaxurl, data:{'action':'viewclick','domain':domain,'page_url':page_url,'source_url':source_url,'element_name':element_name}, cache:false, dataType:'json', success:function(result){ return true; } }); }) $("body").on('click', "#kids-zone.kids-page .coloring-in .btn", function(){ domain = window.location.host; source_url = window.location.href; page_url = ""; element_name = "KIDS COLORING IN BUTTON"; jQuery.ajax({ type:'post', url:ajaxurl, data:{'action':'viewclick','domain':domain,'page_url':page_url,'source_url':source_url,'element_name':element_name}, cache:false, dataType:'json', success:function(result){ return true; } }); }) $("body").on('click', "#kids-zone.kids-page .view-more .btn", function(){ domain = window.location.host; source_url = window.location.href; page_url = ""; element_name = "KIDS VIEW MORE BUTTON"; jQuery.ajax({ type:'post', url:ajaxurl, data:{'action':'viewclick','domain':domain,'page_url':page_url,'source_url':source_url,'element_name':element_name}, cache:false, dataType:'json', success:function(result){ return true; } }); }) $("body").on('click', "#kids-zone.kids-page .wbs .btn", function(){ domain = window.location.host; source_url = window.location.href; page_url = ""; element_name = "KIDS WBS BUTTON"; jQuery.ajax({ type:'post', url:ajaxurl, data:{'action':'viewclick','domain':domain,'page_url':page_url,'source_url':source_url,'element_name':element_name}, cache:false, dataType:'json', success:function(result){ return true; } }); }) $("body").on('click', "#kids-zone.kids-page .unboxing .btn", function(){ domain = window.location.host; source_url = window.location.href; page_url = ""; element_name = "KIDS UNBOXING BUTTON"; jQuery.ajax({ type:'post', url:ajaxurl, data:{'action':'viewclick','domain':domain,'page_url':page_url,'source_url':source_url,'element_name':element_name}, cache:false, dataType:'json', success:function(result){ return true; } }); }) $("body").on('click', "#kids-zone.kids-page .videoPlay", function(){ domain = window.location.host; source_url = window.location.href; page_url = ""; element_name = "Kids Video Play Button"; jQuery.ajax({ type:'post', url:ajaxurl, data:{'action':'viewclick','domain':domain,'page_url':page_url,'source_url':source_url,'element_name':element_name}, cache:false, dataType:'json', success:function(result){ return true; } }); }) $("body").on('click', ".videos-image-overlay", function(){ domain = window.location.host; source_url = window.location.href; page_url = ""; element_name = "Video Play Button"; jQuery.ajax({ type:'post', url:ajaxurl, data:{'action':'viewclick','domain':domain,'page_url':page_url,'source_url':source_url,'element_name':element_name}, cache:false, dataType:'json', success:function(result){ return true; } }); }) $("body").on('click', "#agegate_layout .goto_kids", function(){ domain = window.location.host; source_url = window.location.href; page_url = ""; element_name = "Age Gate Go To Kids Page"; jQuery.ajax({ type:'post', url:ajaxurl, data:{'action':'viewclick','domain':domain,'page_url':page_url,'source_url':source_url,'element_name':element_name}, cache:false, dataType:'json', success:function(result){ return true; } }); }) $("body").on('click', "#agegate_layout .goto_adults", function(){ domain = window.location.host; source_url = window.location.href; page_url = ""; element_name = "Age Gate Continue Button"; jQuery.ajax({ type:'post', url:ajaxurl, data:{'action':'viewclick','domain':domain,'page_url':page_url,'source_url':source_url,'element_name':element_name}, cache:false, dataType:'json', success:function(result){ return true; } }); }) $("body").on('click', ".category-careers .job-result-item .text-right a", function(){ domain = window.location.host; source_url = window.location.href; page_url = ""; element_name = "Job Apply Button"; jQuery.ajax({ type:'post', url:ajaxurl, data:{'action':'viewclick','domain':domain,'page_url':page_url,'source_url':source_url,'element_name':element_name}, cache:false, dataType:'json', success:function(result){ return true; } }); }) $("body").on('click', "#product-detail-body .where-to-buy-btn", function(){ domain = window.location.host; source_url = window.location.href; page_url = ""; element_name = "Product WTB Button"; jQuery.ajax({ type:'post', url:ajaxurl, data:{'action':'viewclick','domain':domain,'page_url':page_url,'source_url':source_url,'element_name':element_name}, cache:false, dataType:'json', success:function(result){ return true; } }); }) $("body").on('click', ".zuru_wtb_button", function(){ domain = window.location.host; source_url = window.location.href; page_url = ""; element_name = "Footer Where To Buy"; jQuery.ajax({ type:'post', url:ajaxurl, data:{'action':'viewclick','domain':domain,'page_url':page_url,'source_url':source_url,'element_name':element_name}, cache:false, dataType:'json', success:function(result){ return true; } }); }) $("body").on('click', ".learn-more-button-8977", function(){ domain = window.location.host; source_url = window.location.href; page_url = ""; element_name = "HOME LEARN MORE"; jQuery.ajax({ type:'post', url:ajaxurl, data:{'action':'viewclick','domain':domain,'page_url':page_url,'source_url':source_url,'element_name':element_name}, cache:false, dataType:'json', success:function(result){ return true; } }); }) $("body").on('click', "#kids-zone.kids-page .tvc .btn", function(){ domain = window.location.host; source_url = window.location.href; page_url = ""; element_name = "KIDS TVC BTN"; jQuery.ajax({ type:'post', url:ajaxurl, data:{'action':'viewclick','domain':domain,'page_url':page_url,'source_url':source_url,'element_name':element_name}, cache:false, dataType:'json', success:function(result){ return true; } }); }) $("body").on('click', ".avia-menu-text-aboutus", function(){ domain = window.location.host; source_url = window.location.href; page_url = ""; element_name = "Menu To About Us Page"; jQuery.ajax({ type:'post', url:ajaxurl, data:{'action':'viewclick','domain':domain,'page_url':page_url,'source_url':source_url,'element_name':element_name}, cache:false, dataType:'json', success:function(result){ return true; } }); }) $("body").on('click', ".avia-menu-text-inventors", function(){ domain = window.location.host; source_url = window.location.href; page_url = ""; element_name = "Menu To Inventors Page"; jQuery.ajax({ type:'post', url:ajaxurl, data:{'action':'viewclick','domain':domain,'page_url':page_url,'source_url':source_url,'element_name':element_name}, cache:false, dataType:'json', success:function(result){ return true; } }); }) $("body").on('click', ".avia-menu-text-community", function(){ domain = window.location.host; source_url = window.location.href; page_url = ""; element_name = "Menu To Community Page"; jQuery.ajax({ type:'post', url:ajaxurl, data:{'action':'viewclick','domain':domain,'page_url':page_url,'source_url':source_url,'element_name':element_name}, cache:false, dataType:'json', success:function(result){ return true; } }); }) $("body").on('click', ".avia-menu-text-videos", function(){ domain = window.location.host; source_url = window.location.href; page_url = ""; element_name = "Menu To Video Page"; jQuery.ajax({ type:'post', url:ajaxurl, data:{'action':'viewclick','domain':domain,'page_url':page_url,'source_url':source_url,'element_name':element_name}, cache:false, dataType:'json', success:function(result){ return true; } }); }) $("body").on('click', ".avia-menu-text-products", function(){ domain = window.location.host; source_url = window.location.href; page_url = ""; element_name = "Menu To Product Page"; jQuery.ajax({ type:'post', url:ajaxurl, data:{'action':'viewclick','domain':domain,'page_url':page_url,'source_url':source_url,'element_name':element_name}, cache:false, dataType:'json', success:function(result){ return true; } }); }) $("body").on('click', ".avia-menu-text-brands", function(){ domain = window.location.host; source_url = window.location.href; page_url = ""; element_name = "Menu To Brand Page"; jQuery.ajax({ type:'post', url:ajaxurl, data:{'action':'viewclick','domain':domain,'page_url':page_url,'source_url':source_url,'element_name':element_name}, cache:false, dataType:'json', success:function(result){ return true; } }); }) $("body").on('click', "#about-behind-the-scene-btn", function(){ domain = window.location.host; source_url = window.location.href; page_url = ""; element_name = "about behind the scene"; jQuery.ajax({ type:'post', url:ajaxurl, data:{'action':'viewclick','domain':domain,'page_url':page_url,'source_url':source_url,'element_name':element_name}, cache:false, dataType:'json', success:function(result){ return true; } }); }) $("body").on('click', ".learn-more-button-2586", function(){ domain = window.location.host; source_url = window.location.href; page_url = ""; element_name = "Home About Us Button"; jQuery.ajax({ type:'post', url:ajaxurl, data:{'action':'viewclick','domain':domain,'page_url':page_url,'source_url':source_url,'element_name':element_name}, cache:false, dataType:'json', success:function(result){ return true; } }); }) })