Skip to content

Releases: floriangoetting/json-tag

1.5.4

30 Oct 13:31
8a6a1d6

Choose a tag to compare

Allow manual selection of event sending method. Options are "fetch", "sendBeacon" and "fetchKeepalive". Default is "fetch". Fetch Keepalive is only used if explicitly selected.

1.5.3

22 Oct 09:35

Choose a tag to compare

Sending the full JSON Client Response in the data layer push to the data layer. This adds support for the newest JSON Client Version which supports Event Batching.

1.5.2

11 Jul 12:21

Choose a tag to compare

Support for fetch keepalive requests. For JSON Tags where "sendBeacon" was selected, fetch keepalive request are used from now on if supported by the browser. Updating JSON Client and the JSON Tag Library is required.

1.5.1

09 Jul 17:56

Choose a tag to compare

Support for manually setting the x-gtm-server-preview header in the requests for debugging purposes

The x-gtm-server-preview can be passed to JSON tag and will be added in the fetch requests. This is helpful to debug in a different browser from where the website is running or for app webview testing.

1.5.0

28 May 19:43

Choose a tag to compare

  • Support adding common data to the global payload. This enables support of basic functionalitites of most Server Side GTM Server Tags
  • Fix isWebKit check to ensure that gzip is not used in WebKit Browsers

1.4.3

24 May 17:11

Choose a tag to compare

JSON Tag Send Data Function Optimizations

  • Returns to the JSON Tag Template if the function had been found and did ran through
  • Code Optimizations including try catch

1.4.2

22 Apr 15:43

Choose a tag to compare

  • Added support to clean NaN values from the Payload
  • Smaller code optimizations

1.4.1

19 Apr 08:37

Choose a tag to compare

In this release the JSON Tag Library was updated to disable GZIP in general for all WebKit Browsers. Previously it was only disabled for Safari Browsers but not all WebKit Browsers. The reason is, that GZIP is not fully supported in WebKit Browsers and it could lead to Javascript Errors if the GZIP Option is activated in the JSON Tag Variable Template.

1.4.0

10 Apr 18:42

Choose a tag to compare

  • Using encodeUri to ensure that special characters are escaped from urls where user-defined parameters are beeing used. See: floriangoetting/json-tag-variable#1
  • Disabling gzip for Safari Browsers even if GZIP is enabled in the JSON Tag Variable. This is done to avoid Javascript Errors in Safari which is not fully supporting GZIP Compression
  • Support for updated JSON Tag Settings Variable where the GZIP Option was changed from a checkbox to a text field to make it more dynamic

1.3.0

03 Apr 15:01

Choose a tag to compare

In this version the behaviour of the data layer push "jsonclientResponse" was adjusted. If the data layer push option is enabled, it will now push to the data layer after every request and not only once per full page load. This enables additional use cases like debugging requests in the browser console which were sent from the server.