Overview
Destination Type:Installation instructions
1. Create a BigQuery Table for your Converge Data
-
Log into your Google Cloud console at
console.cloud.google.com - Choose your relevant Google Cloud Project from the top bar. If you do not have a Google Cloud Project yet, you can create one following the instructions here.
-
From the top search bar, search for
bigqueryand pick the BigQuery service.
-
In the BigQuery Explorer, click on Add.

-
From the side-pane, choose Google Cloud Storage, this will open the Create table modal.

-
In the Create table modal, choose
Empty tableas a Source. Create a new Data set and call itconverge_data, in the Table-field choose a name for your table, e.g.events.
-
In the Schema section, flip the switch to Edit as text and paste the schema below. Click on Create Table after.

Schema
JSON
2. Stream Converge Data into your BigQuery table
-
The first thing we need to do in Google Cloud is set up a service account. Start by going to the sidebar menu and choosing IAM and admin > Service accounts.

-
Click on Create Service Account.

-
Fill in service account name, e.g.
converge-bigq-accountand click on Create and continue.

- Under Grant this service account access to the project, choose the BigQuery Data Owner scope and click on Done.

- Pick your newly created service account from the list of Service Accounts and choose Manage keys.

- Click on Add Key and Create new key. In the popup choose JSON and click on Create. This will download a file that ends with
.json.

- In the Converge sidebar, click on and then click Create new Destination.
- Select the BigQuery destination and click Next.
- Give your destination a name (e.g. BigQuery Destination) and click Next.
- Fill in the Credentials from your service account, Dataset ID and Table ID you copied from Google Cloud and click Next.
You can also stream profile merges to BigQuery. This is optional, but recommended for constructing accurate profile journeys. Enter a Merged Profiles Table ID to enable it.
- Select the sources you want to forward events from, then click Next.
- Review any issues and click Submit.
Converge automatically sends all implemented events from the Converge event spec and any custom events to BigQuery.
Multi-touch attribution support
Converge preprocesses all events and enriches them with all available profile and session information to make your attribution data warehouse queries as simple as possible.Profile Information
Every event that is forwarded includes all available information Converge has on that profile until that moment, ranging from$ip_address all the way to $email.
Events that typically do not have an $email property associated with them (e.g. $page_load) will still contain this property if we were able to identify this profile before the $page_load happened.
Profile Information Overview
Profile Information Overview
Profile Merging
Converge may combine multiple profiles into one if there is an overlap in aliases. This means that theprofile_id field in your events table may become out of date.
Under the ‘Advanced’ tab of the BigQuery destination configuration, you can configure a table to stream these profile merges to.
You can create this table as follows:
- Under your Converge dataset (
converge_data), create a new table, e.g.profile_merges. - In the Schema section, flip the switch to Edit as text and paste the schema below. Click on Create Table after.
Schema
JSON
(A, C)(B, C)Later on, profile C could be merged into profile D:(C, D)In this case, profiles A, B, and C, would all be mapped to D. To deal with this, we recommend creating a (materialized) view that recursively resolves these mappings. Here’s an example query to achieve this:
SQL
Querying attribution data
The events table contains all the data you need to build custom attribution models. You can easily construct the customer’s touchpoints through thesession_id and session_properties columns.
A multi-touch model can be broken down into the following steps:
- Selecting conversion events
- Selecting touchpoints
- Joining touchpoints with conversion events according to the attribution window
- Applying the attribution model
- Aggregating conversion metrics by touchpoint
First Touch
First Touch
For example, the following query represents a 28-day first-touch model.
Last Touch
Last Touch
For example, the following query represents a 7-day last-touch model.
string
required
Session ID of the event
Session Properties Object
required
Properties containing information about the session of the forwarded event
Deprecation of pre-processed attribution columns
Converge previously supported the following columns:first_touch_propertiesandfirst_touch_session_idlast_touch_propertiesandlast_touch_session_idfirst_touch_paid_propertiesandfirst_touch_paid_session_idlast_touch_paid_propertiesandlast_touch_paid_session_id
session_id and session_properties columns in the Converge data.
These allow full flexibility in building custom attribution models while maintaining correctness.
An example query
As an example, the following query on top of the Converge Table gives you the number of times an SKU was ordered:SQL
Make sure you replace
your-project-name, your-dataset-name and your-table-name with your appropriate values.