Many elements with call to actions have event tracking enabled and recorded in google analytics.
- Header Links
- Footer Links
- Slideshow Buttons
- Check availability box
- Popup & Abandon Popups
- Forms
- Special Offers
- Rooms
- Social Links
Header Links
The contact hyperlinks in the header will trigger an event in Google Analytics when selected. See below the event actions that are used to identify the event in GA.
ga('send', 'event', [eventCategory], [eventAction], [eventLabel], [eventValue], [fieldsObject]);
Telephone - ga('send', 'event', 'Direct contact', 'Telephone', currentUrl);
Location - ga('send', 'event', 'Header buttons computer', 'Click', 'Contact');
Contact - ga('send', 'event', 'Header buttons computer', 'Click', 'Contact');
Then from Google Analytics > Behaviour > Events > Top events > Internal campaigns > Telephone OR Header buttons computer.
Read More: Event Measurement
Footer Links
The contact hyperlinks in the footer will trigger an event in Google Analytics when selected. See below the event actions that are used to identify the event in GA.
Telephone
- data-ga-category="Direct contact"
- data-ga-action="Telephone"
- data-ga-category="Direct contact"
- data-ga-action="Email"
Then from Google Analytics > Behaviour > Events > Top events > Internal campaigns > Telephone OR Email
Slideshow Buttons
The "Call To Action" button in the gallery slideshow will trigger an event in Google Analytics when selected. See below the event actions that are used to identify the event in GA.
Gallery Slide
- data-ga-category="Internal campaigns"
- data-ga-action="Slideshow"
- data-ga-label="Klimt Hotel"
NOTE : The event label is the same text used in the Image data > Title. If a Link has been added to the Image data, it is important that the Title field is not left blank.
Then from Google Analytics > Behaviour > Events > Top events > Internal campaigns > Slideshow
Check availability box
The "Call To Action" button in the gallery slideshow will trigger an event in Google Analytics when selected. See below the event actions that are used to identify the event in GA.
Arrival
- data-ga-category="Check availability box"
- data-ga-action="Arrival"
- data-ga-label="value"
Departure
- data-ga-category="Check availability box"
- data-ga-action="Departure"
- data-ga-label="value"
Room
- data-ga-category="Check availability box"
- data-ga-action="Room"
- data-ga-label="value"
Then from Google Analytics > Behaviour > Events > Top events > Internal campaigns > Arrival OR Departure OR Room
Popup & Abandon Popups
The "Call To Action" button on the popup and abandon popup will trigger an event in Google Analytics when selected. See below the event actions that are used to identify the event in GA.
Home popup
- data-ga-category="Internal campaigns"
- data-ga-action="Home popup"
- data-ga-label="Book with us"
Abandoned cart popup
- data-ga-category="Internal campaigns"
- data-ga-action="Abandoned cart popup"
- data-ga-label="Reasons to book direct"
NOTE : The event label is the same text used in the Popup > Title, so it is important that this field is not left blank.
Then from Google Analytics > Behaviour > Events > Top events > Internal campaigns > Home popup OR Abandoned cart popup
Forms
The Submit button on the all forms will trigger an event in Google Analytics after the form has been submitted. See below the event actions that are used to identify the events in GA.
ga('send', 'event', [eventCategory], [eventAction], [eventLabel], [eventValue], [fieldsObject]);
Contact Form - ga('send', 'event', 'Contact Form computer', 'Send', 'Contact us');
Attachements Form - ga('send', 'event', 'Contact Form computer', 'Send', 'Form attachments');
Meetings Form - ga('send', 'event', 'Contact Form computer', 'Send', 'Meetings');
Weddings Form - ga('send', 'event', 'Contact Form computer', 'Send', 'Weddings');
Restaurant Form - ga('send', 'event', 'Contact Form computer', 'Send', 'Restaurant');
Custom Forms - ga('send', 'event', 'Contact Form computer', 'Send', 'Test custom form');NOTE : The event label is the same text used in Page main title of which page the form is assigned. The event category also indicates if the device is "computer" or "mobile"
Then from Google Analytics > Behaviour > Events > Top events > Internal campaigns > Abandoned cart popup.
Read More : How do I enable and manage Forms?
Special Offers
Offers Carousel
The Book Now button on the offers carousel will trigger an event in Google Analytics after the button has been selected. See below the event actions that are used to identify the events in GA.
- data-ga-category="Internal campaigns"
- data-ga-action="Special offers"
- data-ga-label="Best Available Rate"
Offers Page
The onClick event is triggered on the Offers page when dates are selected and BOOK NOW is selected.
ga('send', 'event', [eventCategory], [eventAction], [eventLabel], [eventValue], [fieldsObject]);
ga('send', 'event', 'Offer (smrt-tpl-magritte-offers) Computer', 'Book now', '8 - Best Available Rate');
- category="Offer (smrt-tpl-magritte-offers) Computer'"
- action="Book now"
- label="8 - Best Available Rate"
Read More : How can I add special offers?
Rooms
Rooms Carousel
The onClick event is triggered on the Rooms page when BOOK NOW is selected.
ga('send', 'event', [eventCategory], [eventAction], [eventLabel], [eventValue], [fieldsObject]);
ga('send', 'event', 'Room computer', 'CTA Click', '4096 - Single Room');"
- category="Room computer"
- action="CTA Click"
- label="4096 - Single Room'"
Rooms page
The onClick event is triggered on the Offers page when dates are selected and BOOK NOW is selected.
ga('send', 'event', [eventCategory], [eventAction], [eventLabel], [eventValue], [fieldsObject]);
ga('send', 'event', 'Room computer', 'CTA Click', '32 - Breakfast Included Offer');
- category="Room computer"
- action="CTA Click"
- label="32 - Breakfast Included Offer'"
Read More : Offers & Rooms Menu
Social Links
Follow Us
The onClick event is triggered on the Social links when the icon is selected.
ga('send', 'event', [eventCategory], [eventAction], [eventLabel], [eventValue], [fieldsObject]);
ga('send', 'event', 'Social Computer'', 'Click', 'facebook');
- category="Social Computer"
- action="Click"
- label="facebook'"
Digital Marketing : Check Overall Website Performance on Google Analytics