### Webflow JS/Touch Class Initialization Source: https://www.ripplesfromthewell.org/contact Initializes JavaScript functionality for Webflow by adding 'w-mod-js' to the html tag. It also detects touch support and adds 'w-mod-touch' if applicable, aiding in responsive design and interaction handling. ```javascript !function(o,c){var n=c.documentElement,t=" w-mod-";n.className+=t+"js",("ontouchstart"in o||o.DocumentTouch&&c instanceof DocumentTouch)&&(n.className+=t+"touch")}(window,document); ``` -------------------------------- ### Load Google Fonts Source: https://www.ripplesfromthewell.org/contact Loads specific Google Fonts ('Inter' and 'Asul') for the website. This script ensures the specified font weights and styles are available for use in the site's CSS. ```javascript WebFont.load({ google: { families: ["Inter:300,regular,500,600,700","Asul:regular,700"] } }); ``` -------------------------------- ### Facebook Pixel Initialization and Page View Tracking Source: https://www.ripplesfromthewell.org/contact Initializes the Facebook Pixel for tracking website events. It loads the Facebook SDK and then tracks a 'PageView' event for the specified pixel ID ('757641649837693'). ```javascript !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://connect.facebook.net/en_US/fbevents.js'); fbq('init', '757641649837693'); fbq('track', 'PageView'); ``` -------------------------------- ### Google Analytics Configuration and Event Tracking Source: https://www.ripplesfromthewell.org/contact Configures Google Analytics by setting the developer ID and tracking page views for a specific GA property ('G-6GZH5SBWXD'). It also includes an event for conversion tracking with an associated ID ('AW-437307020/79OgCKyxxqkDEIyNw9AB'). ```javascript window.dataLayer = window.dataLayer || []; function gtag(){ dataLayer.push(arguments); } gtag('js', new Date()); gtag('set', 'developer_id.dZGVlNj', true); gtag('config', 'G-6GZH5SBWXD'); // For AW-437307020/79OgCKyxxqkDEIyNw9AB window.dataLayer = window.dataLayer || []; function gtag(){ dataLayer.push(arguments); } gtag('js', new Date()); gtag('config', 'AW-437307020'); gtag('event', 'conversion', {'send_to': 'AW-437307020/79OgCKyxxqkDEIyNw9AB'}); ``` -------------------------------- ### Facebook Pixel NoScript Fallback Source: https://www.ripplesfromthewell.org/contact Provides a fallback mechanism for Facebook Pixel tracking when JavaScript is disabled. This image tag ensures that a PageView event is still registered with Facebook Analytics. ```html ``` -------------------------------- ### Remove Meta Generator Tag Source: https://www.ripplesfromthewell.org/contact This script runs after the DOM is fully loaded and removes the meta tag with the name 'generator'. This is often done for privacy or to prevent revealing the CMS or framework used. ```javascript document.addEventListener("DOMContentLoaded", function () { const meta = document.querySelector('meta[name="generator"]'); if (meta) meta.remove(); }); ``` -------------------------------- ### Google Ads Conversion Tracking Source: https://www.ripplesfromthewell.org/donate Configures Google Ads conversion tracking by setting up the data layer, initializing gtag, and triggering a specific conversion event for campaign monitoring. ```javascript window.dataLayer = window.dataLayer || []; function gtag(){ dataLayer.push(arguments); } gtag('js', new Date()); gtag('config', 'AW-437307020'); gtag('event', 'conversion', {'send_to': 'AW-437307020/79OgCKyxxqkDEIyNw9AB'}); ``` -------------------------------- ### Facebook Pixel Initialization Source: https://www.ripplesfromthewell.org/blog Initializes the Facebook Pixel (fbevents.js) for tracking website events and user interactions on Facebook. It sets up the pixel ID and tracks page views, enabling remarketing and conversion tracking on Facebook platforms. ```javascript !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://connect.facebook.net/en_US/fbevents.js'); fbq('init', '757641649837693'); fbq('track', 'PageView'); ``` -------------------------------- ### Google Analytics Configuration Source: https://www.ripplesfromthewell.org/blog Initializes Google Analytics (gtag.js) by setting the JavaScript version, developer ID, and configuring the tracking ID for website analytics. This enables tracking of user behavior and site performance. ```javascript window.dataLayer = window.dataLayer || []; function gtag(){ dataLayer.push(arguments); } gtac('js', new Date()); gtac('set', 'developer_id.dZGVlNj', true); gtac('config', 'G-6GZH5SBWXD'); ``` -------------------------------- ### Google Analytics Configuration Source: https://www.ripplesfromthewell.org/pathway Initializes Google Analytics (gtag.js) for website tracking. It sets up the data layer, configures the developer ID, and sets the measurement ID for tracking events and page views. ```JavaScript window.dataLayer = window.dataLayer || []; function gtag(){ dataLayer.push(arguments); } gtag('js', new Date()); gtag('set', 'developer_id.dZGVlNj', true); gtag('config', 'G-6GZH5SBWXD'); ``` -------------------------------- ### WebFont Loading Configuration Source: https://www.ripplesfromthewell.org/statement-of-faith Configures the WebFont loader to asynchronously load Google Fonts. It specifies 'Inter' and 'Asul' families with various weights and styles. ```javascript WebFont.load({ google: { families: ["Inter:300,regular,500,600,700","Asul:regular,700"] } }); ``` -------------------------------- ### Google Ads Conversion Tracking Source: https://www.ripplesfromthewell.org/blog Configures Google Ads conversion tracking by initializing the data layer, setting up the gtag function, and registering a specific conversion event with its associated ID. This helps measure the effectiveness of advertising campaigns. ```javascript window.dataLayer = window.dataLayer || []; function gtag(){ dataLayer.push(arguments); } gtag('js', new Date()); gtac('config', 'AW-437307020'); gtac('event', 'conversion', {'send_to': 'AW-437307020/79OgCKyxxqkDEIyNw9AB'}); ``` -------------------------------- ### Load Google Fonts Source: https://www.ripplesfromthewell.org/donate Loads specified Google Fonts (Inter and Asul) for the webpage using the WebFont API. This ensures consistent typography across different browsers and devices. ```javascript WebFont.load({ google: { families: ["Inter:300,regular,500,600,700","Asul:regular,700"] } }); ``` -------------------------------- ### Load Google Fonts Source: https://www.ripplesfromthewell.org/pathway Loads specified Google Fonts (Inter and Asul) for web page styling. This script ensures the necessary font files are fetched and applied to the document. ```JavaScript WebFont.load({ google: { families: ["Inter:300,regular,500,600,700","Asul:regular,700"] } }); ``` -------------------------------- ### Google Analytics Configuration Source: https://www.ripplesfromthewell.org/donate Initializes Google Analytics (gtag.js) by setting the JavaScript version, developer ID, and configuring tracking for a specific measurement ID (G-6GZH5SBWXD). ```javascript window.dataLayer = window.dataLayer || []; function gtag(){ dataLayer.push(arguments); } gtag('js', new Date()); gtag('set', 'developer_id.dZGVlNj', true); gtag('config', 'G-6GZH5SBWXD'); ``` -------------------------------- ### Google Analytics Configuration Source: https://www.ripplesfromthewell.org/sponsor Initializes Google Analytics (gtag.js) for website traffic monitoring. It sets up the data layer, configures the analytics ID, and enables developer ID tracking. ```JavaScript window.dataLayer = window.dataLayer || []; function gtag(){ dataLayer.push(arguments); } gt ag('js', new Date()); gt ``` -------------------------------- ### Facebook Pixel Initialization Source: https://www.ripplesfromthewell.org/donate Initializes the Facebook Pixel script to track website events and user interactions for marketing and advertising purposes. It includes loading the fbevents.js library and setting the pixel ID. ```javascript !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://connect.facebook.net/en_US/fbevents.js'); fbq('init', '757641649837693'); fbq('track', 'PageView'); ``` -------------------------------- ### Load Google Fonts Source: https://www.ripplesfromthewell.org/blog Loads specified Google Fonts (Inter and Asul) for the webpage. This script ensures consistent typography across different browsers and devices. ```javascript WebFont.load({ google: { families: ["Inter:300,regular,500,600,700","Asul:regular,700"] } }); ``` -------------------------------- ### Load Google Fonts Source: https://www.ripplesfromthewell.org/sponsor Loads specified Google Fonts (Inter and Asul) for web page styling. This script ensures the necessary fonts are available for consistent typography across different browsers and devices. ```JavaScript WebFont.load({ google: { families: ["Inter:300,regular,500,600,700","Asul:regular,700"] } }); ``` -------------------------------- ### Facebook Pixel Initialization and PageView Tracking Source: https://www.ripplesfromthewell.org/statement-of-faith Loads the Facebook Pixel script and initializes it with a specific ID, then tracks a PageView event. This is used for website analytics and ad targeting on Facebook. ```javascript !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://connect.facebook.net/en_US/fbevents.js'); fbq('init', '757641649837693'); fbq('track', 'PageView'); ``` -------------------------------- ### Facebook Pixel Initialization Source: https://www.ripplesfromthewell.org/pathway Initializes the Facebook Pixel for tracking website events and user interactions. This script enables Facebook advertising features like retargeting and conversion tracking. ```JavaScript !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://connect.facebook.net/en_US/fbevents.js'); fbq('init', '757641649837693'); fbq('track', 'PageView'); ``` -------------------------------- ### Google Ads Conversion Tracking Source: https://www.ripplesfromthewell.org/pathway Configures Google Ads conversion tracking for the website. It initializes the data layer, sets up gtag, and registers a specific conversion event with its associated tracking ID. ```JavaScript window.dataLayer = window.dataLayer || []; function gtag(){ dataLayer.push(arguments); } gtag('js', new Date()); gtag('config', 'AW-437307020'); gtag('event', 'conversion', {'send_to': 'AW-437307020/79OgCKyxxqkDEIyNw9AB'}); ``` -------------------------------- ### Google Analytics/Tag Manager Initialization Source: https://www.ripplesfromthewell.org/statement-of-faith Initializes Google Analytics and Google Tag Manager by setting up the dataLayer and configuring tracking IDs. This snippet is responsible for sending page view data and other events to Google Analytics. ```javascript window.dataLayer = window.dataLayer || []; function gtag() { dataLayer.push(arguments); } gtac('js', new Date()); gtac('set', 'developer_id.dZGVlNj', true); gtac('config', 'G-6GZH5SBWXD'); ``` -------------------------------- ### Detect Touch Support Source: https://www.ripplesfromthewell.org/blog Detects if the user's device supports touch events and adds a corresponding CSS class ('w-mod-touch') to the HTML element. This allows for CSS or JavaScript to adapt based on touch capability. ```javascript !function(o,c){var n=c.documentElement,t=" w-mod-";n.className+=t+"js",("ontouchstart"in o||o.DocumentTouch&&c instanceof DocumentTouch)&&(n.className+=t+"touch")}(window,document); ``` -------------------------------- ### CSS Font Smoothing Source: https://www.ripplesfromthewell.org/donate Applies CSS properties to improve font rendering on macOS and other systems, ensuring text appears sharper and more readable. ```css body { -moz-osx-font-smoothing: grayscale; -webkit-font-smoothing: antialiased; } ``` -------------------------------- ### Basic HTML Structure and Links Source: https://www.ripplesfromthewell.org/ Contains common HTML elements like navigation links, image tags, and headings, typical for a website's frontend structure. Includes placeholder links and image sources. ```html Up Arrow Ripples from the Well logo Sign In Donate Now Home

