Search results for code examples
274 articles found
-
Easy Digital Downloads Integration: Examples
Examples Abandon cart recovery Refund win back Request a review Subscribe and send discount [EDD] Abandoned cart recovery (Included) Recover abandoned carts and get more sales! [EDD] Refund win back
-
WooCommerce: Examples
Example Funnel Let’s take for example a customer who adds anything to their shopping cart, and then empties it. Here’s an example of how your funnel may go. This way, the customer is reminded (by an
-
Replacement Code: {date}
The date replacement code is a handy one that allows you to reformat any date into a nice presentable string. The syntax is the date format followed by a string representation of the date compatible
-
Replacement Code Defaults
To provide a default value for a replacement code that does not return anything, use the following syntax. {replacement::deafult} For example, to provide a default for the first name of a contact you
-
Replacement Code: {files}
The Files replacement code can be used to add a list of files that are added to the Contacts record {files} Example output:
-
Replacement Code: {posts}
The {posts} replacement code can be used to add posts to your emails! With several different formatting options, you can find one that matches every use case. Querying posts The posts replacement
-
Replacement Code: {auto_login}
The Auto Login replacement code can be used to add a link that will automatically log in to the contact if they have a user account. {auto_login_link} To change the login link add dot URL
-
WooCommerce: Custom code
Provided below is a code that can be added to accomplish different solutions for WooCommerce. Remove the WooCommerce meta box from the Contact based on the role. Remove the WooCommerce meta box Add
-
Replacement Code: Blocks(Gutenberg blocks)
Groundhogg enables the activation of replacement codes within designated blocks in WordPress posts and pages. These blocks will contain the trigger to enable Replacement codes: Buttons Columns
-
Adding custom code to Groundhogg
The best place to add custom code in Groundhogg is in a custom plugin, that way you can deactivate it if you make a mistake or your code stops working. Download our example plugin from Github and
-
Custom Replacement Codes: Add replacement code
To add a custom replacement code go to the Replacements tab under the Groundhogg menu. Once you click on the tab, you will be able to view the page that allows you to add custom codes. You will also
-
Custom Replacement Codes: Edit replacement code
Groundhogg provides the functionality to edit and delete custom codes generated by the users. To edit an existing replacement code all you need to do is click on the edit button under the replacement
-
Make Replacement Code link look pretty
If you don’t want the full replacement code link to appear in your email you can include it as a link anywhere in your email. Here’s how to do this: When you have your email open (and are editing
-
Example: Send Broadcast
Sample code for sending a broadcast via Groundhogg's API. Ensure you have an email set up and its corresponding ID before using this code. <?php // Define your Groundhogg API credentials $api_url =
-
Meta Replacement Codes
Groundhogg can store additional information associated with contacts as metadata. To display metadata you can use replacement codes, for example: {profile_picture} or {note} You can find the
-
Easy Digital Downloads Integration: Replacement codes
The Groundhogg Easy Digital Downloads integration contains six different replacement codes that you can use to send discount codes to contacts. Cart URL edd_cart_url The URL of your cart page.
-
Custom Replacement Codes: Use replacement codes
Once you have successfully added a replacement code inside the database you will be able to view all the newly added replacement code in the replace code section. You can copy the code name from this
-
Companies: Replacement codes
The Companies Extension has six replacement codes. You can see a full list of replacement codes by clicking the "Insert Replacements" button that can be found in the e-mail editor and funnel editor.
-
WooCommerce: Replacement codes
The Groundhogg-Woocommerce add-on contains six different replacement codes that you can use to send discount codes to contacts. Cart URL wc_cart_url The URL of your cart page. Restore Cart URL
-
Replacement Codes With Arguments
Some codes require an argument to function. For example the {date} , {meta} and {GET} codes. You can specify an argument using a period . For example: {date.Y-m-d|today} The date uses PHP Date
-
Sales Pipeline: Replacement Codes
The Sales Pipeline Extension has four replacement codes. You can see a full list of replacement codes by clicking the "Insert Replacements" button that can be found in the e-mail editor and funnel
-
List of Replacement Codes
When Groundhogg is installed the following replacement codes are available. Contact Info CRM Address WP User Contact Owner Activity Site Post Compliance Email Other Formatting Custom Fields As you
-
Intro to Replacement Codes
You can personalize much of the customer experience by using replacement codes. Where Do I Use Replacements? Replacement codes merge in user data to whichever supported content you want, such as
-
GiveWP Integration: Replacement Codes
GiveWP Extension has six replacement codes. You can see a full list of replacement codes by clicking the "Insert Replacements" button that can be found in the e-mail editor and funnel editor.
-
Custom Replacement Codes: Introduction
Groundhogg provides the functionality to use replacement codes. Instead of users being dependent on using built-in replacement code, Groundhogg users are able to create their own replacement codes by
-
Replacement Codes Without Arguments
This is the majority of codes, simply copy and paste and you’re off to the races.
-
AffiliateWP Integration: Replacement codes
The AffiliateWP extension has four replacement codes. Affiliate URL {affiliate_url} Returns the URL of the affiliate. Affiliate Rate {affiliate_rate} Returns the rate of affiliate. Affiliate ID
-
LifterLMS Integration: Replacement codes
LifterLMS Extension has two replacement codes. You can see a full list of replacement codes by clicking the "Insert Replacements" button that can be found in the e-mail editor and funnel editor.
-
Booking Calendar: Replacement Codes
The Booking Calendar comes with these replacement codes. Time to appointment {time_to_appointment} The time difference to the start of the appointment Contact Appointment Start Time
-
Signed Contracts: Replacement Codes
Signed Contracts have two replacement codes. You can see a full list of replacement codes by clicking the "Insert Replacements" button, which can be found in the e-mail editor and funnel editor.
-
Email Countdown Timer: Introduction
Countdown You can use the Countdown block in the email editor to add fixed countdowns (based on a specific date) or evergreen countdowns to your emails, with a variety of themes to choose from. Block
-
Email Blocks: Countdown
Countdown You can use the Countdown block in the email editor to add fixed countdowns (based on a specific date) or evergreen countdowns to your emails, with a variety of themes to choose from. Block
-
WYSIWYG Editor
The WYSIWYG (What You See Is What You Get) editor is an intuitive, user-friendly tool embedded in various sections of Grondhogg, such as Notes, Tasks, and more. Features of a WYSIWYG Editor Real-Time
-
WooCommerce Integration: Introduction
WooCommerce is one of many eCommerce solutions that are available for WordPress. Groundhogg has an integration with WooCommerce. The WooCommerce integration is available as part of our Pro plan, or
-
REST API V4 / Contacts
The contacts API allows you to fetch, add, edit, and delete contacts. Contact Properties Attribute Type Description ID integer The system ID of the contact data object The core properties of the
-
Easy Digital Downloads Integration: Introduction
Easy Digital Downloads (EDD) is a Top Tier eCommerce solution for companies exclusively selling digital products (Audio Files, PDFs, WordPress Plugins, Apps) and Groundhogg provides direct
-
How to add multiple outgoing STMP services
If you are sending a high volume of email, you may want to differentiate the service you use for Transactional email and Marketing email. Definitions: Don't know the difference between transactional
-
Create your own custom benchmark using the Plugin API
You could create your own custom benchmark, but as we routinely update the registration flow, and backwards compatibility is not always guaranteed. However, we do provide a future-proof method to
-
groundhogg/form/embed/before
This function is used to add custom code before the embedded code. Embedded code is the HTML code which users can copy and paste from other sites to Groundhogg's form builder. do_action(
-
groundhogg/form/embed/after
This function is used to add custom code after the embedded code. Embedded code is the HTML code which users can copy and paste on other sites form groundhogg form builder. do_action(
-
How Do I Claim a Course Voucher?
If you have received a voucher code for a course, here is how you can claim it. Already have an account? In your dashboard, click on Redeem a Voucher Then enter your voucher code and click submit.
-
Email Blocks: Posts
Block Settings Layout Card Style Heading Excerpt Thumbnail Query Layout Layout (Cards, Numbered List, Unordered List, H1, H2, H3, H4, H5) Featured (On/Off) Displays a large single-column post above
-
Tutorials: Importing Just A List of Phone Numbers
Every carrier creates an email for their users (most people do not know this). You could create a form that concatenates the fields to give the signup person a distinct email. (they would still need
-
Advanced Features: How to add custom HTML email templates from third party platforms
If you are using a third-party platform to design your emails, you can use the Import HTML Template feature to send the email with Groundhogg. When adding a new email, click the Import HTML Template
-
Embed a web form on another site
Once you’ve created a web form in Groundhogg, you can easily share it beyond your WordPress site using embedding options. These options, all accessible from the funnel builder’s "Web Form" benchmark,
-
Booking Calendar: Styling your calendar
By default, the Booking Calendar is styled with "Helvetica' for the font and shades of blue. You may want to match the styling of your website and this can be accomplished using the example below.
-
Styling Web Forms
Customizing the appearance of your web form in Groundhogg is simple and flexible. Whether you want a quick, pre-built look or a fully tailored design, the "Web Form" settings offer options to match
-
Email Blocks: Image
Image Block Tab Image Image Picker(Select an image from the Media library, upload an image or use a replacement code.) Width(based on pixels) Alt Text or replacement code Alignment(Left, Center,
-
Connect Bricks Builder Forms to Groundhogg
Bricks is a premium WordPress theme that lets you visually build performant WordPress sites and uses what are called elements. Elements are very similar to blocks. The Bricks’ “Form” element allows
-
How to create a custom countdown timer theme
Steps to Create the Plugin: 1. Create the Plugin Folder: Go to your WordPress installation directory. Navigate to /wp-content/plugins/. Create a new folder for your plugin, for example: