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
  • ACRGTAG-100 - Cannot load gtag library
  • ACRGTAG-101 - Custom config code error
  • ACRGTAG-102 - No accounts configured
  • ACRGTAG-103 - Library already loaded
  • ACRGTAG-104 - Data layer variable malformed
  • ACRGTAG-201 - No accounts enabled
  • ACRGTAG-202 - An account was removed in the extension config

Was this helpful?

  1. Adobe Tags (Adobe Launch)
  2. Google Tag (gtag)
  3. Frequently Asked Questions

Error Codes

PreviousConsent ManagementNextMigration Guides

Last updated 11 months ago

Was this helpful?

When Adobe Tag's debug mode is enabled by running _satellite.setDebug(true) in your browser console, the logs may show additional errors. This page covers the error codes that may show and how to rectify the errors.

ACRGTAG-100 - Cannot load gtag library

Cause

The extension was unable to load the main gtag library, typically found at https://www.googletagmanager.com/gtag/js?id=[ACCOUNT ID]. This is typically caused by an ad blocker in your browser blocking the JS library from loading, but it could also be caused by other network errors.

Recommendation

Open your developer tools' network tab to see what response code the library is loading.

ACRGTAG-101 - Custom config code error

Cause

The extension caught an error in either the or the .

Recommendation

Review the custom code blocks and rectify any JavaScript errors.

ACRGTAG-102 - No accounts configured

Cause

No accounts were added or configured, and thus there was nothing to load.

Recommendation

ACRGTAG-103 - Library already loaded

Cause

Recommendation

If you are preloading the library, you can remove this action. Otherwise, no further changes are required.

ACRGTAG-104 - Data layer variable malformed

Cause

The data layer is not an array and data cannot be pushed to it.

Recommendation

NOTE: You will likely see an additional error from the gtag library that is similar to "b.slice is not a function". This is caused by the data layer variable not being an array.

ACRGTAG-201 - No accounts enabled

Cause

No accounts were enabled when this rule action ran. This could happen when you are using data elements to set the enabled/disabled status for an account and they all return false, or if you have not enabled any accounts.

Recommendation

Enable an account to send data to that account. Otherwise, if no accounts are enabled, verify if you still need this rule action.

ACRGTAG-202 - An account was removed in the extension config

Cause

Recommendation

Re-save the rule action to remove the account from the rule action settings.

to start sending data.

The main gtag library has already been loaded on the page. If you are using the "" action, you may be calling this multiple times.

You may be using the name "dataLayer" for another tool. If so, you should to something else. Acronym recommends using gtagDataLayer as an easy replacement. The current value of the data layer variable is passed alongside the error message for easier debugging.

This happens when in the extension configuration, but still exists in the rule action settings. Due to the limited nature of what extensions can see and do, we cannot automatically update rule actions when an account is removed in the extension configuration.

Preload the gtag.js library
Pre-Account Initialization Code
Post-Account Initialization Code
Add an account
rename the data layer variable name
an account was removed