Boulevard is compatible with GA4, the new Analytics tool. If you have not yet set up a GA4 property, you should follow these steps:
To create a GA4 property, go to Admin (gear icon, bottom left) > Create Property. Complete all necessary fields and click through the setup. For “Data Streams”, make sure to select “Web” as the platform.
In the GA4 property you’ve created, click on the applicable data stream> Click on “Measurement API Protocol Secrets” > Click on “Create” at the top right > Give it an applicable nickname (IE: “Boulevard Booking Tracking).
Once you have created your GA4 property, and generated your Measurement Protocol API secret, go to Admin > Click on Data Streams > Select the applicable data stream > Scroll down to "Google Tag" > Click "View Tag Instructions".
Copy the Global Site Tag and insert it in the header of each webpage of your site you would like to track.
This should go right above your booking widget code:
In the event that you wish to track cart_completed over purchase as the conversion event, follow the steps below:
In the GA4 property you’ve created, click on the applicable data stream> Click on “Conversions” > Click on “New Conversion Event” > name it “cart_completed”.
Add GA4 Measurement ID in gear icon: Client Experience > Conversion Analytics.
Add Google Measurement Protocol API Secret.
Choose whether or not you want the conversion event to be purchased or cart_completed.
4. Update the self-booking code on your website to begin tracking: the Booking Widget code snippet section automatically updates with the code you need. Simply copy and paste to replace your existing Booking Widget code to update.