Skip to main content
All CollectionsMarketplace
Google Analytics Checkout Tracking
Google Analytics Checkout Tracking
Tom Schauble avatar
Written by Tom Schauble
Updated this week

To setup Google Analytics Tracking for your marketplace, you will need to create an account on https://analytics.google.com if not signed-up there already. For your account, you can now create a property for tracking by visiting the Admin option from the side-nav menu in Google Analytics and then clicking on the Create a Property button. This should open a page similar to the screenshot below where you can enter the Project Name as the Property Name, update any other settings as needed and then click on Next
​

**

The next step requires a few more details about your business after which you should be able to click on the Create button
​

**

The next step will require you to create a Data Stream and Select a platform to start collecting events. Please select the Web Platform and proceed to create the Data Stream
​



Fill out the name of the website and enter "Web" as the Stream Name and click on Create to complete the step.

***

For your newly created Data Stream, please copy the Measurement ID. Our next steps will include setting up the Measurement ID on the Tashi Marketplace platform

***

Please visit the Settings > Analytics tab, enter the Measurement ID and select the Google Analytics version 4 from the dropdown.

***

Next, to setup the Google Analytics Tracking on all pages, we need to copy the installation Instructions provided for our data stream.

****

The instructions will then need to be pasted under the Settings > Styles and Scripts > Marketplace Header JS code-field to allow the marketplace to push updates to the Data Stream. Please click on Save button to update the settings. Once the setup is done, the following events and page-views will be pushed for Tour Bookings

1) Checkout Modal Opened - This will push a click event with the label Open Checkout Modal and a Page View with the title `Select Guests`

*****


2) Clicking the Next Step Button - This will push a click event with the label `Next Button` and a a Page View with title of the step that is previewed to the users.

***


3) Clicking the Previous Step Button - This will push a click event with the label `Previous Button` and a a Page View with title of the step that is previewed to the users.

****

Depending on your Tour Product setup, the step names can be

- Select Guests
Page Title :
Select Guests
Page Path: /guests

- Guest Details
Page Title :
Guest Details
Page Path: /details

- Pickup Location
Page Title :
Pickup Location
Page Path: /pickup_location



- Select Extras
Page Title :
Select Extras
Page Path: /extras



- Payment
Page Title :
Payment
Page Path: /checkout



- Checkout Question {Question_ID}
Page Title :
Checkout Question {Question_ID}
Page Path: /Question_ID


4) Booking Confirmation - This will push a page view with the title `Booking Confirmation` and a purchase event for E-commerce tracking. In case you wish to setup a custom snippet to run once the booking has been confirmed (eg. sending a conversion event to Google Adwords), you may enter the script execution code from the Settings > Styles and Scripts > Experience Booking Confirmation JS section.


5) Enquiry Form Submitted
This will push
a) a page view event with the Page Path as the current page path on which the Enquiry Form appears and page title as "Enquiry Form Submission".
b) an event "enquiry_form_submitted" with category "Form Submission" and label as the current page title

6) Contact Us Form Submitted
This will pusha) a page view event with the Page Path as '/contact-us' and page title as "Contact Us Form Submission".
b) an event "contact_form_submitted" with category "Form Submission" and label as the title of the Contact Us page

7) Lead Form Submitted
This will pusha) a page view event with the Page Path and Page Title as the current page path and page
s title on which the lead form is opened
b) an event "lead_form_submitted" with category "Form Submission" and label as the current page title



Did this answer your question?