Skip to content

Releases: 68publishers/amp-client-js

v1.2.1

28 Nov 23:37
Compare
Choose a tag to compare

Fixed

  • Fixed issue with unicode characters when creating banner fingerprint.

v1.3.0

28 Nov 23:36
Compare
Choose a tag to compare

Added

  • Added new optional configuration option origin that is used as a value for the header X-Amp-Origin.

Changed

  • Changed the default templates - images are now rendered inside <picture> with <source> tags inside if the API returns data for them.

v1.2.0

28 Nov 23:36
Compare
Choose a tag to compare

Added

  • Added support for watching interactions with banners (intersection in the viewport and clicks) and metrics.
  • Added new configuration options for interaction:
    • interaction.defaultIntersectionRatio
    • interaction.intersectionRatioMap
    • interaction.firstTimeSeenTimeout
  • Added new configuration options for metrics:
    • metrics.receiver
    • metrics.disabledEvents
  • Added new client events:
    • amp:banner:intersection-changed
    • amp:banner:first-time-seen
    • amp:banner:first-time-fully-seen
    • amp:banner:link-clicked
  • Added automatically sending of metrics events:
    • amp:banner:loaded
    • amp:banner:displayed
    • amp:banner:fully-displayed
    • amp:banner:clicked
  • Added preconfigured receivers for handling metrics events:
    • debug
    • plausible
    • gtag
    • gtm

Changed

  • Updated integration guide.

v1.1.0

28 Nov 23:35
Compare
Choose a tag to compare

Added

  • Added the client option method with accepted values GET and POST, the default value is GET.
  • The client is now is able to communicate with API via both methods.
  • Added the CHANGELOG.
  • Added the section Versions compatibility matrix in the Integration Guide.

Changed

  • Updated the table of the client options in the Integration Guide.

v1.0.10

28 Nov 23:35
Compare
Choose a tag to compare

Changed

  • Replaced usage of function Array.includes() with Array.indexOf().

v1.0.9

28 Nov 23:34
Compare
Choose a tag to compare

Changed

  • Updated the default templates for banners (opening links in the new window allowed).

v1.0.8

28 Nov 23:34
Compare
Choose a tag to compare

Added

  • Added Integration guide into the README.

Fixed

  • Added missing getter Banner.resources.