Booking Engine Guide
  • Mews Booking Engine Guide
  • Booking Engine Standalone
    • Getting started
    • Deeplinks
  • Booking Engine Widget
    • Getting started
    • Use cases
      • Prerequisites
      • Testing in the Demo environment
      • Using your own Date inputs
      • Multiple enterprises and pre-selected locations
      • Disabling widget caching
    • Advanced guide
    • Reference
    • Troubleshooting
  • Booking Engine API
    • Usage guidelines
      • Authentication
      • Requests
      • Responses
      • Environments
      • Images
      • Supported currency codes
      • Supported language codes
    • Use cases
      • Availability blocks
      • On session payments
      • Payment card authorization
      • Supporting payment cards
    • API Operations
      • Availability blocks
      • Configuration
      • Hotels
      • Payment cards
      • Reservations
      • Reservation groups
      • Services
      • Vouchers
    • Deprecations
  • Integrations
    • Google Tag Manager
    • Google Triggers Reference
    • Google Tag Manager Configuration
    • Google Analytics cross-domain tracking
  • FAQ
    • Ways to integrate
    • Migration off the mews.li domain
  • Changelog
    • Changelog 2024
    • Changelog 2023
    • Changelog 2022
    • Changelog 2021
    • Changelog 2020
Powered by GitBook
On this page
  • Prepare your configuration
  • Import configuration into Google Tag Manager
  • Import the modified file:
  • Update and publish:

Was this helpful?

  1. Integrations

Google Tag Manager Configuration

PreviousGoogle Triggers ReferenceNextGoogle Analytics cross-domain tracking

Last updated 3 months ago

Was this helpful?

This guide provides a streamlined process for exporting and configuring a Google Tag Manager (GTM) skeleton suitable for booking engine. Follow these precise steps to efficiently adapt your GTM setup to new requirements.

Prepare your configuration

  1. Download the configuration file:

    • Access the prepared skeleton configuration file: .

  2. IMPORTANT: Customize the configuration:

    • Open the downloaded JSON file in your preferred text editor.

    • Replace all occurrences of _GA4_ID_ with your actual Google Analytics 4 (GA4) tracking ID.

  3. Prepare for import:

    • Save the changes to the JSON file, ensuring it is ready to be imported into your GTM account.

Import configuration into Google Tag Manager

Import the modified file:

  • Navigate to import options:

    • In your GTM account, go to the Admin tab.

    • Under the container options, select Import Container.

  • Select and upload file:

    • Click on Choose file and select your modified JSON file.

    • Decide how to merge this configuration with any existing setup. Options include:

      • Overwrite: Replaces the current container with the imported one.

      • Merge: Combines the imported configuration with the existing one, with options to resolve conflicts.

      • Rename: Adds the imported configuration while renaming any conflicts.

  • Complete the import:

    • Follow prompts to finalize the import process.

Update and publish:

  • Review configuration:

    • Thoroughly check all tags, triggers, and variables to ensure they are correctly configured.

  • Test before publishing:

    • Utilize GTM's preview mode to test the setup. Ensure that all configurations perform as expected.

  • Publish changes:

    • Once verified, publish the container to apply your configurations live.

Google Tag Manager - Configuration.json