Skip to content

Commit

Permalink
Prepare version 1.11.0
Browse files Browse the repository at this point in the history
* Add support for Google Analytics v4 (GA4)
* Minified version of the script is now included
  • Loading branch information
Ugoku committed Apr 1, 2022
1 parent e2fa726 commit 853d514
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[![Build Status](https://travis-ci.org/Recras/online-booking-js.svg?branch=master)](https://travis-ci.org/Recras/online-booking-js)

# Recras JS Integration Library
Version: 1.10.3
Version: 1.11.0

JS library for easy online booking, contact form, and voucher integration

Expand Down
3 changes: 2 additions & 1 deletion changelog.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Changelog

## Unreleased
## 1.11.0 (2022-04-04)
* Add support for Google Analytics v4 (GA4)
* Minified version of the script is now included

## 1.10.3 (2021-12-16)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@recras/online-booking-js",
"version": "1.10.3",
"version": "1.11.0",
"description": "JS library for easy integration of Recras online booking and voucher sales",
"main": "dist/onlinebooking.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/booking.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*******************************
* Recras integration library *
* v 1.10.3 *
* v 1.11.0 *
*******************************/

class RecrasBooking {
Expand Down
2 changes: 1 addition & 1 deletion src/eventHelper.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ class RecrasEventHelper {
// v4
this.sendGA4Event(this.ga4EventMap(action), ga4Value);
} else if (typeof window.gtag === 'function') {
// Global Site Tag (v4)
// Global Site Tag (v3)
let eventData = {
event_category: RecrasEventHelper.PREFIX_GLOBAL + ':' + cat,
};
Expand Down

0 comments on commit 853d514

Please sign in to comment.