We use cookies to optimize experience and functionality.  Learn moreContinue

Get Service Provider and Network Domain in Google Analytics

Lead generation | 4 MIN READ
Service Provider and Network Domain into Google Analytics

On 4th February 2020, Google Analytics (GA) deprecated the following two Technology > Network dimensions: Service Provider and Network Domain dimensions. Since GA no longer provides these Network related dimensions by default, you will have to create them in the form of custom dimensions and populate them automatically. An easy way to accomplish this is to use Delve AI’s seamless integration with orginfo.io service.

This guide will show you step-by-step how to get Service Provider and Network Domain data into Google Analytics . This is useful for example if you’d like bot/spam detection, internal traffic filtering and/or lead generation.

Requirements:

  • Google Analytics
  • Delve AI account (Free trial or Paid plans with Organizations/Leads feature)
  • Basic coding experience

Setup custom dimensions on Google Analytics

  1. Assuming you’ve already set up a Google Analytics account, go to your GA account and click on Admin in the bottom left corner.
    Google Analytics settings admin
  2. Under Property settings, select Custom Definitions → Custom Dimensions.
    Google Analytics custom definitions
  3. Create two custom dimensions, named OrgInfo Service Provider and OrgInfo Network Domain respectively. Click “+New Custom Dimension” to add each dimension and follow steps as shown below.
    Google Analytics add custom dimension - Service Provider
    Google Analytics add custom dimension - Network Domain
    Please note: Scope  should be set to ‘Session’ and Active ‘ticked’
    Google Analytics custom dimensions - index numbers
    Note the index number of each of these custom dimensions,
    as we will need them in the steps below.

Set up organization tracking on Delve AI dashboard

  1. Assuming you already have a Delve AI account, go to your Delve AI dashboard, select the correct business using the business dropdown on top, and click on Settings > Organizations on the menu on the left side.
    Delve AI Business settings organizations
  2. Set the correct index numbers of OrgInfo Service Provider and OrgInfo Network Domain custom dimensions to match those as set in Google Analytics.
    Delve AI set custom dimensions
  3. Choose how you have installed Google Analytics on your site:
    • analytics.js
    • gtag.js
    • Google Tag Manager
    • Delve AI set custom dimensions
  4. For analytics.js and gtag.js installation types, add the orginfo.io code snippet after Google Analytics code snippet on ALL pages on your website where GA is being used.

    For Google Tag Manager installation type, go to the Tag Manager console and perform the following steps:
    • Add a new trigger for orgInfo Events
      1. Click New.
      2. Name the trigger as orgInfo.
      3. Under Trigger Configuration, set Trigger Type to Custom Event and Event name to orgInfo.
      4. Set the trigger to fire on All Custom Events.
        google tag manager trigger configuration
      5. Save the orgInfo trigger.
        google tag manager saved trigger
    • Add a Variable for OrgInfoNetworkDomain.
      1. Click New in User-Defined Variables section.
      2. Name the Variable as OrgInfoNetworkDomain.
      3. Under Variable Configuration, set Variable Type as Data Layer Variable and Data Layer Variable Name as OrgInfoNetworkDomain.
      4. Check the box to Set Default Value and set the Default Value as (not set).
        google tag manager variable configuration
      5. Save the OrgInfoNetworkDomain Variable.
      6. google tag manager variable list
    • Add another Variable for OrgInfoServiceProvider.
      1. Click New in User-Defined Variables section.
      2. Name the Variable as OrgInfoServiceProvider.
      3. Under Variable Configuration, set Variable Type as Data Layer Variable and Data Layer Variable Name as OrgInfoServiceProvider.
      4. Check the box to Set Default Value and set the Default Value as (not set).
        google tag manager orginfo service provider
      5. Save the OrgInfoServiceProvider Variable.
        google tag manager variable list
    • In addition to your existing Google Analytics (Universal Analytics) tag, add a second tag to trigger OrgInfo events as non-interaction hits.
      1. Click New.
        google tag manager tag list
      2. Name the tag as Google Analytics UA OrgInfo.
      3. Choose tag type as Google Analytics: Universal Analytics.
      4. Set Track Type as Event.
      5. Set Category as orgInfo.
      6. Set Non-Interaction Hit to True.
      7. Check the box to Enable overriding settings in this tag.
      8. Set the Tracking ID to your Google Analytics Universal Analytics ID.
      9. Add custom dimension values - {{OrgInfoServiceProvider}} and {{OrgInfoNetworkDomain}} - with index numbers matching the settings for the respective OrgInfo custom dimensions in Google Analytics.
        google tag manager save custom dimension
      10. Set Triggering with Firing Triggers for orgInfo – Custom Event.
      11. Save the Google Analytics UA OrgInfo tag.
        google tag manager save tag
    • Add a third Tag to add the given OrgInfo code snippet.
      1. Click New.
        google tag manager tag list
      2. Name the tag as OrgInfo.
      3. Choose tag type as Custom HTML and copy-paste the given code snippet.
        google tag manager orginfo tag create
      4. Set Triggering with Firing Triggers for All Pages – Page View.
        google tag manager orginfo copy code
      5. Save the OrgInfo Tag.
        google tag manager tag list
      6. Be sure to Publish your changes and assure that Google Tag Manager is launched and live on the site.
    In all cases, please note that the index numbers with “dimension” prefixes in the given orginfo.io code snippet is set to match the settings for the respective OrgInfo custom dimensions in Google Analytics.
  5. To increase visitor privacy, IP anonymization option is available. When turned ON, the last part of the visitor’s IP address will be removed, thereby making it anonymous.
    Delve AI anonymize ip address
  6. Update your website's Privacy Policy document to mention your usage of orginfo.io service along with the mention of your usage of Google Analytics.

If you have followed the steps above carefully, you should start to see data for OrgInfo Service Provider and OrgInfo Network Domain custom dimensions in Google Analytics, as well as resulting Organization/Internet Service Provider/Leads (B2B) data on Delve AI dashboard within 36-48 hours.

 

Please contact us at support@delve.ai for any related questions or assistance.

Related articles

how to create personas automatically

How to create personas automatically

Learn how to create personas automatically for your and your competitor’s business. By creating buyer/user personas, you can get deeper insights and intelligence to market, sell and serve your customers better.
use personas for competitor analysis

How to use personas for competitor analysis

Performing regular competitor analysis is all about seeing where your company stands, where it could be and to identify opportunities to piggyback on the strategies of competitors. Learn how to conduct competitive research to build competitor personas.
View all blog articles ->