Skip to main content

Connecting Google Analytics

To connect analytics, you need to provide ZM apps support with the following data:

  • your domain,
  • measurement ID,
  • API key (secret key).

To obtain this data, follow the steps below.

1. Create an Account​

  1. Go to Google Analytics and click "Start Measuring".

image-0

  1. Enter the account name.
  2. Click "Next".

image-1

2. Create a Property​

  1. Enter the property name.
  2. Select your time zone.
  3. Click "Next".

image-2

3. Enter Business Information​

  1. Choose your industry — "Games".
  2. Enter company size.
  3. Click "Next".

image-3

4. Choose Your Goal​

  1. Select "Understand web and/or app traffic".
  2. Click "Create".

image-4

5. Accept the Agreement​

  1. Check the box.
  2. Click "I Accept".

image-5

6. Set Up a Data Stream​

  1. Choose the platform — "Web".

image-6

  1. Enter your domain URL.
  2. Enter a stream name.
  3. Click "Create and Continue".

image-7

7. Set Up the Tag​

  1. Close the setup popup.

image-12

  1. Go to "Tag Settings".

image-8

  1. Click "Show more".

image-9

  1. Turn on the "Collect Universal Analytics Events" switch.
  2. Click outside the active window to return to Analytics settings.

image-10

8. Create an API Key for Measurement Protocol​

  1. Open the data stream.

image-13

  1. Click "Measurement Protocol API Secret".
  2. Click "Review Terms" and accept.
  3. Click "Create".

image-14

  1. Enter a nickname.
  2. Click "Create".
  3. Close the modal.

image-15

  1. Copy the secret key (API key).

image-16

  1. Copy the measurement ID.

image-17

Send Data to ZM apps support

Send us:

  • Your flow domain,
  • Measurement ID,
  • API key (secret key).

This data will be added to the database for correct integration.

9. Create an Event​

  1. Open "Data Display".
  2. Go to "Events".
  3. Click "Create Event".

image-18

  1. Enter the install event name.
  2. Click "View more options".

image-19

  1. In the "Value" field, enter click.
  2. Remove extra events.
  3. Check "Copy parameters from the source event".
  4. Click "Save".

image-20

  1. Click "Create".

image-21

The event will not appear in the list immediately.

10. Create Key Events​

  1. Click "Create Event".
  2. Enter the event name:
    • page_view — view,
    • generate_lead — install,
    • sign_up — registration,
    • purchase — already created in Analytics.
  3. Turn on "Mark as default key event".
  4. Select "Create with code".

image-22

11. Check Events​

  1. Open "Reports".
  2. Go to "Realtime Overview".
  3. Scroll down to the stream stats block.

image-23

Integration is complete. If events show in the realtime reports, Google Analytics is set up correctly.