Search results for code examples

274 articles found

  • Background Tasks

    Groundhogg's Background Tasks are a powerful feature that ensures smooth operations by handling heavy processing tasks asynchronously. These tasks are executed in the background to maintain

  • groundhogg/email_notification/run/before

    This hook is used to add custom code before an email notification sends to a customer. do_action( 'groundhogg/email_notification/run/before', $this, $contact, $event ); This hook provides three

  • groundhogg/email_notification/run/after

    This hook is used to add custom code after email notification sends to a customer. do_action( 'groundhogg/email_notification/run/after', $this, $contact, $event ); This hook provides three objects to

  • [gh_contact] Shortcode

    This shortcode allows you to merge contact data into your content. This code works on a per-field basis, and you can also pass a default parameter in the event that the field doesn’t exist.

  • groundhogg/admin/emails/add/{tab}

    This hook is used to add a new tab inside the add page of the email builder. This hook provides the functionality to manage the response. do_action( "groundhogg/admin/emails/add/{tab}" ); While using

  • Remove "powered by Groundhogg"

    To remove add the code provided below to your theme's functions.php file or a snippets plugin. //Remove "powered by groundhogg" and link add_filter( 'groundhogg/proof/show_proof/credit_link_atts',

  • groundhogg/steps/{type}/settings/before

    This Groundhogg hook used to add a custom setting before specific step settings inside the funnel builder. Here, type can be a benchmark or action. do_action(

  • groundhogg/steps/{type}/settings/after

    This Groundhogg hook used to add a custom setting after specific step settings inside the funnel builder. Here, type can be a benchmark or action. do_action( "groundhogg/steps/{type}/settings/after",

  • REST API V3 / SMS / Send

    URL POST /wp-json/gh/v3/sms/send Method This endpoint supports the POST method. Request This endpoint provides functionality to send SMS to the contact. PARAM TYPE REQUIRED DESCRIPTION id_or_email

  • groundhogg/form/fields/init

    This action hook is used to add form controls via hook. This hook is executed when all the controls of the form loaded. do_action( 'groundhogg/form/fields/init', $this ); This hook returns the object

  • groundhogg/steps/settings/before

    This Groundhogg hook used to add a custom setting before each and every step inside the funnel builder. Here, steps can be a benchmark or action. do_action( "groundhogg/steps/settings/before", $this

  • groundhogg/steps/settings/after

    This Groundhogg hook used to add a custom setting after each and every step inside the funnel builder. Here, steps can be a benchmark or action. do_action( "groundhogg/steps/settings/after", $this );

  • groundhogg/event_queue/process/after

    This action hook is used to run custom code once Groundhogg has completed the execution of an event using the event queue. do_action( 'groundhogg/event_queue/process/after', $this ); Using this hook

  • groundhogg/steps/{type}/reporting/before

    This Groundhogg hook used to add a custom data in the reporting view of the step before the inbuilt reporting view. Here, type can be a benchmark or action. do_action(

  • groundhogg/steps/{type}/reporting/after

    This Groundhogg hook used to add a custom data in the reporting view of the step after the inbuilt reporting view. Here, type can be a benchmark or action. do_action(

  • REST API V3 / Tags / Edit

    URL PUT /wp-json/gh/v3/tags Method This endpoint supports the PUT method. Request This endpoint provides functionality to edit tags. PARAM TYPE REQUIRED DESCRIPTION tag_id int yes ID of a tag that

  • Add To Calendar

    This simple utility plugin will generate Google Calendar event links. You can download this add-on from the Groundhogg website or as part of a plan and install it on your website. After

  • REST API V3 / Emails / Send

    URL POST /wp-json/gh/v3/emails/send Method This endpoint supports the POST method. Request This endpoint provides functionality to send email to the contact. PARAM TYPE REQUIRED DESCRIPTION

  • Replacements Keyboard Shortcut

    Replacement codes are very useful and merge in user data to whichever supported content you want, such as emails, notifications, text messages and more. There is a keyboard shortcut to bring up the

  • Disable tracking links in emails

    There could be multiple reasons why you don’t want tracking links to be in your emails, from privacy, to using another product for tracking purposes, to using an email provider that also does

  • Trigger when Tags are changed, any tags, not one specific tag

    Scenario: Create a benchmark that triggers a funnel when tags are changed, any tags, not one specific tag. Using the Plugin API Benchmark. You will need to add this snippet of code to either your

  • Adding custom contact table columns

    This code is used to add the custom column inside Groundhogg's contact table. <?php add_action( 'groundhogg_contact_columns', 'add_my_custom_column' ); function add_my_custom_column( $cols ){ $cols[

  • Zapier Integration: How to integrate Groundhogg with Thriveleads

    Integrating with Thrive Leads can be accomplished in two ways. 1. You can use the Zapier addon (which is included in the Pro plan or above) from Groundhogg and set up a Zap. Documentation for the

  • Error: Failure Reason: funnel_inactive: The funnel is not active.

    While investigating an error in the Groundhogg > Logs > Events Log, you might encounter Error Code: funnel_inactive and Error Message: the funnel is not active, even if the funnel is, in fact,

  • Adding custom tabs and fields to the contact screen

    Custom tabs and fields can be added to the contact screen using the plugins API and the contact meta DB. You can see and read how on our Github or using the same code below. <?php class My_Custom_Tab

  • Benchmark: Web Form

    A Web Form benchmark is your tool to gather information from visitors—like names, emails, or event RSVPs—and kick off automated workflows. To add a form to your funnel, use the Web Form benchmark

  • REST API V3 / Emails / Get

    URL GET /wp-json/gh/v3/emails Method This endpoint supports the GET method. Request You can pass the search string to get SMS with that string. PARAM TYPE REQUIRED DESCRIPTION search string no String

  • Email Editor: View in Browser Link

    Q. How do I modify the appearance of the "View this email in your Browser" link, including its text? A. Verify that the "Enable browser view" setting is off by default it is off Drag a Text Block*

  • Enable Extension Beta Version Updates

    Want to help the Groundhogg team test new premium extension developments? You can now enable beta version updates in the latest version of Groundhogg to receive access to experimental features before

  • Email Log

    By default, Email logging is not enabled. How to enable logging. You will be presented with a notification. You can click the [ Settings ] button or the "email settings" link to be taken to the

  • Benchmark: Plugin API Benchmark

    The Benchmark "Plugin API Benchmark" provides a way to create your own custom benchmark. Drag and drop the "Plugin API Benchmark" Benchmark over into the flow on the left. You will be presented with

  • Enable Core Beta Version Updates

    If you want to participate in the Groundhogg Core release cycle, you can install and download the latest pre-release version candidates through the automatic plugin update system! Warning! Beta

  • Do development sites count against my license?

    How It Works Our license activation system is linked to specific URLs. To facilitate activation on local development servers—those running on your laptop or desktop—we've exempted certain common URLs

  • How to add a note through a funnel or internal form

    Create a Meta field in a Contact named "Note" to store the notes associated with the contact. Navigate to the funnel that contains the Web Form Benchmark you want to work with Click to see a larger

  • [gh_form] Shortcode

    Web forms in Groundhogg are a powerful way to collect contact information and kickstart your marketing funnels. The [gh_form] shortcode is a quick and easy way to display these forms on WordPress

  • Tutorials: Creating Lead Distribution Funnels

    Does your organization have more than one department or multiple salespeople? Would you like to be able to have more control over who your notification emails are going to? Try following this Lead

  • REST API Errors

    When working with REST APIs, common errors include: Client-Side Errors 1. 400 Bad Request: Malformed JSON, missing/invalid parameters. 2. 401 Unauthorized: Incorrect/missing authentication

  • Introduction to Custom Meta

    Custom meta (a.k.a custom fields) in Groundhogg allows you to store an unlimited amount of information about a contact. Using them effectively can allow you to do some really cool things and send

  • Add a server cron-job: Kinsta

    If you are using Kinsta for hosting your website there are two ways to set up a cron-job for your website. First you need to run through the Groundhogg cron setup to make sure the files are put in

  • Contact Birthdays: Introduction

    Wishing a Happy Birthday to your clients opens up a new possibility for the business and Groundhogg has got you covered with the Contacts Birthday plugin. Groundhogg's contact plugin can be used to

  • Booking Calendar: Connect your Zoom account

    If you want to create Zoom meetings when someone schedules a new appointment from the Groundhogg Booking Calendar you're just a few simple steps away. Connect Groundhogg to your Zoom Account Open the

  • Increase max_input_vars

    The max_input_vars is the number of variables that your website can use to run a function. You may already know this, but if someone gets an error similar to "PHP Warning: Unknown: Input variables

  • Action: Webhook

    Groundhogg provides webhooks that you can use to communicate with other software or instances where Groundhogg is located on another website. You want to add Webhook to the funnel by dragging it from

  • groundhogg/form/submission_handler/after

    This Groundhogg hook executes after the submission handler successfully handles the submission request. do_action( 'groundhogg/form/submission_handler/after', $submission, $contact, $this ); To use

  • Why we don't offer monthly payment options

    Unlike our SaaS competitors, we only offer annual billing options and not monthly billing. Annual billing is typical of most WordPress plugins. It's easy to forget that Groundhogg is simply a

  • Signed Contracts: Introduction

    Groundhogg Signed Contracts is an alternative to expensive digital signing platforms like DocuSign. Using this add-on your customers can sign digital contracts directly from your website. You can

  • Glossary of Terms

    This page provides explanations of terms used throughout our documentation and plugin, listed in alphabetical order. Index A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S |

  • Introduction to Groundhogg Custom Extension

    Funnel elements are what makes magic happen in Groundhogg. We have designed a methodology for implementing custom actions & benchmarks which you can find below. To see example implementations of some

  • White Label Branding: Shipping custom funnel and email templates

    With the White Label Branding addon, you can ship custom funnel and email templates to your clients' sites! Prerequisites Before you can start shipping your custom templates, you'll need... An Agency

  • Introduction to field mapping

    The field mapping API allows you to map fields between your product and ours and generate or update contact records without touching the database. To retrieve all the fields which can be mapped by