Skip to main content Skip to footer
TripCart
  • Support
  • Login
Start Free Trial
TripCart
  • Tour Operators
  • Rental Companies
  • Boat Tours
  • Attractions
  • Trains
  • Ziplines
  • Farms
  • Customer Stories
Start Free TrialBook a Demo

Create and Manage Tours

  • How to Add Group Discount
  • How to Create a Multi-Day Tour
  • How to Create a Single-Day or Activity Tour?
  • How to Create Tour Packages for Multi-Day and Single-Day/Activities
  • How to add Destinations for Tour?
  • How to Add Activities for Tours
  • What are Add-ons, and How to Use Them?
  • How to Add Accommodations to Tours
  • How to setup Customer’s Account Page
  • How to Enable and Manage Coupon Codes for Tours
  • How to View and Manage Tour Bookings
  • How to Display Reviews for Your Tours
  • How to Set and Manage Difficulty Levels for Tours
  • How to Add and Manage Tour Information
  • How to Import Tours

Tour Settings

  • How to configure Display Preference
  • How to add Meal Options
  • How to edit Traveler Login Page details
  • How to Enable the Deposit Payment Feature
  • How to enable Discount on Full Payment
  • How to Add Tour Highlight
  • How to Block Dates For Tours
  • How to Add WhatsApp Number To Your Tour Detail Page
  • How to set Tour Inquiry Lead Form
  • How to Define Pricing Categories for Tours
  • How to Configure the Currency Settings
  • How to Add Custom Filters

Website Settings

  • How to Customize Colors and Fonts on Your Website?
  • How to Enable the Scroll-to-Top Button
  • How to Add Sections to the Homepage
  • How to Clear Website Cache
  • How to Translate Your Website into a Local Language
  • How to Create and Manage Menus
  • How to Customize the Website Footer?
  • How to Add Meta Titles and Descriptions for the Homepage?
  • How to Configure the Website Header?
  • How to connect your domain

Payment Gateways

  • How to Manage Tax Settings in Tripcart
  • How to configure Getnet Payment Gateway
  • How to configure the Midtrans Payment Gateway
  • How to configure the Revolut Payment Gateway?
  • How to configure the Global IME Payment Gateway
  • How to configure the Xendit Payment Gateway
  • How to configure the RazorPay Payment Gateway
  • How to Add a Custom Booking Link for Your Tours
  • How to Set Up a Payment Reminder for Due Amounts
  • How to Create Custom Payment Links for Bookings or Invoice
  • How to Enable and Use the Booking Fee Feature
  • How to Configure HBL Payment Gateway
  • How to Configure Authorize.net Payment Gateway
  • How to Configure Payment Settings for Checkout
  • How to Configure Stripe Payment Gateway
  • How to Configure PayPal Payment Gateway
  • How to Configure Cybersource Payment Gateway
  • How to Configure Nabil Bank Payment Gateway
  • Book Now and Pay later

Email Notifications

  • How to Set Up Email Notifications for Customers
  • How to Configure SMTP for Your Website
  • How to Customize the Header and Footer for Emails

Pages and Posts

  • How to Create Pages?
  • How to Publish Blog Posts on Your Site?
  • How to Add Categories and Assign Them to Posts?
  • How to add FAQs Block using Text Editor?

Apps

  • Tools
  • Reviews
  • Form Builder

Account Settings

  • How to Add or Remove Team Members
  • How to Update Your Company Information
  • How to Update Your Profile Information

FAQs

  • How to Check File Storage Usage and Email Quotas?
  • What is a Workspace, and How to Create One?
  • How to Update the Website Footer Copyright

SEO Settings

  • How to Add SEO Meta Titles and Descriptions to Default Pages
  • How to Analyze the SEO Score for Tours, Posts, and Pages
  • How to Enable or Disable Breadcrumbs on Your Website
  • How to Update the URL Structure for Default Pages

Tools

  • How to configure Google Analytics 4
  • How to Integrate Google Translate
  • How to create API Keys
  • How to add Travel Insurance
  • How to create Webhooks
  • How to configure the Checkout Form Editor?
  • How to use the Reusable Blocks?
  • How to configure the White Label
  • How to Create and Embed Forms on Your Website
  • How to Bulk Import Redirections Easily
  • How to add a Notice Bar
  • How to add the Altitude Chart in Tour Itinerary
  • How to add Itinerary Info
  • How to Configure a Cookie Consent Notice for Your Website
  • How to Integrate reCAPTCHA for Bot Protection
  • How to Add Custom CSS to Your Website
  • How to Add Scripts (e.g., Google Analytics) to Your Website
  • How to Set Up Redirection for Your Site

Import

  • How to import WP Travel Engine trips
  • How to import WordPress Posts and Pages

Payments and Billing

  • How to upgrade or downgrade your plan
  • How to download your invoice
  • How to cancel your plan
View Categories
  • Home
  • Documentation
  • Tools
  • How to configure Google Analytics 4

How to configure Google Analytics 4

4 min read

Introduction #

Google Analytics 4 (GA4) helps you understand how visitors interact with your Tripcart site. Once connected, you can track tour views, checkout activity, completed bookings, revenue, and overall marketing performance.

Tripcart automatically sends events to GA4, so you can view all the important user activity and insights directly in your Google Analytics dashboard.

