Top
Reduce GA Payload
  • 05 Sep 2024
  • 2 Minutes To Read
  • Dark
    Light
  • PDF

Reduce GA Payload

  • Dark
    Light
  • PDF

Article summary

By default, Whatfix does not send any data to Google Analytics (GA). However, you can configure Whatfix to capture content usage and engagement data using Google Analytics. For more information, see Capture Whatfix analytics data using Google Analytics. However, if you also have a standard GA account for tracking these events, it could lead to differences in the data you see between the two platforms.

For example, consider that the timezone for Whatfix GA is set to Indian Standard Time (IST), while your standard GA could be set to another time zone. This difference in time settings can cause discrepancies when comparing data for specific date ranges.


What are custom dimensions?

Custom dimensions in Google Analytics are like custom tags you can attach to your data for better organization and analysis. For example, you may want to track which user role is using your application or which feature they're interacting with the most.

What is a payload?

When data is sent to Google Analytics, it's packaged into what's known as a payload. This payload contains various pieces of information, including the custom dimensions you've set up.


If your custom dimension setup is not consistent between Whatfix GA and your standard GA, it can impact the payload size. If the payload size becomes too large, Google may convert the method of sending data from GET calls to POST calls. However, POST calls can sometimes face security issues, such as Content Security Policy (CSP) restrictions, which could lead to blocked events or incomplete data being recorded in Customer GA.

To address this issue, you can either whitelist Google Analytics to send and receive data without any hindrance. If you choose not to whitelist the Google Analytics domain in your CSP configuration due to security concerns or privacy preferences, then you can enable GA Exclude Optional Dimensions to reduce the payload sent to Google Analytics. This reduces the amount of data sent to Google Analytics by using less intrusive GET calls instead of POST calls. However, some data may still be missed out because it's sent as POST calls, which could potentially be blocked by the CSP. This could lead to blocked events or incomplete data being recorded in Customer GA.

Use the following steps to reduce GA payload:

  1. On the Whatfix Guidance dashboard, click Settings.
    ia_left_nav_settings

  2. Click Advanced customisation.
    ia_settings_advanced%20configuration

  3. Click Technical configuration.
    ac_tech config.png

  4. Click Add preferences.
    tech config_add prefrences.png

  1. Click Analytics
    tech config_analytics.png

  2. Select the GA Exclude Optional Dimensions checkbox.
    tech config_enable ga exclude.png

  3. Click Add.
    tech config_add button.png

  4. Enable the GA Exclude Optional Dimensions toggle.
    tech config_ga exclude toggle.png

  5. Click Save.
    tech config_save.png


Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.