How to Blend Intelligems Data with Google Analytics 4

About Intelligems

Elevar helps you send Intelligems testing data to Google Analytics 4 via Google Tag Manager. Setting up Intelligems takes just a few minutes, without a single line of code.

Intelligems helps brands maximize their margins by A/B testing their pricing on Shopify.


Steps Overview

  1. Import Tags
  2. Setup GA4 Custom Dimensions
  3. (Optional) Setup UA Custom Dimensions
  4. Publish Changes

Downloading and importing Intelligems Container

  • Begin with downloading the Intelligems container.
  • Next import the Intelligems container into your Google Tag Manager account.
  • Once imported, create and title a new workspace.
    • Within this new workspace, be sure to first select the "Merge" option. Then, select by the "Overwrite conflicting tags, triggers, and variables" button.
    • To finalize this process, click on the confirm button located at the bottom of the page.
  • For a step by step guide of how to import a pre-built container into Google Tag Manager, click here.

❗️

Ensure your Intelligems tracking is passing the “dl_intelligems_script_loaded” datalayer event.

If you are unsure how to check that your Intelligems tracking is passing the “dl_intelligems_script_loaded” datalayer event, you can ask the Intelligems' Support Team for assistance.




Data Mapping For GA4 Integration with Google Tag Manager

After importing Intelligems into your Google Tag Manager, it is important to make any updates and workspace changes for the tag to ensure that it runs perfectly. To identify any changes that need to be made, look at the "Workspace Changes" section of your homepage.

Any tags that need to be updated will begin with the phrase, "Update After Import". Once the necessary information has been updated for each tag, you will remove this phrase from the tag title. By deleting this phrase once the process is complete, it allows all future employees that work at your company to know that nothing else needs to be updated on this tag.


1. Create GA4 Custom Dimensions and Update Tag Data Mapping

Locate Custom Definitions:

  • To update your custom definition and event parameters, first access the custom definitions option on your Google Analytics 4 page.
    • This is found by clicking on the "Admin" or gear icon in the lower left-hand corner of the Google Analytics 4 homepage.
    • Once in the Admin settings, locate the "Custom Definitions" button. This is found under the Data Display section of the settings.
      • (See Figure 1)

Step 1 screenshot

Figure 1

Creating Event Parameters:

  • Once on the "Custom Definitions" page in Google Analytics 4, click on the button titled "Create custom dimension".
    • In the "Dimension Name" box, title this dimension something that is identifiable. For example, "Intelligems Test Group Name 1".
    • Under the Scope section, use the drop-down menu to select "Event".
    • Copy and paste in the exact Event Parameter from Google Tag Manager into the Event Parameter box of Google Analytics 4.
      • See Figure 2 as a visual guide of where to find the Event Parameters in Google Tag Manager.
      • See Figure 3 as a visual guide when creating a custom dimension in Google Analytics 4.
    • Repeat this process in Google Analytics 4 for each of the Event Parameters.

      📘

      Number of Event Parameters

      You can create as many “intelligems_test_group_number” and “intelligems_experiement_name_number” events for however many split tests you have!

Step 4 screenshot

Figure 2

Step 2 screenshot

Figure 3

Finalizing GA4 - Event - Intelligems Test:

  • After you have finished created all of the new dimensions within Google Analytics 4 with the coordinating Event Parameters in Google Tag Manager, edit the name of the tag by removing the "*Update After Import*".
  • Save the changes made by clicking on the blue button Save button in the upper right-hand corner.
    • (See Figure 4)

Step 1 screenshot

Figure 4


2. Updating GA4 Property ID for Intelligems Import

Locate Web Data Streams:

  • To accurately import Intelligems, you will need your Google Analytics 4 Property ID.
    • Once in your Google Analytics 4 data streams, find and copy your measurement ID.
    • For a step by step guide on How to Locate Google Analytics 4 Measurement ID, click here.

Finalizing GA4 Property ID for Intelligems Import:

  • After locating your property ID, go to your Google Tag Manager. Next, locate and click on the tag named, "*Update After Import* GA Property ID for Intelligems Import".

    • Under the "Value" section of this feature, input the Tracking ID from your Google Analytics 4 page.
    • Additionally, edit the name of the tag by removing the "*Update After Import*".
  • Save the changes made by clicking on the blue button Save button in the upper right-hand corner.

    • (See Figure 5)

    Step 1 screenshot

Figure 5


3. Create Universal Analytics Custom Dimension and Update Tag Data Mapping

  • To create a new custom dimension, first access the custom dimensions option on your Universal Analytics page.

    • This is found by clicking on the "Admin" or gear icon in the lower left-hand corner of the Universal Analytics homepage.

    • Once in the Admin settings, locate the "Custom Definitions" button. A drop down menu will appear and then click on "Custom Dimensions".

      • To create a new dimension, click on the red box that titled, "New Custom Dimension".
        • (See Figure 6)

Step 1 screenshot

Figure 6

Creating Custom Dimension:

  • You will need to create two custom dimensions for this process.

    • Title the first custom dimension "Intelligems Test Group Name".
    • Under the Scope section, use the drop-down menu to select "User".
    • Ensure that the box labeled, "Active" is checked.
    • Finally, click on the blue box titled "Create" located at the bottom of this page.
      • (See Figure 7)
  • Repeat the process of creating a new custom dimension once more using the same process.

    • When creating your second custom dimension, title the second new custom dimension "Intelligems Experiment Name".

Step 2 screenshot

Figure 7

Custom Dimensions Index:

  • For each new custom dimension that you create, there will be an assigned custom dimension index number.

    • (See Figure 8)

Step 3 screenshot

Figure 8

Finalizing GA - Event - Intelligems Test:

  • After creating new custom dimensions, go to your Google Tag Manager. Locate and click on the tag named, "*Update After Import* GA - Event - Intelligems Test".

    • Under the "Custom Dimensions" section of this feature, input the corresponding custom dimensions that you previously created.
    • Additionally, edit the name of the tag by removing the "*Update After Import*".
  • Save the changes made by clicking on the blue button Save button in the upper right-hand corner.

    • (See Figure 9)

Step 1 screenshot

Figure 9


4. Update GA Property ID for Intelligems Import

Locate Universal Analytics ID:

  • Find and copy your Universal Analytics ID.
    • For a step by step guide on where to find your Universal Analytics ID, click here.

Finalizing GA Property ID for Intelligems Import:

  • After locating your property ID, go to your Google Tag Manager. Next, locate and click on the tag named, "*Update After Import* GA Property ID for Intelligems Import".

    • Under the "Value" section of this feature, input the Tracking ID from your Google Analytics page.
    • Additionally, edit the name of the tag by removing the "*Update After Import*".
  • Save the changes made by clicking on the blue button Save button in the upper right-hand corner.

    • (See Figure 10)

Step 1 screenshot

Figure 10


5. Publish Google Tag Manager Tags

Submit Changes:

  • Once you have completed all of your workspace changes, be sure to click on the blue box titled, "Submit" in the upper right-hand corner of the homepage in Google Tag Manager.
    • (See Figure 11)

Step 1 screenshot

Figure 11

Publish:

  • After submitting changes to your workspace, a pop-up window will appear.
  • Finally, click on the "Publish" button in the upper right-hand corner of the final pop-up window to publish all of your changes and make this version live on your page.
    • (See Figure 12)

Step 2 screenshot