For the complete documentation index, see llms.txt. This page is also available as Markdown.

Connect Google Analytics to Your Consumer App

How to connect an analytics tracker to a Consumer App so you can collect user analytics from it.

Analytics options

The Consumer App supports Google Analytics 4 as a native out-of-the-box analytics integration.

If you want to send Consumer App events to another analytics tool, you can use custom event forwarding from the parent page where the app is embedded. This option requires web development support.


Connecting Google Analytics

You can easily add your Google Analytics tracking code to any of your Consumer Apps to track visitor behavior and demographics. The Consumer App and Google Analytics integration lets you track when a user started the session, get recommendations, add products to the product cart, and other events.

To set up the integration:

  1. On your Google Analytics home page, go to Admin settings and select Data Streams.

  2. Click the Data Stream you want to connect to your Consumer App (you might have more than one).

  3. Copy the value under Measurement ID (you can do this by clicking the Copy icon).

  4. In your B2B SaaS account, go to Consumer Apps and open the app you want to integrate with Google Analytics.

  5. Go to the Advanced tab, scroll down to the Google Analytics tracker tab, and paste the previously copied measurement ID into the tracker ID field.

  6. Save the changes.

Testing integration

To test the integration, we suggest using Google Tag Assistant. It is the easiest and most friendly tool for non-technical users.

  1. Copy the link to your Consumer App.

  2. Open Google Tag Assistant: https://tagassistant.google.com/.

  3. Click Add domain.

  4. Paste the copied link to your Consumer App and click Connect.

  5. Select your measurement ID on the top of the Tag Assistant page.

  6. Switch to your skin Consumer App and complete the user journey (e.g., capture the photo, get recommendations, and add products to the cart).

  7. Switch back to the Tag Assistant Tab. You should see the events from the Consumer App if everything was set correctly.

Google Analytics Reference

Use these guides depending on what you want to track or customize:

Important to Note

Consumer App sends events to analytics tools only if the user has provided consent inside the Consumer App.

Add custom UTM-parameters to Your Consumer App

Other options to track

Tracked Events

You can use tracked events to build a conversion funnel and understand how your clients interact with the Consumer App. Check the full list of events in Google Analytics Events Reference.

If you embed the app into a landing page or Shopify page, you can also keep campaign attribution consistent by forwarding parent page UTM parameters into the app iframe. See Forward Parent Page UTM Parameters to the Consumer App.

FAQ

I attached the Google Analytics, but I don't see any events incoming

It normally takes up to 1 day for Google Analytics to start gathering the events and metrics for the new stream. It might take longer if your Consumer App is not actively used (<10 users per day).

In case you don't see the events for a longer period, please, reach out to your Account Manager.

Google is moving away from 3rd party cookies. How will it Returning User Experience in the Consumer App?

Consumer App uses a Returning user experiencefeature to show differences in metrics, and cookies are used to re-identify the same user by device-browser finger print. Haut.AI does not use 3rd party cookies for this or for any other services, so Google moving away from 3rd party cookies does not affect the functionality or accuracy of user identification in the Consumer App.

Can you integrate other analytics tools? GludoIO / Triple / Facebook Pixel

Google Analytics is supported as a native out-of-the-box integration. Other analytics tools can receive Consumer App events through custom event forwarding from the parent page where the app is embedded. This requires web development support. See Send Consumer App Analytics Events to Third-Party Analytics.


Book a demo external-linkPlatform overview on haut.ai

Last updated