Skip to main content

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 explicitly 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.
We do not allow nested event properties to be forwarded as a custom property.
I.e. if the event properties look like this:
{
property_1: "value", 
items: {
      property_2: "value_2"
   }
}
then we do support forwarding property_1 as a custom property, but we do not support forwarding property_2.
1

Set up the forwarding rule in Converge

  1. Navigate to the Destinations Tab in Converge
    , and click on the GA4 Destination.
  2. Navigate to the Configuration > Advanced sub-tab, and click on Edit Configuration.
  3. Click on
    Add Event Property
  4. Choose the mapping from the Converge property to the desired GA4 property.
    custom event property map
2

Set up a custom definition in GA4

  1. Navigate to your Google Analytics Property and click on
    Admin
    >
    Custom definitions
  2. Click on Create custom dimension.
  3. Fill in your desired Dimension name (this is how your dimension/property will show up in GA4), and choose Event as your Scope. Optionally add a description and choose the mapped property that you set up in Step 4 to fill in Event parameter.
    custom event property map
  4. Press Save

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

Google Analytics 4 does not natively deduplicate events that are being sent from both the server and the browser.As such, the Converge destination will automatically not forward the server copy of the event and only send the browser copy of the event.These server-side copies will show up with a Skipped status in the Destination Log. However, the event will still arrive in GA4 through the browser-side copy.
If you see that there is a discrepancy, check off the following:
  1. Make sure that your GA4 property and your Converge dashboard are in the same time zone. There might be a difference due to a timezone misalignment.
  2. Verify that you have no active Filters
    that are filtering out certain purchases. You can check this in the Destination Logs
    .
  3. Make sure that you configured the connection type for this destination to be sGTM or server-side. If you are only tracking client-side, then your purchases might not get tracked due to Adblockers and tag-loading issues.
  4. Verify that you have disabled “Collect automatically detected user-provided data”under
    Admin
    >
    Data collection
    .
  5. If your cookie banner informs Converge that the user has given no consent, then Converge will pass this denied consent parameter to GA4 and GA4 will drop this purchase. You can verify whether this is the case by inspecting the GA4 Destination Logs for the Placed Order events. If you find a denied consent parameter under the profile properties then it means that your cookiebanner passed a deniedstatus for these purchases.
    img
If your customer journey goes through multiple domains (e.g. landing pages or checkout on a different domain), it is important to configure this in GA4 to avoid broken customer journey reports.You can configure cross-domain tracking through the following steps:
  1. Go to
    Admin
    > Data collection and modification > Data streams.
  2. Select your data stream > Configure tag settings > Configure your domains.
  3. You have now arrived at the Cross-domain Linking Configuration. In some cases, GA4 will already provide you with some suggestions. If not, then you can add your domains by adding a condition. When setting up a condition, make sure that you use the Contains match type.
  4. Save your changes.
This is most likely a legacy Universal Analytics property/pixel that is streaming events into your new GA4 property.
  1. Navigate into your old Universal Analytics Property (usually you can do this by clicking on your GA4 property and then choosing the property whose property ID starts with UA-)
    ua-1
  2. Click on Admin > GA4 Setup Assistant.
    ua-2
  3. Make sure that your Google Analytics 4 property is not connected.
Converge does not integrate with the GA4 user ID. This is a conscious decision because it leads to downstream data accuracy issues.Capturing the GA4 user ID limits the number of anonymous sessions captured for a customer to one. Therefor it does not make sense to capture this in a marketing attribution context where as much anonymous activity as possible should be captured.For example, when an entirely new visitor visits your website, the following activity could be captured:
  • They land on your website after clicking on a Facebook ad.
  • Later in the day, they do Google search for your product.
  • They place a purchase, and the user ID is captured.
In the above case, only the Google session would be attributed to the user ID, and the Facebook session remains anonymous. When the user ID option is not used, all sessions are captured and attributed to the correct source.

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 From Cartremove_from_cart
Removed From 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
I