Skip to main content

How can I set up Google Analytics for my Web Integrations?

Configuring Google Analytics

Jason Wiese avatar
Written by Jason Wiese
Updated over 2 months ago

In this article, we will explain how to configure Google Analytics for your Mariana Tek Integration. If you are not familiar with Google Analytics, we recommend reviewing the following:

Our support team can't provide direct assistance or guidance with GA4 setup. For an effective implementation, we recommend consulting a marketing expert.


Configure your account to receive data

  1. When you are logged in to your GA account, open Admin, located in the bottom-left corner of your menu.

  2. In the property column of your Admin page, select Custom Definitions, then select Custom Dimensions.

  3. Click to add a new custom dimension. Add each dimension below. Select “Event” as the scope for each dimension. Each dimension parameter will have the same name with underscores instead of spaces and all lowercase letters. The parameter value is the bulleted value under each name

    1. A dimension cannot be deleted once created. So be sure to enter the dimension names correctly, and that no additional spaces are entered either before or after the dimension name if you are copy-pasting.

    2. List of Dimensions with event parameter names:

      1. Class Session ID

        1. classSessionId

      2. Is a Guest

        1. isGuest

      3. Location ID

        1. locationId

      4. Location Name

        1. locationName

      5. Product ID

        1. productId

      6. Product Name

        1. productName

      7. Product Section ID

        1. productSectionId

      8. Product Section Name

        1. productSectionName

      9. Region ID

        1. regionId

      10. Screen Category

        1. screenCategory

      11. Screen Step

        1. screenStep

      12. Platform

        1. platform

      13. Reservation ID

        1. reservationId


Steps to Import GTM Setup for Web Integrations

1. Create a new Container.

When logged in to your GTM account...

  • Click to create a new container from your tag manager home page.

  • Create the new container for the web.

  • Name your Container MT Web Integrations or a name that would be easy to identify.

  • When you are prompted to choose your business objectives, select Get baseline reports so that you will have all of the report types available to you on your Google Analytics dashboard.

2. Import the GTM Setup File for Web Integrations

Once the container is created in the above steps, you will be on the workspace tab.

  • Go to the admin tab in the top nav and select import container.

  • Select “choose container file” and import the appropriate file that we have provided to you. (GA4container.json)

  • Select existing workspace, then Default workspace.

  • You should see tags, triggers, and variables at the bottom. Confirm there are at least 4 new tags, 2 new triggers, and many new variables.

  • Next, click confirm at the bottom of the screen. You will be brought back to your workspace and should see the added items listed out in the workspace changes.

3. Enter your Google Analytics Measurement ID

In the workspace for your new container created in the above steps...

  • View your tags.

  • In the Send to Google Analytics G4 Configuration Tag edit the Measurement ID.

  • Under Measurement ID, click on the ID number, update your Google Analytics tracking ID (format G-XXXXXXXXXX), and save.

    • Your GA Tracking ID number can be found in your GA Account in the admin section under Data Streams. It will be called MEASUREMENT ID and be listed after the STREAM ID.

3. Publish your Container

  • From your workspace, there should be a button that says “Submit” in the top right corner.

  • Click Submit. For the Version name, you can add today’s date. For the description, you can leave it blank or add anything you would like.

  • Click Publish in the top right corner and you should be brought back to your homepage which now shows your container is live.

4. Send Mariana Tek’s support your Google Tag Manager ID

  • Mariana Tek will add the ID to the configuration of your tenant which will activate analytics for your account

    • This ID is found on the homepage of Google Tag Manager in the Container ID column (format GTM-XXXXXXX)

5. Implement Google Tag Manager into your website

Did this answer your question?