Drip Add-on

Quick Reference

Overview

Logic Hop integrates with Drip to provide personalization using your Drip data. You can easily display any Drip data and custom field on your website to create an engaging, personalized experience. Drip tags can be used in Logic Hop Conditions to determine what content to display and when to display it. Drip Tags and Event Actions can be added and removed based on a user’s activity on your site.

Note: Drip data is dynamically loaded via the Drip API. If you have caching enabled, be sure to enable Javascript Tracking in the Logic Hop Settings panel and use Javascript Conditions and Javascript Data Variables rather than Shortcodes.

Learn more about caching.

Configuring Drip

  • Install and activate Drip Add-on plugin
  • Locate your Drip Account ID
    • Drip > Settings > General Info > Account ID
  • Locate your Drip API Token
  • Drip > User Settings > User Info > API Token
  • Enter your Account ID & API Token on the Logic Hop Settings page

Sending Drip Data to Logic Hop

Drip user data is made available to Logic Hop by passing identifying data appended to links from Drip Forms and Broadcasts as query string values.

The minimum required query string value is _dripemail:

http://website.com/?drip_email=name@domain.com

Drip Forms

Use the following Drip form settings to enable data to Logic Hop for new users.

  • Add a Post-Signup: Custom Post-Submission Page with a URL to a page on your site
  • Check Post-Signup: Redirect to a post-submission page after the widget is submitted
  • Check Post-Signup: Send subscriber data to post-submission page
    • Drip will automatically append the user’s email address to the URL
  • Drip user data is available once the user is redirected to the custom post-submission page on your site

Drip Links

Append the following query string code to your Broadcast & email links to enable Drip data for users on your site.

?drip_email={{subscriber.email}}&logichop={{subscriber.logichop}}

Note: The query string code is available to copy and paste from the Drip page under the Logic Hop settings menu.

Logic Hop uses cookies to access users’ Drip data on future visits. To ensure consistency across devices, append the above query string to all Drip links directed to your site.

Additional query string parameters can be added as necessary. Append them after the Logic Hop required values.

Using Drip Data with Logic Tags

Logic Hop provides a variety of integration points for Drip. One of the most useful is displaying Drip user data within WordPress content using Logic Tags.

Display Drip Data with Logic Tags

Logic Tags can be added from the Logic Hop tool in the WordPress Page/Post editor. Click the Data tab, select a value and click Insert Variable.

Like all Logic Tags for data, the Drip Logic Tag is a single block of code which appears as:

{{ var: Drip.email }}

If the data is available for the user, it will be displayed on the page. Logic Tags can be nested within HTML tags and also within Logic Tag conditions.

To check if data is available before display, use the default condition Drip Data Is Available for User:

{% if condition: drip %}
    Email: {{ var: Drip.email }}
{% endif %}

View the full list of Drip variables.

Using Drip Data with Conditions

Drip Tags and Custom Fields can be used as parameters in Logic Hop Conditions. The Logic Hop Condition Builder will display all Tags and Custom Fields available to your account. Conditions can test if a Tag has been set or not set and if a Custom Field is equal, or not equal to a specific value.

Learn more about Logic Hop Conditions

Drip Condition Types

The Logic Hop Condition Builder will display all Drip condition types available for use. Each can be used alone or combined with other condition types to create complex logic.

  • Drip
    • Is Drip data available
  • Drip Tag
    • Is a Drip Tag set or not set
  • Drip Custom Field
    • Is a Drip Custom Field set to a specific value

Setting Drip Tags & Event Actions with Goals

As Logic Hop Goals are triggered, Drip Tags and Event Actions can be set or removed. The Logic Hop Goal editor will display all Tags available to your account.

Learn more about Logic Hop Goals.

Tags

Select the option to Add or Remove a Tag and select the Tag to add/remove. When the goal is triggered, the Tag will be added or removed for the user’s Drip account.

Event Actions

Select the option to Add an Event Action and enter the value to add. When the goal is triggered, the Event Action will be added to the user’s Drip account.

Event Action field can be:

  • Any data type – Numeric, characters, spaces or punctuation
  • Any Logic Hop variables using Liquid-style markup:
    • {{LeadScore}}
    • {{Date.DateTime}}
    • {{QueryStore:#variable_name#}}

Leave Tag and Event Action selectors blank to disable adding or removing Tags and Event Actions.

Custom Fields

Select the Custom Field to update, the update method and enter a value. When the goal is triggered, the Custom Field will be updated for the user’s Drip account.

Update Methods:

  • Set value to
    • Sets the Custom Field to the value specified
      • Any data type – Numeric, characters, spaces or punctuation
      • Any Logic Hop variables using Liquid-style markup:
        • {{LeadScore}}
        • {{Date.DateTime}}
        • {{QueryStore:#variable_name#}}
  • Increment value by
    • Adds the value specified to the current value of the Custom Field
    • Must be a number – Whole numbers or decimal numbers
    • If existing field value is not a number or is zero, it will be replaced by the value specified
  • Decrement value by
    • Subtracts the value specified from the current value of the Custom Field
    • Must be a number – Whole numbers or decimal numbers
    • Decremented values will stop at zero

Leave Custom Field selectors blank to disable updating Custom Fields.

Drip Variable Reference

  • DripID
  • Drip
    • id
    • email
    • created_at
    • custom_fields
      • array of custom fields
    • tags
      • array of tags
    • gravatar
      • url
        • fullsize
        • large
        • medium
        • small
        • thumb
      • img
        • fullsize
        • large
        • medium
        • small
        • thumb