var monsterinsights_frontend = {"js_events_tracking":"true","download_extensions":"doc,pdf,ppt,zip,xls,docx,pptx,xlsx","inbound_paths":"[{\"path\":\"\\\/go\\\/\",\"label\":\"affiliate\"},{\"path\":\"\\\/recommend\\\/\",\"label\":\"affiliate\"}]","home_url":"https:\/\/southoakdental.com","hash_tracking":"false","v4_id":"G-3SLZ82CGFS"};
var breeze_prefetch = {"local_url":"https:\/\/southoakdental.com","ignore_remote_prefetch":"1","ignore_list":["wp-admin","wp-login.php"]};
var dataLayer_content = {"visitorEmail":"","visitorEmailHash":"","visitorUsername":"","visitorIP":"18.97.9.168","pagePostType":"bloghome"};
dataLayer.push( dataLayer_content );
function monsterinsights_forms_record_impression(event) {
monsterinsights_add_bloom_forms_ids();
var monsterinsights_forms = document.getElementsByTagName("form");
var monsterinsights_forms_i;
for (monsterinsights_forms_i = 0; monsterinsights_forms_i < monsterinsights_forms.length; monsterinsights_forms_i++) {
var monsterinsights_form_id = monsterinsights_forms[monsterinsights_forms_i].getAttribute("id");
var skip_conversion = false;
/* Check to see if it's contact form 7 if the id isn't set */
if (!monsterinsights_form_id) {
monsterinsights_form_id = monsterinsights_forms[monsterinsights_forms_i].parentElement.getAttribute("id");
if (monsterinsights_form_id && monsterinsights_form_id.lastIndexOf('wpcf7-f', 0) === 0) {
/* If so, let's grab that and set it to be the form's ID*/
var tokens = monsterinsights_form_id.split('-').slice(0, 2);
var result = tokens.join('-');
monsterinsights_forms[monsterinsights_forms_i].setAttribute("id", result);/* Now we can do just what we did above */
monsterinsights_form_id = monsterinsights_forms[monsterinsights_forms_i].getAttribute("id");
} else {
monsterinsights_form_id = false;
}
}/* Check if it's Ninja Forms & id isn't set. */
if (!monsterinsights_form_id && monsterinsights_forms[monsterinsights_forms_i].parentElement.className.indexOf('nf-form-layout') >= 0) {
monsterinsights_form_id = monsterinsights_forms[monsterinsights_forms_i].parentElement.parentElement.parentElement.getAttribute('id');
if (monsterinsights_form_id && 0 === monsterinsights_form_id.lastIndexOf('nf-form-', 0)) {
/* If so, let's grab that and set it to be the form's ID*/
tokens = monsterinsights_form_id.split('-').slice(0, 3);
result = tokens.join('-');
monsterinsights_forms[monsterinsights_forms_i].setAttribute('id', result);
/* Now we can do just what we did above */
monsterinsights_form_id = monsterinsights_forms[monsterinsights_forms_i].getAttribute('id');
skip_conversion = true;
}
}if (monsterinsights_form_id && monsterinsights_form_id !== 'commentform' && monsterinsights_form_id !== 'adminbar-search') {
__gtagTracker('event', 'impression', {
event_category: 'form',
event_label: monsterinsights_form_id,
value: 1,
non_interaction: true
});/* If a WPForms Form, we can use custom tracking */
if (monsterinsights_form_id && 0 === monsterinsights_form_id.lastIndexOf('wpforms-form-', 0)) {
continue;
}/* Formiddable Forms, use custom tracking */
if (monsterinsights_forms_has_class(monsterinsights_forms[monsterinsights_forms_i], 'frm-show-form')) {
continue;
}/* If a Gravity Form, we can use custom tracking */
if (monsterinsights_form_id && 0 === monsterinsights_form_id.lastIndexOf('gform_', 0)) {
continue;
}/* If Ninja forms, we use custom conversion tracking */
if (skip_conversion) {
continue;
}var custom_conversion_mi_forms = false;
if (custom_conversion_mi_forms) {
continue;
}if (window.jQuery) {
(function (form_id) {
jQuery(document).ready(function () {
jQuery('#' + form_id).on('submit', monsterinsights_forms_record_conversion);
});
})(monsterinsights_form_id);
} else {
var __gaFormsTrackerWindow = window;
if (__gaFormsTrackerWindow.addEventListener) {
document.getElementById(monsterinsights_form_id).addEventListener("submit", monsterinsights_forms_record_conversion, false);
} else {
if (__gaFormsTrackerWindow.attachEvent) {
document.getElementById(monsterinsights_form_id).attachEvent("onsubmit", monsterinsights_forms_record_conversion);
}
}
}} else {
continue;
}
}
}function monsterinsights_forms_has_class(element, className) {
return (' ' + element.className + ' ').indexOf(' ' + className + ' ') > -1;
}function monsterinsights_forms_record_conversion(event) {
var monsterinsights_form_conversion_id = event.target.id;
var monsterinsights_form_action = event.target.getAttribute("miforms-action");
if (monsterinsights_form_conversion_id && !monsterinsights_form_action) {
document.getElementById(monsterinsights_form_conversion_id).setAttribute("miforms-action", "submitted");
__gtagTracker('event', 'conversion', {
event_category: 'form',
event_label: monsterinsights_form_conversion_id,
value: 1,
});
}
}/* Attach the events to all clicks in the document after page and GA has loaded */
function monsterinsights_forms_load() {
if (typeof (__gtagTracker) !== 'undefined' && __gtagTracker) {
var __gtagFormsTrackerWindow = window;
if (__gtagFormsTrackerWindow.addEventListener) {
__gtagFormsTrackerWindow.addEventListener("load", monsterinsights_forms_record_impression, false);
} else {
if (__gtagFormsTrackerWindow.attachEvent) {
__gtagFormsTrackerWindow.attachEvent("onload", monsterinsights_forms_record_impression);
}
}
} else {
setTimeout(monsterinsights_forms_load, 200);
}
}/* Custom Ninja Forms impression tracking */
if (window.jQuery) {
jQuery(document).on('nfFormReady', function (e, layoutView) {
var label = layoutView.el;
label = label.substring(1, label.length);
label = label.split('-').slice(0, 3).join('-');
__gtagTracker('event', 'impression', {
event_category: 'form',
event_label: label,
value: 1,
non_interaction: true
});
});
}/* Custom Bloom Form tracker */
function monsterinsights_add_bloom_forms_ids() {
var bloom_forms = document.querySelectorAll('.et_bloom_form_content form');
if (bloom_forms.length > 0) {
for (var i = 0; i < bloom_forms.length; i++) {
if ('' === bloom_forms[i].id) {
var form_parent_root = monsterinsights_find_parent_with_class(bloom_forms[i], 'et_bloom_optin');
if (form_parent_root) {
var classes = form_parent_root.className.split(' ');
for (var j = 0; j < classes.length; ++j) {
if (0 === classes[j].indexOf('et_bloom_optin')) {
bloom_forms[i].id = classes[j];
}
}
}
}
}
}
}function monsterinsights_find_parent_with_class(element, className) {
if (element.parentNode && '' !== className) {
if (element.parentNode.className.indexOf(className) >= 0) {
return element.parentNode;
} else {
return monsterinsights_find_parent_with_class(element.parentNode, className);
}
}
return false;
}monsterinsights_forms_load();
Thanks to advancements in the field, the days of uncomfortable, ill-fitting dentures are behind us. Have you ever envisioned what it’s like to possess a...
Understanding the Cause of Teeth Sensitivity After Whitening Post-whitening teeth sensitivity can be perplexing. It’s a common issue and understanding its cause is crucial for...
Ever wondered why your smile loses its lustre over time? The culprit might be lurking right inside your mouth – dental cavities. These tiny holes,...
HAVE A QUESTION? SHOOT US AN EMAIL. WE'LL ANSWER IT IN OUR BLOG
GET IN TOUCH TODAY!
At South Oak Dental, your smile and oral health are our top priority. Whether you’re looking for routine dental care, cosmetic enhancements, or a consultation for a specialized procedure, our team is here to assist. Contact us today to schedule an appointment and take the first step towards achieving your healthiest smile. Call us, fill out our online form, or visit our clinic. Don’t wait, reach out now and let us help you maintain great oral health!
document.addEventListener("DOMContentLoaded", function() {
// Select all the social icons
var socialIcons = document.querySelectorAll('.et_pb_social_media_follow .et_pb_social_network_link a.icon');// Iterate over each social icon
socialIcons.forEach(function(icon) {
// Check if the href attribute is missing or empty
if (!icon.getAttribute('href') || icon.getAttribute('href').trim() === '') {
// Hide the parent element
icon.closest('.et_pb_social_network_link').style.display = 'none';
}
});
});
/* MonsterInsights Scroll Tracking */
if ( typeof(jQuery) !== 'undefined' ) {
jQuery( document ).ready(function(){
function monsterinsights_scroll_tracking_load() {
if ( ( typeof(__gaTracker) !== 'undefined' && __gaTracker && __gaTracker.hasOwnProperty( "loaded" ) && __gaTracker.loaded == true ) || ( typeof(__gtagTracker) !== 'undefined' && __gtagTracker ) ) {
(function(factory) {
factory(jQuery);
}(function($) {/* Scroll Depth */
"use strict";
var defaults = {
percentage: true
};var $window = $(window),
cache = [],
scrollEventBound = false,
lastPixelDepth = 0;/*
* Plugin
*/$.scrollDepth = function(options) {var startTime = +new Date();options = $.extend({}, defaults, options);/*
* Functions
*/function sendEvent(action, label, scrollDistance, timing) {
if ( 'undefined' === typeof MonsterInsightsObject || 'undefined' === typeof MonsterInsightsObject.sendEvent ) {
return;
}
var paramName = action.toLowerCase();
var fieldsArray = {
send_to: 'G-3SLZ82CGFS',
non_interaction: true
};
fieldsArray[paramName] = label;if (arguments.length > 3) {
fieldsArray.scroll_timing = timing
MonsterInsightsObject.sendEvent('event', 'scroll_depth', fieldsArray);
} else {
MonsterInsightsObject.sendEvent('event', 'scroll_depth', fieldsArray);
}
}function calculateMarks(docHeight) {
return {
'25%' : parseInt(docHeight * 0.25, 10),
'50%' : parseInt(docHeight * 0.50, 10),
'75%' : parseInt(docHeight * 0.75, 10),
/* Cushion to trigger 100% event in iOS */
'100%': docHeight - 5
};
}function checkMarks(marks, scrollDistance, timing) {
/* Check each active mark */
$.each(marks, function(key, val) {
if ( $.inArray(key, cache) === -1 && scrollDistance >= val ) {
sendEvent('Percentage', key, scrollDistance, timing);
cache.push(key);
}
});
}function rounded(scrollDistance) {
/* Returns String */
return (Math.floor(scrollDistance/250) * 250).toString();
}function init() {
bindScrollDepth();
}/*
* Public Methods
*//* Reset Scroll Depth with the originally initialized options */
$.scrollDepth.reset = function() {
cache = [];
lastPixelDepth = 0;
$window.off('scroll.scrollDepth');
bindScrollDepth();
};/* Add DOM elements to be tracked */
$.scrollDepth.addElements = function(elems) {if (typeof elems == "undefined" || !$.isArray(elems)) {
return;
}$.merge(options.elements, elems);/* If scroll event has been unbound from window, rebind */
if (!scrollEventBound) {
bindScrollDepth();
}};/* Remove DOM elements currently tracked */
$.scrollDepth.removeElements = function(elems) {if (typeof elems == "undefined" || !$.isArray(elems)) {
return;
}$.each(elems, function(index, elem) {var inElementsArray = $.inArray(elem, options.elements);
var inCacheArray = $.inArray(elem, cache);if (inElementsArray != -1) {
options.elements.splice(inElementsArray, 1);
}if (inCacheArray != -1) {
cache.splice(inCacheArray, 1);
}});};/*
* Throttle function borrowed from:
* Underscore.js 1.5.2
* http://underscorejs.org
* (c) 2009-2013 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
* Underscore may be freely distributed under the MIT license.
*/function throttle(func, wait) {
var context, args, result;
var timeout = null;
var previous = 0;
var later = function() {
previous = new Date;
timeout = null;
result = func.apply(context, args);
};
return function() {
var now = new Date;
if (!previous) previous = now;
var remaining = wait - (now - previous);
context = this;
args = arguments;
if (remaining <= 0) {
clearTimeout(timeout);
timeout = null;
previous = now;
result = func.apply(context, args);
} else if (!timeout) {
timeout = setTimeout(later, remaining);
}
return result;
};
}/*
* Scroll Event
*/function bindScrollDepth() {scrollEventBound = true;$window.on('scroll.scrollDepth', throttle(function() {
/*
* We calculate document and window height on each scroll event to
* account for dynamic DOM changes.
*/var docHeight = $(document).height(),
winHeight = window.innerHeight ? window.innerHeight : $window.height(),
scrollDistance = $window.scrollTop() + winHeight,/* Recalculate percentage marks */
marks = calculateMarks(docHeight),/* Timing */
timing = +new Date - startTime;checkMarks(marks, scrollDistance, timing);
}, 500));}init();
};/* UMD export */
return $.scrollDepth;}));jQuery.scrollDepth();
} else {
setTimeout(monsterinsights_scroll_tracking_load, 200);
}
}
monsterinsights_scroll_tracking_load();
});
}
/* End MonsterInsights Scroll Tracking */
var wpilFrontend = {"ajaxUrl":"\/wp-admin\/admin-ajax.php","postId":"4197","postType":"post","openInternalInNewTab":"0","openExternalInNewTab":"1","disableClicks":"0","openLinksWithJS":"0","trackAllElementClicks":"0","clicksI18n":{"imageNoText":"Image in link: No Text","imageText":"Image Title: ","noText":"No Anchor Text Found"}};
/* Hide/show the content when button is click */
jQuery('.e-flex').each(function(){
var btn_read_more = jQuery(this).find('.btn-read-more');
btn_read_more.off('click').on('click', function(){
var editor = jQuery(this).closest('.e-flex').find('.elementor-widget-text-editor');
var iconList = jQuery(this).closest('.e-flex').find('.elementor-widget-icon-list');
editor.toggleClass('show');
iconList.toggleClass('show');
});
});
var wpforms_settings = {"val_required":"This field is required.","val_email":"Please enter a valid email address.","val_email_suggestion":"Did you mean {suggestion}?","val_email_suggestion_title":"Click to accept this suggestion.","val_email_restricted":"This email address is not allowed.","val_number":"Please enter a valid number.","val_number_positive":"Please enter a valid positive number.","val_minimum_price":"Amount entered is less than the required minimum.","val_confirm":"Field values do not match.","val_checklimit":"You have exceeded the number of allowed selections: {#}.","val_limit_characters":"{count} of {limit} max characters.","val_limit_words":"{count} of {limit} max words.","val_recaptcha_fail_msg":"Google reCAPTCHA verification failed, please try again later.","val_turnstile_fail_msg":"Cloudflare Turnstile verification failed, please try again later.","val_inputmask_incomplete":"Please fill out the field in required format.","uuid_cookie":"1","locale":"en","country":"","country_list_label":"Country list","wpforms_plugin_url":"https:\/\/southoakdental.com\/wp-content\/plugins\/wpforms\/","gdpr":"","ajaxurl":"https:\/\/southoakdental.com\/wp-admin\/admin-ajax.php","mailcheck_enabled":"1","mailcheck_domains":[],"mailcheck_toplevel_domains":["dev"],"is_ssl":"1","currency_code":"USD","currency_thousands":",","currency_decimals":"2","currency_decimal":".","currency_symbol":"$","currency_symbol_pos":"left","val_requiredpayment":"Payment is required.","val_creditcard":"Please enter a valid credit card number.","css_vars":["field-border-radius","field-border-style","field-border-size","field-background-color","field-border-color","field-text-color","field-menu-color","label-color","label-sublabel-color","label-error-color","button-border-radius","button-border-style","button-border-size","button-background-color","button-border-color","button-text-color","page-break-color","background-image","background-position","background-repeat","background-size","background-width","background-height","background-color","background-url","container-padding","container-border-style","container-border-width","container-border-color","container-border-radius","field-size-input-height","field-size-input-spacing","field-size-font-size","field-size-line-height","field-size-padding-h","field-size-checkbox-size","field-size-sublabel-spacing","field-size-icon-size","label-size-font-size","label-size-line-height","label-size-sublabel-font-size","label-size-sublabel-line-height","button-size-font-size","button-size-height","button-size-padding-h","button-size-margin-top","container-shadow-size-box-shadow"],"val_post_max_size":"The total size of the selected files {totalSize} MB exceeds the allowed limit {maxSize} MB.","val_time12h":"Please enter time in 12-hour AM\/PM format (eg 8:45 AM).","val_time24h":"Please enter time in 24-hour format (eg 22:45).","val_time_limit":"Please enter time between {minTime} and {maxTime}.","val_url":"Please enter a valid URL.","val_fileextension":"File type is not allowed.","val_filesize":"File exceeds max size allowed. File was not uploaded.","post_max_size":"2097152000","isModernMarkupEnabled":"1","formErrorMessagePrefix":"Form error message","errorMessagePrefix":"Error message","submitBtnDisabled":"Submit button is disabled during form submission.","error_updating_token":"Error updating token. Please try again or contact support if the issue persists.","network_error":"Network error or server is unreachable. Check your connection or try again later.","token_cache_lifetime":"86400","hn_data":[],"val_password_strength":"A stronger password is required. Consider using upper and lower case letters, numbers, and symbols.","val_phone":"Please enter a valid phone number.","indicatorStepsPattern":"Step {current} of {total}","entry_preview_iframe_styles":["https:\/\/southoakdental.com\/wp-includes\/js\/tinymce\/skins\/lightgray\/content.min.css?ver=6.7.1","https:\/\/southoakdental.com\/wp-includes\/css\/dashicons.min.css?ver=6.7.1","https:\/\/southoakdental.com\/wp-includes\/js\/tinymce\/skins\/wordpress\/wp-content.css?ver=6.7.1","https:\/\/southoakdental.com\/wp-content\/plugins\/wpforms\/assets\/pro\/css\/fields\/richtext\/editor-content.min.css"]}