Overview

Destination Type:

Client-side
and
Server-side


Installation Instructions

  1. Navigate to your GA4 Property and choose

    Admin
    > Data collection and modification > Data streams.

  2. If you do not have a data stream yet, you should click Add stream > Web. If you do have a data stream already, you should click on the datastream.

  3. Copy the Measurement ID from the top right corner. You will need it later.

  4. Click on Measurement Protocol API secrets on the same page.

    If you do not see the Measurement Protocol API secrets option, this means that you do not have Edit permissions for this GA4 Property.
  5. Click on Create to generate a new secret, and give it the name Converge. After creating, copy the Secret value.

  6. In the Converge sidebar, click on

    Event streams
    and then click Create new Destination.

  7. Select the Google Analytics 4 destination and click Next.

  8. Give your destination a name (e.g. GA4 Destination) and click Next.

  9. Fill in the Measurement ID and Measurement Protocol API Secret you copied from GA4 and click Next.

  10. Keep the defaults on the Configuration page and click Next.

  11. Select Use default mapping and click Next.

You can find the Default mapping for the Google Analytics 4 destination here. For more information on setting up Custom mappings, look here.
  1. Select the sources you want to forward events from, then click Next.

  2. Review any issues and click Submit.

Once you have installed your Converge Destination, you should pause or remove all existing Google Analytics 4 tracking. Leaving these on will lead to duplicate tracking. Check the Turn off your old tracking setup guide for additional instructions.

Configuration Options

The following options can be configured in the Destination Configuration.


Modify your Content ID

The Converge GA4 Destination will use the Default content mode to define the Content ID forwarded by default. However, you can configure the destination to use explicity the Product ID, the Variant ID or SKU instead.

  1. Navigate to your GA4 Destination, click on Configuration.
  2. Click on the Configuration-subtab
  3. Open the Advanced configuration (optional) section
  4. Pick your desired Content ID, and click on Save

List of Content ID Modes

Content ID ModeBehavior
DefaultUse the variant_id if available, otherwise use the product_id
Product IdAlways use the product_id
Variant IdAlways use the variant_id
SKUAlways use the sku

Connection Type

How Converge forwards events to Google Analytics 4. Options include:

  • Client-side: loads the gtag and sends every Converge event client-side.
  • Server-side: loads the gtag and sends every Converge event (except for $page_load) server-side through the Measurement Protocol.
  • Server-side GTM (Recommended): loads the gtag in a server-side GTM container, and sends server-side conversions through the Measurement Protocol.

Custom Events

The GA4 destination supports setting up custom events, see here for a deep-dive.

When the (recommended) sGTM mode is selected, there are two additional configuration options for each custom event:

  • Client or Server. Configure where the custom event is sent from. By default, custom events are triggered from the browser. In some cases, you may want to trigger the event from the server instead. This is useful for events that are exclusively sent server-side to Converge.
  • Event or Conversion. Choose whether the custom event should be marked as a conversion in GA4.

Custom Event Properties

Converge allows you to map properties that were tracked on a source from Converge into a custom property in Google Analytics 4.

Custom Ecommerce Properties

You might want to add a custom property on the items array for ecommerce events as per the GA4 documentation here. For example, you could include a custom in_stock parameter on all of the item arrays in your GA4 Ecommerce events.

The steps for setting up these custom properties are functionally similar to the steps described above in the Custom Event Properties-paragraph. The only distinction is that you should choose an item-scoped custom dimension in the GA4

Custom definitions
settings.

Custom User Properties

You might want to forward a profile property as a custom user property.

The steps for setting up these custom properties are functionally similar to the steps described above in the Custom Event Properties-paragraph. The only distinction is that you should choose a user-scoped custom dimension in the GA4

Custom definitions
settings.

Deploy a separate data layer for Converge

When enabled, Converge creates a new dataLayer object, even if there is already an existing dataLayer object. This makes sure that any existing implementation does not accidentally push events on the dataLayer object that Converge uses to forward events to its destinations. When you use the sGTM connection type, Converge will always use a separate data layer.

When enabled, Converge makes sure to inject the Google Consent Parameters on server-side captured events as per the corresponding browser session.


Cross-Domain tracking

If you need to track users across multiple domains you will need to set up cross-domain tracking in GA4.

  1. Go to your GA4 property.
  2. Go to Admin.
  3. Go to Data streams.
  4. Select your active data stream(s).
  5. Click Configure tag settings.
  6. Under Settings click Configure your domains.
  7. Add the different domains the user will interact with.
  8. Click Save.

GA4 will automatically add cross-domain tracking parameters to every link going from domain A to domain B.

If you also want cross-domain tracking in Converge. You can follow these instructions.

Converge functionality

This integration supports the following Converge destination functionality.

Converge FeatureSupported
Custom Events
Filters
Server-side Conversions

FAQ


Event Mapping

Converge automatically maps the following events from the Converge Event Spec to the Google Analytics 4 spec.

Converge Event NameGA4 Event Name
$page_loadpage_view
Viewed Productview_item
Viewed Collectionview_item_list
Added To Cartadd_to_cart
Added To Wishlistadd_to_wishlist
Removed To Cartremove_from_cart
Removed To Wishlistremove_from_wishlist
Viewed Cartview_cart
Started Checkoutbegin_checkout
Added Payment Infoadd_payment_info
Added Contact Infoadd_contact_info
Added Shipping Infoadd_shipping_info
Placed Orderpurchase
Started Subscriptionstart_subscription
Placed Recurring Subscription Orderrenew_subscription
Received Refundrefund
Logged Inlogin
Signed Upsign_up
Select Productselect_item
Choose Optionselect_item
Searchedsearch