Unlock the Secrets to Pitching Success!
Welcome, Coaches and Parents!
Are you on the lookout for ways to elevate your young pitcher's game to the next level? Do you want to arm them with the skills and techniques that set the foundation for a promising pitching career? Look no further! We're thrilled to offer you an exclusive FREE download of our specially curated guide: "5 Pitching Drills for Youth Pitchers." These drills are designed not only to improve accuracy and power but also to instill the fundamentals of healthy pitching mechanics, reducing the risk of injury.
Expert Advice
Our drills are designed by seasoned coaches and ex-professional pitchers, ensuring your young athlete learns from the best.
Easy to Follow
Each drill includes step-by-step instructions and visual aids, making it easy for pitchers of all levels to understand and execute.
Injury Prevention
Learn how to maintain a healthy arm with techniques that minimize stress on young shoulders and elbows.
Boost Performance
These drills are proven to enhance pitching performance, giving youth pitchers the edge they need to succeed.
Check out our other great products!
Get your Free Ultimate Youth Pitching drills
Marietta Base Ball Academy
(window.wpmDataLayer = window.wpmDataLayer || {}).products = window.wpmDataLayer.products || {};
window.wpmDataLayer.products[11763] = {"id":"11763","sku":"","price":31.99,"brand":"","quantity":1,"dyn_r_ids":{"post_id":"11763","sku":11763,"gpf":"woocommerce_gpf_11763","gla":"gla_11763"},"is_variable":true,"type":"variable","name":"Defensive Situations Guide","category":["Baseball Guides"],"is_variation":false};
window.pmw_product_position = window.pmw_product_position || 1;
window.wpmDataLayer.products[11763]['position'] = window.pmw_product_position++;
(window.wpmDataLayer = window.wpmDataLayer || {}).products = window.wpmDataLayer.products || {};
window.wpmDataLayer.products[11767] = {"id":"11767","sku":"","price":31.99,"brand":"","quantity":1,"dyn_r_ids":{"post_id":"11767","sku":11767,"gpf":"woocommerce_gpf_11767","gla":"gla_11767"},"is_variable":true,"type":"variable","name":"Base Running Situations Guide","category":["Baseball Guides"],"is_variation":false};
window.pmw_product_position = window.pmw_product_position || 1;
window.wpmDataLayer.products[11767]['position'] = window.pmw_product_position++;
(window.wpmDataLayer = window.wpmDataLayer || {}).products = window.wpmDataLayer.products || {};
window.wpmDataLayer.products[11828] = {"id":"11828","sku":"","price":7.99,"brand":"","quantity":1,"dyn_r_ids":{"post_id":"11828","sku":11828,"gpf":"woocommerce_gpf_11828","gla":"gla_11828"},"is_variable":false,"type":"simple","name":"Baseball Game Planner","category":["Digital Products"],"is_variation":false};
window.pmw_product_position = window.pmw_product_position || 1;
window.wpmDataLayer.products[11828]['position'] = window.pmw_product_position++;
window._wca = window._wca || [];
var wcpayAssets = {"url":"https://mbaseballacademy.com/wp-content/plugins/woocommerce-payments/dist/"};
//# sourceURL=WCPAY_ASSETS-js-extra
var breeze_prefetch = {"local_url":"https://mbaseballacademy.com","ignore_remote_prefetch":"1","ignore_list":["/?wc-api=wc_facebook_get_feed_data&secret=829612f3e9f51e2f78c233ec80baaee0","/cart/","/checkout/","/my-account/","wp-admin","wp-login.php"]};
//# sourceURL=breeze-prefetch-js-extra
https://mbaseballacademy.com/wp-content/boost-cache/static/ca0a31b03a.min.js
https://mbaseballacademy.com/wp-includes/js/jquery/jquery.min.js
var wc_add_to_cart_params = {"ajax_url":"/wp-admin/admin-ajax.php","wc_ajax_url":"/?wc-ajax=%%endpoint%%","i18n_view_cart":"View cart","cart_url":"https://mbaseballacademy.com/cart/","is_cart":"","cart_redirect_after_add":"yes"};
//# sourceURL=wc-add-to-cart-js-extra
var wc_cart_fragments_params = {"ajax_url":"/wp-admin/admin-ajax.php","wc_ajax_url":"/?wc-ajax=%%endpoint%%","cart_hash_key":"wc_cart_hash_1a8b08e70e9a5d82a1f1b69635ee5008","fragment_name":"wc_fragments_1a8b08e70e9a5d82a1f1b69635ee5008","request_timeout":"5000"};
//# sourceURL=wc-cart-fragments-js-extra
var woocommerce_params = {"ajax_url":"/wp-admin/admin-ajax.php","wc_ajax_url":"/?wc-ajax=%%endpoint%%","i18n_password_show":"Show password","i18n_password_hide":"Hide password"};
//# sourceURL=woocommerce-js-extra
https://mbaseballacademy.com/wp-content/boost-cache/static/be0a92e771.min.js
https://mbaseballacademy.com/wp-includes/js/jquery/ui/datepicker.min.js
jQuery(function(jQuery){jQuery.datepicker.setDefaults({"closeText":"Close","currentText":"Today","monthNames":["January","February","March","April","May","June","July","August","September","October","November","December"],"monthNamesShort":["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"nextText":"Next","prevText":"Previous","dayNames":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],"dayNamesShort":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"dayNamesMin":["S","M","T","W","T","F","S"],"dateFormat":"MM d, yy","firstDay":1,"isRTL":false});});
//# sourceURL=jquery-ui-datepicker-js-after
var WTSmartCouponOBJ = {"ajaxurl":"https://mbaseballacademy.com/wp-admin/admin-ajax.php","wc_ajax_url":"https://mbaseballacademy.com/?wc-ajax=","nonces":{"public":"162a829714","apply_coupon":"0032b752d9"},"labels":{"please_wait":"Please wait...","choose_variation":"Please choose a variation","error":"Error !!!"},"shipping_method":[],"payment_method":"","is_cart":""};
//# sourceURL=wt-smart-coupon-for-woo-js-extra
https://mbaseballacademy.com/wp-content/boost-cache/static/3a1c8eeac4.min.js
var wpm = {"ajax_url":"https://mbaseballacademy.com/wp-admin/admin-ajax.php","root":"https://mbaseballacademy.com/wp-json/","nonce_wp_rest":"c2d54ee6f3","nonce_ajax":"15e16feae3"};
//# sourceURL=wpm-js-extra
https://mbaseballacademy.com/wp-content/plugins/woocommerce-google-adwords-conversion-tracking-tag/js/public/wpm-public.p1.min.js
var ConvAioGlobal = {"nonce":"e3b5eceb58"};
//# sourceURL=enhanced-ecommerce-google-analytics-js-extra
https://mbaseballacademy.com/wp-content/plugins/enhanced-e-commerce-for-woocommerce-store/public/js/con-gtm-google-analytics.js
tvc_smd={"tvc_wcv":"10.6.2","tvc_wpv":"6.9.4","tvc_eev":"7.2.10","tvc_cnf":{"t_cg":"","t_ec":"","t_ee":"on","t_df":"","t_gUser":"1","t_UAen":"on","t_thr":"6","t_IPA":"1","t_PrivacyPolicy":"1"},"tvc_sub_data":{"sub_id":"73153","cu_id":"63050","pl_id":"1","ga_tra_option":"","ga_property_id":"","ga_measurement_id":"","ga_ads_id":"","ga_gmc_id":"","ga_gmc_id_p":"","op_gtag_js":"0","op_en_e_t":"0","op_rm_t_t":"0","op_dy_rm_t_t":"0","op_li_ga_wi_ads":"0","gmc_is_product_sync":"0","gmc_is_site_verified":"0","gmc_is_domain_claim":"0","gmc_product_count":"0","fb_pixel_id":"","tracking_method":"","user_gtm_id":""}};
//# sourceURL=enhanced-ecommerce-google-analytics-js-after
https://mbaseballacademy.com/wp-content/uploads/breeze/google/gtag.js
!function(w,d){if(!w.rdt){var p=w.rdt=function(){p.sendEvent?p.sendEvent.apply(p,arguments):p.callQueue.push(arguments)};p.callQueue=[];var t=d.createElement("script");t.src="https://www.redditstatic.com/ads/pixel.js",t.async=!0;var s=d.getElementsByTagName("script")[0];s.parentNode.insertBefore(t,s)}}(window,document);rdt('init','a2_ghhos7ekuqgn');rdt('track', 'PageVisit');
var ajaxurl = 'https://mbaseballacademy.com/wp-admin/admin-ajax.php';
document.documentElement.className = document.documentElement.className.replace('no-js', 'js');
window.wpmDataLayer = window.wpmDataLayer || {};
window.wpmDataLayer = Object.assign(window.wpmDataLayer, {"cart":{},"cart_item_keys":{},"version":{"number":"1.49.1","pro":false,"eligible_for_updates":false,"distro":"fms","beta":false,"show":true},"pixels":{"google":{"linker":{"settings":null},"user_id":false,"ads":{"conversion_ids":{"AW-1013353367":"pbh1COqgk6EaEJeXmuMD"},"dynamic_remarketing":{"status":true,"id_type":"post_id","send_events_with_parent_ids":true},"google_business_vertical":"retail","phone_conversion_number":"","phone_conversion_label":""},"tag_id":"AW-1013353367","tag_gateway":{"measurement_path":""},"tcf_support":false,"consent_mode":{"is_active":true,"wait_for_update":500,"ads_data_redaction":false,"url_passthrough":true}}},"shop":{"list_name":"","list_id":"","page_type":"","currency":"USD","selectors":{"addToCart":[],"beginCheckout":[]},"order_duplication_prevention":true,"view_item_list_trigger":{"test_mode":false,"background_color":"green","opacity":0.5,"repeat":true,"timeout":1000,"threshold":0.8},"variations_output":true,"session_active":false},"page":{"id":11833,"title":"5 Pitching Drills For Youth Pitchers","type":"ulpb_post","categories":[],"parent":{"id":0,"title":"5 Pitching Drills For Youth Pitchers","type":"ulpb_post","categories":[]}},"general":{"user_logged_in":false,"scroll_tracking_thresholds":[],"page_id":11833,"exclude_domains":[],"server_2_server":{"active":false,"ip_exclude_list":[],"pageview_event_s2s":{"is_active":false,"pixels":[]}},"consent_management":{"explicit_consent":false},"lazy_load_pmw":false}});
var tvc_lc = 'USD';
var tvc_lc = 'USD';
window.dataLayer = window.dataLayer || [];
dataLayer.push({"event":"begin_datalayer","cov_remarketing":false,"conv_track_email":"1","conv_track_phone":"1","conv_track_address":"1","conv_track_page_scroll":"1","conv_track_file_download":"1","conv_track_author":"1","conv_track_signup":"1","conv_track_signin":"1"});
(function(w, d, s, l, i) {
w[l] = w[l] || [];
w[l].push({
'gtm.start': new Date().getTime(),
event: 'gtm.js'
});
var f = d.getElementsByTagName(s)[0],
j = d.createElement(s),
dl = l != 'dataLayer' ? '&l=' + l : '';
j.async = true;
j.src =
'https://mbaseballacademy.com/wp-content/uploads/breeze/google/gtm.js?id=' + i + dl;
f.parentNode.insertBefore(j, f);
})(window, document, 'script', 'dataLayer', 'GTM-NGTQ2D2P');
(window.gaDevIds = window.gaDevIds || []).push('5CDcaG');
var tvc_lc = 'USD';
var tvc_lc = 'USD';
!function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callMethod?
n.callMethod.apply(n,arguments):n.queue.push(arguments)};if(!f._fbq)f._fbq=n;
n.push=n;n.loaded=!0;n.version='2.0';n.queue=[];t=b.createElement(e);t.async=!0;
t.src=v;s=b.getElementsByTagName(e)[0];s.parentNode.insertBefore(t,s)}(window,
document,'script','https://mbaseballacademy.com/wp-content/uploads/breeze/facebook/fbevents.js');
fbq('init', '2846271042179391', {}, {
"agent": "woocommerce_6-10.6.2-3.6.2"
});
document.addEventListener( 'DOMContentLoaded', function() {
// Insert placeholder for events injected when a product is added to the cart through AJAX.
document.body.insertAdjacentHTML( 'beforeend', '<div class=\"wc-facebook-pixel-event-placeholder\"></div>' );
}, false );
( function( w, d, s, l, i ) {
w[l] = w[l] || [];
w[l].push( {'gtm.start': new Date().getTime(), event: 'gtm.js'} );
var f = d.getElementsByTagName( s )[0],
j = d.createElement( s ), dl = l != 'dataLayer' ? '&l=' + l : '';
j.async = true;
j.src = 'https://mbaseballacademy.com/wp-content/uploads/breeze/google/gtm.js?id=' + i + dl;
f.parentNode.insertBefore( j, f );
} )( window, document, 'script', 'dataLayer', 'GTM-PX3FVZGB' );
/* Add your custom Javascript here.*/
tvc_js = new TVC_GTM_Enhanced({"affiliation":"Marietta Baseball Academy","is_admin":"","tracking_option":"","property_id":"","measurement_id":"","google_ads_id":"","fb_pixel_id":"","fb_event_id":"dabc1f96027a48b4822a9601101a22f0","tvc_ajax_url":"https:\/\/mbaseballacademy.com\/wp-admin\/admin-ajax.php","is_global_fs_enabled":null});
/*
* Contact form 7 - formSubmit event
*/
var wpcf7Elm = document.querySelector('.wpcf7');
if (wpcf7Elm) {
wpcf7Elm.addEventListener('wpcf7submit', function(event) {
if (event.detail.status == 'mail_sent') {
tvc_js.formsubmit_cf7_tracking(event);
}
}, false);
}
/*
* Global - jjQuery event handler that is triggered when an AJAX request completes successfully.
*/
jQuery(document).ajaxSuccess(function(event, xhr, settings) {
// WpForm - formSubmit event
if (settings.data instanceof FormData) {
var formdata = [];
for (var pair of settings.data.entries()) {
if ('form_id' in formdata && 'action' in formdata)
break;
if (pair[0] == 'wpforms[id]')
formdata['form_id'] = pair[1];
if (pair[0] == 'action' && pair[1] == 'wpforms_submit')
formdata['action'] = pair[1];
}
if (formdata['action'] == 'wpforms_submit' && settings.data != 'action=datalayer_push') {
var data = [];
tvc_js.formsubmit_ajax_tracking(formdata);
return;
}
}
});
document.addEventListener('DOMContentLoaded', function() {
var downloadLinks = document.querySelectorAll('a[href]');
downloadLinks.forEach(function(link) {
link.addEventListener('click', function(event) {
var fileUrl = link.href;
var fileName = fileUrl.substring(fileUrl.lastIndexOf('/') + 1);
var linkText = link.innerText || link.textContent;
var linkUrl = link.href;
var fileExtensionPattern = /\.(pdf|xlsx?|docx?|txt|rtf|csv|exe|key|pptx?|ppt|7z|pkg|rar|gz|zip|avi|mov|mp4|mpe?g|wmv|midi?|mp3|wav|wma)$/i;
if (fileExtensionPattern.test(fileUrl)) {
window.dataLayer = window.dataLayer || [];
window.dataLayer.push({
event: 'file_download',
file_name: fileName,
link_text: linkText,
link_url: linkUrl
});
}
});
});
});
window.addEventListener( 'load', function() {
document.querySelectorAll( 'link' ).forEach( function( e ) {'not all' === e.media && e.dataset.media && ( e.media = e.dataset.media, delete e.dataset.media );} );
var e = document.getElementById( 'jetpack-boost-critical-css' );
e && ( e.media = 'not all' );
} );
window.dataLayer = window.dataLayer || [];
dataLayer.push({ecommerce: null});
dataLayer.push({"event":"view_item_list","ecommerce":{"items":[{"item_id":"11763","item_name":"Defensive Situations Guide","affiliation":"Marietta Baseball Academy","currency":"USD","index":1,"item_category":"Baseball Guides","price":31.99,"quantity":1},{"item_id":"11767","item_name":"Base Running Situations Guide","affiliation":"Marietta Baseball Academy","currency":"USD","index":2,"item_category":"Baseball Guides","price":31.99,"quantity":1},{"item_id":"11828","item_name":"Baseball Game Planner","affiliation":"Marietta Baseball Academy","currency":"USD","index":3,"item_category":"Digital Products","price":7.99,"quantity":1}]}});
window.conProductList = window.productList || [];
conProductList.push([{"id":"11763","name":"Defensive Situations Guide","sku":"11763","category":"Baseball Guides","price":31.99,"stocklevel":null,"productlink":"https:\/\/mbaseballacademy.com\/product\/defensive-situations-guide\/","listname":"General Product List","listposition":1},{"id":"11767","name":"Base Running Situations Guide","sku":"11767","category":"Baseball Guides","price":31.99,"stocklevel":null,"productlink":"https:\/\/mbaseballacademy.com\/product\/base-running-guide\/","listname":"General Product List","listposition":2},{"id":"11828","name":"Baseball Game Planner","sku":"11828","category":"Digital Products","price":7.99,"stocklevel":null,"productlink":"https:\/\/mbaseballacademy.com\/product\/baseball-game-planner-digital-download\/","listname":"General Product List","listposition":3}]);
window.addEventListener('load', call_tvc_enhanced_1ist_product, true);
function call_tvc_enhanced_1ist_product() {
tvc_js = new TVC_GTM_Enhanced({"affiliation":"Marietta Baseball Academy","is_admin":"","currency":"USD","tracking_option":"","property_id":"","measurement_id":"","google_ads_id":"","fb_pixel_id":"","fb_event_id":"210b7c8b70324a5da82fef8622406251","tvc_ajax_url":"https:\/\/mbaseballacademy.com\/wp-admin\/admin-ajax.php","snapchat_ads_pixel_id":"","linkedin_insight_id":"","snapchat_event_id":"69d98441934a8","tiKtok_ads_pixel_id":"","tiktok_event_id":"69d98441934aa"});
tvc_js.ListProductaddToCartEventBindings();
tvc_js.ListProductSelectItemEventBindings();
}
https://mbaseballacademy.com/wp-includes/js/dist/i18n.min.js
wp.i18n.setLocaleData( { 'text direction\u0004ltr': [ 'ltr' ] } );
//# sourceURL=wp-i18n-js-after
https://mbaseballacademy.com/wp-content/plugins/woocommerce-google-analytics-integration/assets/js/build/main.js
( function() {
var skipLinkTarget = document.querySelector( 'main' ),
sibling,
skipLinkTargetID,
skipLink;
// Early exit if a skip-link target can't be located.
if ( ! skipLinkTarget ) {
return;
}
/*
* Get the site wrapper.
* The skip-link will be injected in the beginning of it.
*/
sibling = document.querySelector( '.wp-site-blocks' );
// Early exit if the root element was not found.
if ( ! sibling ) {
return;
}
// Get the skip-link target's ID, and generate one if it doesn't exist.
skipLinkTargetID = skipLinkTarget.id;
if ( ! skipLinkTargetID ) {
skipLinkTargetID = 'wp--skip-link--target';
skipLinkTarget.id = skipLinkTargetID;
}
// Create the skip link.
skipLink = document.createElement( 'a' );
skipLink.classList.add( 'skip-link', 'screen-reader-text' );
skipLink.id = 'wp-skip-link';
skipLink.href = '#' + skipLinkTargetID;
skipLink.innerText = 'Skip to content';
// Inject the skip link.
sibling.parentElement.insertBefore( skipLink, sibling );
}() );
//# sourceURL=wp-block-template-skip-link-js-after
https://mbaseballacademy.com/wp-content/plugins/contact-form-7/includes/swv/js/index.js
var wpcf7 = {
"api": {
"root": "https:\/\/mbaseballacademy.com\/wp-json\/",
"namespace": "contact-form-7\/v1"
},
"cached": 1
};
//# sourceURL=contact-form-7-js-before
https://mbaseballacademy.com/wp-content/plugins/contact-form-7/includes/js/index.js
var somdn_script_params = {"somdn_qview_active":""};
//# sourceURL=somdn-script-js-extra
https://mbaseballacademy.com/wp-content/boost-cache/static/692656bdf7.min.js
https://mbaseballacademy.com/wp-includes/js/dist/vendor/react.min.js
https://mbaseballacademy.com/wp-content/boost-cache/static/0f55479373.min.js
https://mbaseballacademy.com/wp-includes/js/dist/vendor/react-dom.min.js
https://mbaseballacademy.com/wp-content/boost-cache/static/3afd7982ee.min.js
https://mbaseballacademy.com/wp-includes/js/dist/keycodes.min.js
https://mbaseballacademy.com/wp-content/boost-cache/static/29284c75b8.min.js
https://mbaseballacademy.com/wp-includes/js/dist/data.min.js
( function() {
var userId = 0;
var storageKey = "WP_DATA_USER_" + userId;
wp.data
.use( wp.data.plugins.persistence, { storageKey: storageKey } );
} )();
//# sourceURL=wp-data-js-after
var iconic_wsb_frontend_vars = {"ajax_url":"/wp-admin/admin-ajax.php","nonce":"720c0c6efa","fbt_use_ajax":"1","is_checkout":"","i18n":{"error":"Please Try Again","success":"Added to Cart","add_selected":"Add Selected to Cart","disabled_add_to_cart":"Please select a variation before adding the selected products to your cart."},"modal_options":{"showCloseBtn":false}};
//# sourceURL=iconic_wsb_frontend_scripts-js-extra
https://mbaseballacademy.com/wp-content/plugins/iconic-woo-sales-booster/assets/frontend/js/main.js
var awdr_params = {"ajaxurl":"https://mbaseballacademy.com/wp-admin/admin-ajax.php","nonce":"3f8a5a72d6","enable_update_price_with_qty":"show_when_matched","refresh_order_review":"0","custom_target_simple_product":"","custom_target_variable_product":"","js_init_trigger":"","awdr_opacity_to_bulk_table":"","awdr_dynamic_bulk_table_status":"1","awdr_dynamic_bulk_table_off":"on","custom_simple_product_id_selector":"","custom_variable_product_id_selector":""};
//# sourceURL=awdr-main-js-extra
https://mbaseballacademy.com/wp-content/boost-cache/static/4427bd216d.min.js
https://mbaseballacademy.com/wp-content/plugins/jetpack/jetpack_vendor/automattic/woocommerce-analytics/build/woocommerce-analytics-client.js
var wc_order_attribution = {"params":{"lifetime":1.0e-5,"session":30,"base64":false,"ajaxurl":"https://mbaseballacademy.com/wp-admin/admin-ajax.php","prefix":"wc_order_attribution_","allowTracking":true},"fields":{"source_type":"current.typ","referrer":"current_add.rf","utm_campaign":"current.cmp","utm_source":"current.src","utm_medium":"current.mdm","utm_content":"current.cnt","utm_id":"current.id","utm_term":"current.trm","utm_source_platform":"current.plt","utm_creative_format":"current.fmt","utm_marketing_tactic":"current.tct","session_entry":"current_add.ep","session_start_time":"current_add.fd","session_pages":"session.pgs","session_count":"udata.vst","user_agent":"udata.uag"}};
//# sourceURL=wc-order-attribution-js-extra
https://mbaseballacademy.com/wp-content/boost-cache/static/13ee620d04.min.js
if (typeof clientParamBuilder !== "undefined") {
clientParamBuilder.processAndCollectAllParams(window.location.href);
}
//# sourceURL=facebook-capi-param-builder-js-after
https://mbaseballacademy.com/wp-content/plugins/wp-smushit/app/assets/js/smush-lazy-load.min.js
_stq = window._stq || [];
_stq.push([ "view", {"v":"ext","blog":"214105619","post":"11833","tz":"-4","srv":"mbaseballacademy.com","j":"1:15.7"} ]);
_stq.push([ "clickTrackerInit", "214105619", "11833" ]);
//# sourceURL=jetpack-stats-js-before
var cuw_template = {"data":{"woocommerce":{"price":{"format":"%1$s%2$s","symbol":"$","decimals":2,"decimal_separator":".","thousand_separator":","}}},"i18n":{"add_to_cart":{"text":"Add to cart","items":"items","all_items":"all items","selected_items":"selected items","number_to_text":{"1":"one","2":"both","3":"all three","4":"all four","5":"all five"}},"free":"Free"},"is_rtl":""};
//# sourceURL=cuw_template-js-extra
var cuw_frontend = {"ajax_url":"https://mbaseballacademy.com/wp-admin/admin-ajax.php","ajax_nonce":"2cb23f8c03","is_cart":"","is_checkout":"","has_cart_block":"","has_checkout_block":"","dynamic_offer_display_enabled":""};
//# sourceURL=cuw_frontend-js-extra
https://mbaseballacademy.com/wp-content/boost-cache/static/a78fbe0af3.min.js
/* WooCommerce Facebook Integration Event Tracking */
fbq('set', 'agent', 'woocommerce_6-10.6.2-3.6.2', '2846271042179391');
fbq('track', 'PageView', {
"source": "woocommerce_6",
"version": "10.6.2",
"pluginVersion": "3.6.2",
"user_data": {}
}, {
"eventID": "8f504f13-8e36-4263-abc3-c5c124da0a79"
});
//# sourceURL=facebook-for-woocommerce-inline-js-after
https://mbaseballacademy.com/wp-content/boost-cache/static/d32f873f72.min.js
https://mbaseballacademy.com/wp-content/plugins/page-builder-add/public/scripts/scripts.js
(function($){
$(document).ready(function() {
$('#enteryoursubjecthere').hide();
$(document).on('submit','#'+'pb_FormBuilder_361620', function() {
var allRequiredFields = $('.POFB_required_field_pb_FormBuilder_361620');
for(var i = 0; i < allRequiredFields.length; i++){
if ( $(allRequiredFields[i]).val() == '' ) {
$(allRequiredFields[i]).css('border', '2px solid #ff1f1f');
$(allRequiredFields[i]).removeClass('animated');
$(allRequiredFields[i]).removeClass('shake');
$(allRequiredFields[i]).addClass('animated shake');
$('.pb_unfilled_required_field_pb_FormBuilder_361620').css('display','block');
return false;
}
}
var successMessage = "The form was sent successfully!";
var errorMessage = "Some Error Occured while sending the request!";
var successAction = "redirect";
var successActionUrl = "https://mbaseballacademy.com/wp-content/uploads/2024/03/Pitching-drills-for-youth-pitchers.pdf";
var isAllIntegrationsRequired = "true";
var buttonText = $('#'+'pb_FormBuilder_361620 button').html();
$('#'+'pb_FormBuilder_361620 button').html('');
$('#'+'pb_FormBuilder_361620 button').append("<i class='fas fa-spinner fa-spin formIconLoader'></i>");
function checkResponse_pb_FormBuilder_361620(message){
var isAllSuccess = false;
var isDuplicate = false;
var errorMessages = '';
$.each(message,function(index, val) {
if(val == 'success'){
isAllSuccess = true;
}else if(val == 'Inactive'){
}else if(val == 'Subscriber Already Exists'){
val = "Information Already Exisits!";
if (index != 'database' ) {
isDuplicate = true;
if (errorMessages !== '') {
errorMessages = errorMessages + '\n <br> ' + index + ' : ' + val;
}else{
errorMessages = index + ' : ' + val;
}
}
}else{
if (index != 'database' && index != 'WebHook' && index != 'gRecaptcha') {
isAllSuccess = false;
if (errorMessages !== '') {
errorMessages = errorMessages + '\n <br> ' + index + ' : ' + val;
}else{
errorMessages = index + ' : ' + val;
}
}
if (val == 'Sorry, Security error.') {
isAllSuccess = false;
errorMessages = val;
}
}
});
if (isAllIntegrationsRequired == 'false') {
if (message['database'] != 'false') {
isAllSuccess = true;
}
}
var calcResult = [];
calcResult['isAllSuccess'] = isAllSuccess;
calcResult['errors'] = errorMessages;
calcResult['isDuplicate']= isDuplicate;
return calcResult;
}
var form = $(this);
form.siblings('.pb_duplicate').hide();
form.siblings('.pb_error').hide();
form.siblings('.pb_success').hide();
var result = " ";
try {
} catch(e) {
// statements
console.log(e);
}
function runDataTransferPluginOpsForm(){
$.ajax({
url: form.attr('action'),
method: form.attr('method'),
data: form.serialize(),
success: function(result){
var result = JSON.parse(result);
var emailResult = result['email'];
var mcResult = result['mailchimp'];
var grResult = result['getResponse'];
var cmResult = result['campaignMonitor'];
var acResult = result['activeCampaign'];
var dripResult = result['drip'];
var aweberResult = result['aweber'];
var convertkitResult = result['convertkit'];
var marketheroResult = result['markethero'];
var SendinBlueResult = result['SendinBlue'];
var MailPoetResult = result['MailPoet'];
var MailRelayResult = result['MailRelay'];
var webHookResult = result['WebHook'];
var ConstantContactResult = result['ConstantContact'];
var gRecaptcha = result['gRecaptcha'];
var subAEStr = 'Subscriber Already Exists';
var webHookResponse = 'success';
var calculatedResponse = checkResponse_pb_FormBuilder_361620(result);
$('.pb_unfilled_required_field_pb_FormBuilder_361620').css('display','none');
if (result["database"] != "false") {
emailResult = "success";
}
if (calculatedResponse['isAllSuccess'] == true ) {
form.siblings('.pb_success').children('p').html( '<i class="fas fa-check"></i>' + " " + successMessage);
form.siblings('.pb_success').show();
$.cookie("pluginops_user_subscribed_form11833", 'yes', {path: '/', expires : 30 });
if (successAction == 'redirect') {
location.href = successActionUrl;
}
} else{
errorMessage = calculatedResponse['errors'];
form.siblings('.pb_error').children('p').html(errorMessage);
form.siblings('.pb_error').show();
}
if( calculatedResponse['isDuplicate'] == true ){
form.siblings('.pb_duplicate').children('p').html("Information Already Exisits!");
form.siblings('.pb_duplicate').show();
form.siblings('.pb_error').hide();
}
if (gRecaptcha == 'Verification Failed') {
form.siblings('.pb_error').children('p').html('There was some problem in verification please reload the page and try again. ');
var greError = result['gRecaptchaError'];
if (greError.includes('invalid-input-secret') ) {
form.siblings('.pb_error').children('p').html('Invalid ReCaptcha Sceret Key');
}
form.siblings('.pb_error').show();
}
if (gRecaptcha == 'Captcha Not Set') {
form.siblings('.pb_error').children('p').html('Please click on I\'m not a robot checkbox.');
form.siblings('.pb_error').show();
}
$('#'+'pb_FormBuilder_361620 button').html(buttonText);
console.log('Database Result : ' + result['database']);
console.log('MailChimp Result : ' + result['mailchimp']);
console.log('GetResponse Result : ' + result['getResponse']);
console.log('Campaign Monitor Result : ' + result['campaignMonitor']);
console.log('Active Campaign Result : ' + result['activeCampaign']);
console.log('Drip Result : ' + result['drip']);
console.log('Aweber Result : ' + result['aweber']);
console.log('ConvertKit Result : ' + result['convertkit']);
console.log('Markethero Result : ' + marketheroResult);
console.log('SendinBlue Result : ' + SendinBlueResult);
console.log('MailPoet Result : ' + MailPoetResult);
console.log('ConstantContact Result : ' + ConstantContactResult);
console.log('MailRelay Result : ' + MailRelayResult);
},
error: function(xhr, ajaxOptions, thrownError){
form.siblings('.pb_error').children('p').html(thrownError);
form.siblings('.pb_error').show();
$('#'+'pb_FormBuilder_361620 button').html(buttonText);
}
});
}
runDataTransferPluginOpsForm();
// Prevents default submission of the form after clicking on the submit button.
return false;
});
});
})(jQuery);
jQuery(document).ready(function(){
jQuery(".pb_img_thumbnail").on("click",function(){
var clikedElID = jQuery(this).attr("id");
jQuery("#pb_lightbox"+clikedElID).css("display","block");
});
jQuery(".pb_single_img_lightbox").on("click",function(){
jQuery(this).css("display","none");
});
jQuery(window).scroll();
});
(function($) {
/**
* Copyright 2012, Digital Fusion
* Licensed under the MIT license.
* http://teamdf.com/jquery-plugins/license/
*
* @author Sam Sehnert
* @desc A small plugin that checks whether elements are within
* the user visible viewport of a web browser.
* only accounts for vertical position, not horizontal.
*/
$.fn.visible = function(partial) {
var $t = $(this),
$w = $(window),
viewTop = $w.scrollTop(),
viewBottom = viewTop + $w.height(),
_top = $t.offset().top,
_bottom = _top + $t.height(),
compareTop = partial === true ? _bottom : _top,
compareBottom = partial === true ? _top : _bottom;
return ((compareBottom <= viewBottom) && (compareTop >= viewTop));
};
jQuery(document).on("click", 'a[href^="#"]', function (event) {
event.preventDefault();
var clickedLinkElAttr = jQuery(this ).attr("href");
if(typeof(jQuery(clickedLinkElAttr).offset() ) != "undefined"){
jQuery("html, body").animate({
scrollTop: jQuery(jQuery.attr(this, "href")).offset().top
}, 500);
}
});
})(jQuery);
if(typeof pluginOpsCheckElViewFrame != "function" ){
function pluginOpsCheckElViewFrame (el) {
if (typeof jQuery === "function" && el instanceof jQuery) {
el = el[0];
}
if( typeof(el.getBoundingClientRect) == "function" ){
var rect = el.getBoundingClientRect();
windowInnerHeight = window.innerHeight;
if(rect.height >= windowInnerHeight){
rect.height = windowInnerHeight - 50;
}
docClientHeight = document.documentElement.clientHeight;
if( rect.top >= 0 &&
rect.left >= 0 &&
rect.bottom <= (windowInnerHeight) &&
rect.right <= (window.innerWidth || document.documentElement.clientWidth) ) {
return "InView";
}else{
return "NotInView";
}
}else{
return "Function didnt work";
}
}
}
jQuery(window).scroll();
//# sourceURL=pluginops-landingpage-scripts-inline-js-footer-js-after
window.ga4w = { data: {"cart":{"items":[],"coupons":[],"totals":{"currency_code":"USD","total_price":0,"currency_minor_unit":2}},"products":[{"id":11763,"name":"Defensive Situations Guide","categories":[{"name":"Baseball Guides"}],"prices":{"price":3199,"currency_minor_unit":2},"extensions":{"woocommerce_google_analytics_integration":{"identifier":"11763"}}},{"id":11767,"name":"Base Running Situations Guide","categories":[{"name":"Baseball Guides"}],"prices":{"price":3199,"currency_minor_unit":2},"extensions":{"woocommerce_google_analytics_integration":{"identifier":"11767"}}},{"id":11828,"name":"Baseball Game Planner","categories":[{"name":"Digital Products"}],"prices":{"price":799,"currency_minor_unit":2},"extensions":{"woocommerce_google_analytics_integration":{"identifier":"11828"}}}],"events":["view_item_list"]}, settings: {"tracker_function_name":"gtag","events":["purchase","add_to_cart","remove_from_cart","view_item_list","select_content","view_item","begin_checkout"],"identifier":"product_id","currency":{"decimalSeparator":".","thousandSeparator":",","precision":2}} }; document.dispatchEvent(new Event("ga4w:ready"));
//# sourceURL=woocommerce-google-analytics-integration-data-js-after
(function() {
window.wcAnalytics = window.wcAnalytics || {};
const wcAnalytics = window.wcAnalytics;
// Set the assets URL for webpack to find the split assets.
wcAnalytics.assets_url = 'https://mbaseballacademy.com/wp-content/plugins/jetpack/jetpack_vendor/automattic/woocommerce-analytics/src/../build/';
// Set the REST API tracking endpoint URL.
wcAnalytics.trackEndpoint = "https://mbaseballacademy.com/wp-json/woocommerce-analytics/v1/track";
// Set common properties for all events.
wcAnalytics.commonProps = {"session_id":null,"landing_page":null,"is_engaged":null,"ui":0,"blog_id":214105619,"store_id":"9e9485fd-e095-4895-b00c-6f417d1ee0ad","url":"https://mbaseballacademy.com","woo_version":"10.6.2","wp_version":"6.9.4","store_admin":0,"device":"desktop","store_currency":"USD","timezone":"-04:00","is_guest":1,"_via_ua":"CCBot/2.0 (https://commoncrawl.org/faq/)","_via_ip":"18.97.14.89","_lg":"en-US","_dr":"","_dl":"http://mbaseballacademy.com/5-pitching-drills-for-youth-pitchers/","_via_ref":""};
// Set the event queue.
wcAnalytics.eventQueue = [];
// Features.
wcAnalytics.features = {
ch: false,
sessionTracking: false,
proxy: false,
};
wcAnalytics.breadcrumbs = ["5 Pitching Drills For Youth Pitchers"];
// Page context flags.
wcAnalytics.pages = {
isAccountPage: false,
isCart: false,
};
})();
// Listen for clicks on the entire document
document.addEventListener('click', function(event) {
console.log(event.target.dataset)
// Check if the clicked element has the 'track-click' class
if (event.target.classList.contains('trk-clk-ulbp')) {
// Get the unique ID from the data-id attribute
const elementTxt = event.target.dataset.btntxt;
const elementUrl = event.target.dataset.btnhref;
// Create a FormData object to send data
const formData = new FormData();
formData.append('clicked_element_text', elementTxt);
formData.append('clicked_element_url', elementUrl);
formData.append('clicked_element_psid', 11833);
//console.log(formData.get('clicked_element_psid'));
// Use the Fetch API to send the data to our PHP script
fetch(
"https://mbaseballacademy.com/wp-admin/admin-ajax.php?action=ulpb_rc_current_usr_click&POPB_CTA_Nonce=50986105fe"
, {
method: 'POST',
body: formData
})
.then(response => response.text())
.then(data => {
console.log(data); // Log the response from PHP (e.g., "Success!")
})
.catch(error => {
console.error('Error tracking click:', error);
});
}
});