Acronym
AcronymContact Us
  • About Acronym
  • Adobe Tags (Adobe Launch)
    • Google Tag (gtag)
      • Configuration
      • Actions
        • Preload the gtag.js library
        • Set persistent values
        • Send a page view
        • Send an event
      • Release Notes
      • Frequently Asked Questions
        • Consent Management
        • Error Codes
      • Migration Guides
        • Google Ads
        • Google Universal Analytics
        • Google Gtag
      • Developer Documentation
  • Adobe Analytics
    • Activity Map Destination
Powered by GitBook
On this page

Was this helpful?

  1. Adobe Tags (Adobe Launch)
  2. Google Tag (gtag)
  3. Actions

Preload the gtag.js library

This action is optional and has no configuration.

By default, the library will load when the first gtag action is called. This means a page will not load the gtag.js library if no page view, event, or set actions calls are made. This reduces the amount of assets your end users will have to load.

If you want to force the gtag.js library to load on every page, no matter if any gtag actions are called, or you want to load the gtag.js library earlier on the page, use this action to do so. It will only load the gtag.js library and configure the accounts setup in the extension configuration. If the gtag.js library has already loaded, it will not be loaded again.

PreviousActionsNextSet persistent values

Last updated 11 months ago

Was this helpful?