Objective
Understand what data is provided to the various tag managers Coconut supports.
Tracking Data Object (Data Layer)
Coconut provides a standard set of data within a tracking data object. This is the data which is made available to the tag managers supported by Coconut. The content of the data layer is based upon the selections made by a customer/member during the Client View appointment booking process.
Here is an example of a tracking data object:
{
"event": "appointment_details",
"currentPage": "/details",
"siteSection": "tools",
"subSiteSection": "appointment scheduling",
"sitePlatform": "dotcom",
"language": "en",
"datasource": "pageView",
"appointmentCategory": "The Category",
"appointmentSubCategory": "Shovelling",
"appointmentSubCategoryExternalId": "Cy4LtxXPUCxpyFHY",
"referenceId": null,
"location": "Bedrock Quarry",
"locationExternalId": "wEZf6TTRufdFSVTF"
}
Reference
Attribute name | Description | Example |
event | A description of the current step the customer/member is in. Each step has a specific value, depending on the value of | {
|
currentPage | The current page/step that the client is on |
|
siteSection | Fixed value of |
|
subSiteSection | Fixed value of |
|
language | The client’s currently selected language | en, es, fr |
datasource | Fixed value of |
|
appointmentType | The meeting method chosen by the client |
|
appointmentCategory | The name of the category of the service chosen |
|
appointmentSubCategory | The name of the service chosen |
|
appointmentSubCategoryExternalId | The external ID of the service chosen |
|
referenceId | The confirmation code for the appointment. This is only available on the Confirmation page (once the appointment has been booked) |
|
location | The name of the location chosen |
|
locationExternalId | The external ID of the location chosen |
|
Additional Resources
For more information on Google Tag Manager, please refer to Google's documentation.
For how to use Google Tag Manager with Coconut, please refer to this article.