Introducing the Silverpop Drupal Module

Director of Development

Introducing the Silverpop Drupal Module

In an effort to continue helping organizations engage and stay sticky with their customers, we partnered with Silverpop to release the Silverpop Engage Drupal module. Silverpop, a leader in marketing automation, partnered with Mediacurrent to provide direction on the module’s feature set and API integration. Now, digital marketers can seamlessly add Silverpop’s visitor tracking capabilities to their Drupal website by installing the module and entering a few configuration settings. 

Let’s take a look at features that are available in the this initial release of Silverpop Engage.

  • Web page tracking
  • Custom event tracking
  • Webform lead integration


Getting Started

We developed this module to be as plug-and-play as possible for Silverpop customers. With minimal setup administrators can integrate key features of Silverpop Engage, including webform integration and page tracking.

How to Add Web Tracking

1.) The very first thing you do is enable the Silverpop module from /admin/modules.

2.) Next you will go to the settings page at /admin/configure/services/silverpop to plug in a couple of important values Drupal needs to know to point to Silverpop.

Silverpop Tracking Settings

3.) Silverpop has a ‘web tracking code’ you will need to find in your Silverpop administrative dashboard. This can be found under Settings / Organization Settings. We need two values from this code, the tracked domains and script source, see below:

Web Tracking Code

4) Next you will plug these values into the settings page and click save.

That’s all you have to do! Now your website has web/user tracking enabled.

How to Add Event Tracking

Now that you have page tracking enabled, you might also like to track custom events, like clicks on a particular link. This is much easier to do with the Drupal Silverpop module.

1.) First you will want to go again to /admin/configure/services/silverpop and click on ‘Add New’ to create a handler for your event tracking.

Silverpop Event Tracking 

2.) Next, you are going to need to set up a custom event in Silverpop and map that to your Drupal site. Start by setting up your custom web tracking event underneath Organization Settings.

Add Silverpop Custom Event

3.) After you have set up your custom event on the Silverpop side, you will just need to plug in that event name and ‘friendly’ name into Drupal.

 4.) The last step will be adding a CSS/jQuery style selector so that Drupal knows where to ‘bind’ this event handler. You will need the CSS class or CSS ID in most cases that belongs to the link you are tracking (your themer/developer would know this).

 That’s it. Drupal allows you to do most of this configuration from the UI so that you don’t have to do a lot of custom javascript yourself.

How to Add Webform / Lead Integration

Silverpop allows you to build lead forms that you can embed in a website. The problem is from a branding perspective, the form isn’t always easy to theme and can look out of place. It’s much more advantageous to use the popular Drupal Webform module to build out your form and then just map it to a Silverpop database directly. The following instructions will help you set this up. 

1.) First, you are going to need to enable the "Silverpop Webform" sub-module and plug in your API settings as Drupal. Drupal will need this to authenticate against the Silverpop web service.

Silverpop API Configuration

2.) The first two fields should be fairly obvious, the last one might be a little tricky to find. Your pod number should have been given to you when your Silverpop account was setup. If you cannot find this value you will want to contact Silverpop about where to find your API host.

3.) Once you have configured your API settings, the next step is to configure any webform you have on your site to map to a Silverpop database.

Silverpop Webform Configuration 

4.) As you can see from the above screenshot, the Silverpop ‘sub-tab’ appears when you click on the webform. This is where you will map certain fields back to Silverpop.

5.) What is very important is that you map each field to the exact key of the field in Silverpop (see screenshot below).

Configure Silverpop Database Fields  

6.) After you have assigned keys to all of the fields you want mapped to Silverpop, click save and you are done!

 Now whenever someone submits this webform the data will also be sent to Silverpop. The advantages of this are many. The webform module allows you to do many things outside of Silverpop (archive submissions, send email notifications, etc.). Our module gives you total control and you can set up several webforms each mapping to a different database if it meets your objectives. 


As we continue to collaborate with Silverpop on new features that this module can include, we would also like to hear what interests you. What features would you like to see in upcoming releases of the Silverpop Engage module?

comments powered by Disqus