Skip to main content

Integrating Google Tag manager with Archie

Setting up your Google Tag manager account

Camilo avatar
Written by Camilo
Updated over 4 months ago

Step 1. Integrating your Google tag manager account with Archie

Before starting the integration, you need to have a Google tag manager account. You can create one by clicking here

On your Google tag manager account

On your Archie account

  • Go to "Settings / Integrations / App marketplace"

  • Locate the Google tag manager app and click "View Integration"

  • Click "Connect Google tag manager"

  • Enter your Google tag manager ID and click Confirm

  • You are now ready to start using your google tag manager account with Archie

Step 2. Creating specific events in Google Tag Manager

  • Go to your Google Tag Manager Account

  • Navigate to the Triggers section

  • Click New and then select Custom Event as the trigger type.

  • Add the event name (refer to the event names listed at the end of this article), then click Save.

Step 3. Associating the trigger with a Tag

  • Go to the Tags section.

  • Choose an existing tag or create a new one by clicking New.

  • In the tag configuration, select the trigger created in the previous steps.

  • Save your changes to associate the trigger with the tag.

Annex 1. Current GTM Events

Booking submitted

{ 
event: "booking_submit_success",
entity_id: string, // Subscriber UUID
entity_type: string, // Subscriber type: "user" or "group"
entity_name: string, // Subscriber name: user full name or company name
entity_email: string, // User subscriber or group manager email
booking_start_utc: string, // Booking start date in UTC
booking_end_utc: string, // Booking end date in UTC
coupon: string, // Discount code applied to the booking price
amount_paid: number, // Total paid for the booking, will be undefined if the booking was free
item_name: string, // Name of the booked item item_id: string, // UUID of the booked item
}

Cart submitted

{ 
event: "cart_submit_success",
entity_id: string, // Subscriber UUID
entity_type: string, // Subscriber type: "user" or "group"
entity_name: string, // Subscriber name: user full name or company name
entity_email: string, // User subscriber or group manager email
amount_paid: number, // Total paid for the cart
item_ids: string[], // Array of purchased items UUIDs
item_names: sring[], // Array of purchased items names
}

Event ticket purchased

{ 
event: "event_submit_success",
entity_id: string, // Subscriber UUID
entity_type: string, // Subscriber type: "user" or "group"
entity_name: string, // Subscriber name: user full name or company name
entity_email: string, // User subscriber or group manager email
amount_paid: number, // Total paid for the tickets
item_ids: string[], // Array of purchased tickets UUIDs
item_names: sring[], // Array of purchased tickets names
}

Tour booked

{
event: "tour_submit_success",
entity_id: string, // Subscriber UUID
entity_first_name: string, // Subscriber first name
entity_last_name: string, // Subscriber last name
entity_email: string, // Subscriber email
booking_start_utc: string, // Tour start date in UTC
booking_end_utc: string, // Tour end date in UTC
}

Lead form submitted

{
event: "lead_submit_success",
entity_first_name: string, // Subscriber first name
entity_last_name: string, // Subscriber last name
entity_email: string, // Subscriber email
fields: object[], // Array of the custom fields object
}

User registered

{ event: "self_register_success", 
entity_first_name: string, // Subscriber first name
entity_last_name: string, // Subscriber last name
entity_email: string, // Subscriber email
company_name: string, // Company name (if entered)
}

Did this answer your question?