You can configure settings via Dashboard > Apps > Tools > Google Analytics 4. There are two ways to configure Google Analytics.

When to Use GA4 and When to Use GTM
If you only want to track standard events such as View Item, Begin Checkout, and Purchase, then Google Analytics 4 (GA4) is sufficient. Tripcart already sends these events automatically, allowing you to view the data directly in your GA4 dashboard.
However, if you want to track custom events beyond the events that Tripcart provides by default, then you should use Google Tag Manager (GTM).

Method 1: Direct GA4 Integration #

Step1: Create Your Google Analytics Account #

If you already have GA4 set up, you can skip to Step 2.

  1. Go to analytics.google.com and sign in with your Google account
  2. Click Start measuring (for new users) or go to Admin (gear icon)
  3. Under Property, click Create property
  4. Enter:
    • Property name (e.g., “My Tour Store”)
    • Time zone
    • Currency
  5. Select your business goals (e.g., Generate leads, User engagement)
  6. Click Create and accept the terms

Connect Your Website (Data Stream) #

  • Choose Web as the platform
  • Enter your website URL
  • Name the stream (e.g., “Main Store”)
  • Click Create stream

You will now see a Measurement ID (G-XXXXXXXXXX).

📌 NOTE: Keep this tab open; you will need this ID in both GTM and Tripcart setups.

Step 2: Turn on the GA4 integration in Tripcart #

  1. Sign in to your Tripcart admin dashboard.
  2. Click Tools in the left sidebar.
  3. Find the Google Analytics 4 card and enable the toggle.
  4. Click the Configure button on the same card.
  5. Select Google Analytics 4 in Connection Method
  6. Paste your Google Analytics measurement ID (G-XXXXXXXXXX).

GA4 will begin collecting Tripcart events automatically. No additional tag configuration is required for standard page views, tour views, checkout activity, purchases, and other supported events.

Verify the connection #

  1. Open your website in a new browser tab.
  2. In GA4, go to Admin → Data Streams → [your stream] → View in Realtime or open the Realtime report.
  3. You should see your active session and page_view events within a few seconds.

Method 2: Configure GA4 through Google Tag Manager (GTM) #

Step 1: Create a GTM account and container #

If you already have a GTM account and Web container, skip to Step 2.

  1. Go to tagmanager.google.com and sign in.
  2. Click Create Account.
  3. Enter an Account Name (usually your business name).
  4. Under Container, enter your website domain and select Web.
  5. Click Create and accept the terms.

Step 2: Import the Tripcart GTM container template #

You can download GTM container JSON file that includes the events and triggers supported by the platform here:

GTM container JSON fileDownload
  1. In GTM, click Admin.
  2. Under the container column, click Import Container.
  3. Download the JSON file and upload it.
  4. Choose Add to Default workspace after completing the import.

Step 3: Connect GTM to your GA4 property #

  1. Locate the imported GA4 Configuration tag (or similarly named GA4 tag) in the workspace.
  2. Open the tag and paste your GA4 Measurement ID (G-XXXXXXXXXX) into the Measurement ID field.
  3. Save the tag.

Step 4: Test with Tag Assistant #

  1. Click Preview in GTM.
  2. Enter your website URL and click Connect.
  3. Browse a few pages, open a tour, and (optionally) go through checkout using a test booking flow.
  4. In the Tag Assistant window, confirm that the imported GA4 tags are firing on the expected pages/events.
  5. After that, click on the Submit button on the GTM dashboard.

Step 5: Add the GTM Container ID to Tripcart #

  1. In GTM, copy the Container ID (e.g., GTM-ABC1234).
  2. Click Tools in the left sidebar.
  3. Find the Google Analytics 4 card and enable the toggle
  4. Click the Configure button on the same card.
  5. Select the GTM Container Tab.
  6. Paste your GTM container ID here.

Once saved, Tripcart will load the GTM container on your site, and GTM will handle the GA4 tags and any additional marketing tags you configure.

Marketing Attribution #

Tripcart automatically captures campaign information from UTM parameters, including:

  • utm_source
  • utm_medium
  • utm_campaign
  • utm_term
  • utm_content

This allows you to identify which marketing campaigns, advertisements, social posts, or emails generated bookings and revenue.

Tripcart also stores the original landing page for every booking.

You can view it here:

Dashboard → Bookings → All Bookings → Select Booking → Booking Source Section

📌 NOTE: This data is also sent to Google Analytics so you can match bookings with ad performance and campaign performance.

This section shows:

  • Full landing URL with UTM parameters

📧 If you face any issues or have questions, please reach out to our support team or initiate the chat located on the right.

Updated on June 16, 2026
How to Set Up Redirection for Your SiteHow to Integrate Google Translate
Table of Contents
  • Introduction
  • Method 1: Direct GA4 Integration
    • Step1: Create Your Google Analytics Account
      • Connect Your Website (Data Stream)
    • Step 2: Turn on the GA4 integration in Tripcart
    • Verify the connection
  • Method 2: Configure GA4 through Google Tag Manager (GTM)
    • Step 1: Create a GTM account and container
    • Step 2: Import the Tripcart GTM container template
    • Step 3: Connect GTM to your GA4 property
    • Step 4: Test with Tag Assistant
    • Step 5: Add the GTM Container ID to Tripcart
    • Marketing Attribution
© 2025 Tripcart. All rights reserved.