Sponsor a Child

Provide life-changing hope to a child in need.

Sponsor Resources

Learn more about sponsorship and communication.

Our Mission

Ripples from the Well is dedicated to transforming lives through Christian child sponsorship and church partnership in Uganda. By caring for vulnerable children and equipping communities, we share the love of Jesus Christ and build a foundation for lasting hope and self-sufficiency.

Explore Mission Right Arrow ``` -------------------------------- ### Load Google Fonts Source: https://www.ripplesfromthewell.org/ Loads specified Google Fonts for the webpage using the WebFont loader. It configures the 'google' property with an array of font families and their weights. ```javascript WebFont.load({ google: { families: ["Inter:300,regular,500,600,700","Asul:regular,700"] } }); ``` -------------------------------- ### CSS Font Smoothing Source: https://www.ripplesfromthewell.org/pathway Applies CSS properties to improve font rendering on macOS and other systems. It enables anti-aliasing for smoother text display. ```CSS body { -moz-osx-font-smoothing: grayscale; -webkit-font-smoothing: antialiased; } ``` -------------------------------- ### Google Ads Conversion Tracking Source: https://www.ripplesfromthewell.org/statement-of-faith Configures Google Ads tracking, including setting the JavaScript date object and specifying a conversion event with a send-to parameter. This snippet is used to measure the effectiveness of Google Ads campaigns. ```javascript window.dataLayer = window.dataLayer || []; function gtag() { dataLayer.push(arguments); } gtac('js', new Date()); gtac('config', 'AW-437307020'); gtac('event', 'conversion', {'send_to': 'AW-437307020/79OgCKyxxqkDEIyNw9AB'}); ``` -------------------------------- ### Detect Touch Support Source: https://www.ripplesfromthewell.org/pathway A JavaScript snippet that detects touch capabilities on the user's device. It adds a 'w-mod-touch' class to the HTML element if touch is supported, enabling CSS or JavaScript to adapt accordingly. ```JavaScript !function(o,c){ var n=c.documentElement, t=" w-mod-"; n.className+=t+"js", ("ontouchstart"in o||o.DocumentTouch&&c instanceof DocumentTouch)&&(n.className+=t+"touch") }(window,document); ``` -------------------------------- ### Google Analytics Configuration Source: https://www.ripplesfromthewell.org/ Configures Google Analytics tracking. It initializes the dataLayer, sets a developer ID, and configures the GA4 measurement ID 'G-6GZH5SBWXD'. ```javascript window.dataLayer = window.dataLayer || []; function gtag(){ dataLayer.push(arguments); } gtаg('js', new Date()); gtаg('set', 'developer_id.dZGVlNj', true); gtаg('config', 'G-6GZH5SBWXD'); ``` -------------------------------- ### Touch Device Detection Source: https://www.ripplesfromthewell.org/donate Detects if the user's device supports touch events and adds a corresponding CSS class ('w-mod-touch') to the HTML element for conditional styling or behavior. ```javascript !function(o,c){ var n=c.documentElement, t=" w-mod-"; n.className+=t+"js", ("ontouchstart"in o||o.DocumentTouch&&c instanceof DocumentTouch)&&(n.className+=t+"touch") }(window,document); ``` -------------------------------- ### CSS Font Smoothing Source: https://www.ripplesfromthewell.org/blog Applies CSS properties to improve font rendering on macOS and generally for webkit-based browsers, ensuring text appears sharper and cleaner. ```css body { -moz-osx-font-smoothing: grayscale; -webkit-font-smoothing: antialiased; } ``` -------------------------------- ### Touch Device Detection Source: https://www.ripplesfromthewell.org/sponsor Detects if the user is interacting via a touch-enabled device. It adds a 'w-mod-touch' class to the HTML element if touch is supported, allowing for CSS or JavaScript-based adjustments. ```JavaScript !function(o,c){var n=c.documentElement,t=" w-mod-";n.className+=t+"js",("ontouchstart"in o||o.DocumentTouch&&c instanceof DocumentTouch)&&(n.className+=t+"touch")}(window,document); ``` -------------------------------- ### Facebook Pixel NoScript Tracking Source: https://www.ripplesfromthewell.org/blog Provides a fallback tracking mechanism for Facebook Pixel when JavaScript is disabled. It uses an image tag to send page view data to Facebook. ```html ``` -------------------------------- ### CSS for Font Smoothing Source: https://www.ripplesfromthewell.org/statement-of-faith Applies CSS properties to the body element to control font rendering. It enables grayscale font smoothing for macOS and antialiased smoothing for WebKit-based browsers, improving text readability. ```css body { -moz-osx-font-smoothing: grayscale; -webkit-font-smoothing: antialiased; } ``` -------------------------------- ### Facebook Pixel Initialization Source: https://www.ripplesfromthewell.org/ Initializes the Facebook Pixel (fbevents.js) for tracking website events and user activity. It includes the Facebook Pixel ID '757641649837693' and tracks a 'PageView' event. ```javascript !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://connect.facebook.net/en_US/fbevents.js'); f q('init', '757641649837693'); f q('track', 'PageView'); ``` -------------------------------- ### Google Ads Conversion Tracking Source: https://www.ripplesfromthewell.org/ Configures Google Ads conversion tracking. It initializes the dataLayer, sets a developer ID, and configures the Google Ads customer ID 'AW-437307020' along with a specific conversion event. ```javascript window.dataLayer = window.dataLayer || []; function gtag(){ dataLayer.push(arguments); } gtаg('js', new Date()); gtаg('config', 'AW-437307020'); gtаg('event', 'conversion', {'send_to': 'AW-437307020/79OgCKyxxqkDEIyNw9AB'}); ``` -------------------------------- ### Detect Touch Support Source: https://www.ripplesfromthewell.org/ Detects if the browser supports touch events and adds corresponding classes ('w-mod-js', 'w-mod-touch') to the document's HTML element. This is often used for responsive design adjustments. ```javascript !function(o,c){var n=c.documentElement,t=" w-mod-";n.className+=t+"js",("ontouchstart"in o||o.DocumentTouch&&c instanceof DocumentTouch)&&(n.className+=t+"touch")}(window,document); ``` -------------------------------- ### Remove Generator Meta Tag Source: https://www.ripplesfromthewell.org/pathway A JavaScript snippet that runs after the DOM is loaded to find and remove the meta tag with the name 'generator'. This is often used to clean up HTML by removing potentially unnecessary metadata. ```JavaScript document.addEventListener("DOMContentLoaded", function () { const meta = document.querySelector('meta[name="generator"]'); if (meta) meta.remove(); }); ``` -------------------------------- ### DOM Manipulation for Meta Tag Removal Source: https://www.ripplesfromthewell.org/statement-of-faith An event listener that runs after the DOM is fully loaded. It searches for a meta tag with the name 'generator' and removes it from the document. This is often done to clean up HTML or prevent specific client-side behaviors. ```javascript document.addEventListener("DOMContentLoaded", function () { const meta = document.querySelector('meta[name="generator"]'); if (meta) meta.remove(); }); ``` -------------------------------- ### Remove Generator Meta Tag Source: https://www.ripplesfromthewell.org/donate Removes the meta tag with the name 'generator' from the document once the DOM is fully loaded. This is often used to clean up or hide website generation information. ```javascript document.addEventListener("DOMContentLoaded", function () { const meta = document.querySelector('meta[name="generator"]'); if (meta) meta.remove(); }); ``` -------------------------------- ### Remove Generator Meta Tag Source: https://www.ripplesfromthewell.org/blog Removes the 'generator' meta tag from the HTML document once the DOM is fully loaded. This is often done to obscure the CMS or framework used by the website. ```javascript document.addEventListener("DOMContentLoaded", function () { const meta = document.querySelector('meta[name="generator"]'); if (meta) meta.remove(); }); ``` -------------------------------- ### Remove Generator Meta Tag Source: https://www.ripplesfromthewell.org/ An event listener that removes the meta tag with the name 'generator' from the document once the DOM is fully loaded. This is typically done for privacy or to clean up unnecessary metadata. ```javascript document.addEventListener("DOMContentLoaded", function () { const meta = document.querySelector('meta[name="generator"]'); if (meta) meta.remove(); }); ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.