Importing Lead and Sales Data Into Ruler Analytics

This guide covers what data you can import into Ruler Analytics and the methods available to import your data from CRM or third party tools.

Overview

When ingesting data from your CRM, it will typically feed into two reports within Ruler:

Opportunity Report

Reports on milestone stages a lead reaches after the initial enquiry (e.g. qualified, meeting booked).

Revenue Report

Reports on new customer revenue once a sale is closed.


Ingestion Methods

There are four ways to bring CRM and revenue/opportunity data into Ruler. Review the options below and discuss with your onboarding manager which method is most suitable.

Direct API Connection

Ruler can integrate directly with many out of the box CRM systems including:

  • Salesforce
  • HubSpot
  • Pipedrive
  • Zoho CRM
  • Microsoft Dynamics

To allow us to integrate directly with your CRM we require authentication via an OAuth link to connect to your account. Ruler will then build your workflow based on your setup and reporting requirements.

📘

Note

If your CRM is not listed above, please speak to your onboarding manager who can advise on the best alternative ingestion method for your setup.

Ruler API (Direct POST)

Send data directly to Ruler's Revenue or Opportunity API endpoints using a PUT request.

Documentation:

Outbound Webhook

Ruler can provide a dedicated webhook endpoint during onboarding.

Configure your CRM or data platform to send event data via POST requests to this endpoint with all required variables.

CSV Import

Upload a CSV file manually through the Ruler UI, or send files to a configured inbox for scheduled automated imports. If using scheduled CSV you should confirm your upload format with your onboarding manager before your first upload. More information on CSV upload methods here.

SFTP / FTP

Connect Ruler to an SFTP or FTP server to allow us to retrieve data files on a scheduled basis using a consistent file format.

Please confirm setup requirements with your onboarding manager.


Required Data Fields

The following variables are required regardless of which ingestion method is used.

Important

Email, Phone, RaId, Cookie Value, and Payload Value are identifier keys used for matching.

You must provide at least one of these identifiers to allow Ruler to attempt a match against an existing online visitor event.

VariableDescriptionRequired
emailThe email address associated with the closed sale/dealNo
phoneThe caller's phone number associated with the closed sale/dealNo
RaIdThe Ruler Cookie ID associated with the closed sale/dealNo
Cookie ValueThe GA-captured Cookie ID associated with the closed sale/dealNo
Payload ValueA unique identifier captured on form submissions associated with the closed sale/dealNo
dateDate the opportunity was closed/won or revenue was received. Format: 2019-03-15T13:14:00Yes
valueThe total revenue value for the sale/dealYes
labelA custom reference value such as deal name, product type, or categoryYes
currency_codeCurrency code for the sale value being uploaded. Supported currencies: GBP, EUR, USD, CAD, NZD, SGD, ZAR, AUDYes
unique_record_idA unique reference for the sale or opportunity record, used for deduplication and updatesYes

Matching & Attribution

When data is uploaded, Ruler attempts to match the provided identifier to a lead previously captured in the Forms or Calls report from your website or offline lead sources.

A successful match links the revenue or opportunity data to the visitor's complete online journey and associated marketing source.

A higher volume of unmatched records is expected during the first one to two months after implementation, particularly when the lead-to-sale cycle exceeds the amount of time Ruler has been active.

If you have any questions on what is the best method to use, please get in touch with a member of the team today.