Instant Analytics Changelog.

Link 1.1.17 · 2022.09.21

fixed - 2022.09.21

  • Fixed an exception that could be thrown if IA's settings in the CP were not filled in (#73)

Link 1.1.16 · 2022.09.16

changed - 2022.09.16

  • Updated how the Instant Analytics components are registered, to allow for overriding via plugin config (#1989)
  • Update the buildchain to use Vite ^3.1.0 for building frontend assets
  • Move to using ServicesTrait and add getter methods for services

Link 1.1.15 · 2022.01.27

fixed - 2022.01.27

  • Fixed an issue where craft-plugin-vite was not included asrequired (#65)

Link 1.1.14 · 2022.01.12

added - 2022.01.12

  • Add .gitattributes & CODEOWNERS
  • Add linting to build
  • Add compression of assets
  • Add bundle visualizer

Link 1.1.13 · 2022.01.05

changed - 2022.01.05

  • Switch to Node 16 via 16-alpine Docker tag by default
  • Update to Tailwind CSS ^3.0.0
  • Switched buildchain to Vite & craft-vite-plugin
  • Refactor to use TypeScript
  • Switched documentation system to VitePress
  • Use Textlint for the documentation
  • Build documentation automatically via GitHub action

fixed - 2022.01.05

  • Use ${CURDIR} instead of pwd to be cross-platform compatible with Windows WSL2

Link 1.1.12 · 2021.04.06

added - 2021.04.06

  • Added make update to update NPM packages
  • Added make update-clean to completely remove node_modules/, then update NPM packages

changed - 2021.04.06

  • More consistent makefile build commands
  • Use Tailwind CSS ^2.1.0 with JIT
  • Move settings from the composer.json “extra” to the plugin main class
  • Move the manifest service registration to the constructor

Link 1.1.11 · 2021.03.03

changed - 2021.03.03

  • Dockerized the buildchain, using craft-plugin-manifest for the webpack HMR bridge

Link 1.1.10 · 2021.02.15

changed - 2021.02.15

  • Verify if purchasable exists before getting its title
  • Updated to webpack 5 buildchain

Link 1.1.9 · 2020.09.02

added - 2020.09.02

  • Stash the various utm settings in local storage to allow proper attribution from Commerce events

fixed - 2020.09.02

  • Set alternative title if item is not a Product (such as a donation)

Link 1.1.8 · 2020.09.02

fixed - 2020.09.02

  • Instant Analytics will no longer attempt to create its own clientId by default, instead deferring toobtaining clientId from the GA cookie. Analytics data will not be sent if there is no clientId, preventing it fromcreating duplicate usersessions

Link 1.1.7 · 2020.04.16

fixed - 2020.04.16

  • Fixed Asset Bundle namespace case

Link 1.1.6 · 2020.04.06

changed - 2020.04.06

  • Updated to latest npm dependencies via npm audit fix for both the primary app and the docs
  • Updated deprecated functions for Commerce 3

fixed - 2020.04.06

  • Fixed an issue where an error would be thrown if a brand field didn't exist for a given Product Type

Link 1.1.5 · 2020.02.05

fixed - 2020.02.05

  • Fixed the logic used checking the Create GCLID Cookie setting by removing the not !

Link 1.1.4 · 2020.01.15

added - 2020.01.15

  • Added Create GCLID Cookie setting to control whether ID creates cookies or not

Link 1.1.3 · 2019.11.25

added - 2019.11.25

  • Add currency code to transaction event

changed - 2019.11.25

  • Replace use of order number (UID) with the much more human friendly order reference
  • Documentation improvements

Link 1.1.2 · 2019.11.01

changed - 2019.11.01

  • Fixed an issue that would cause it to throw an error on the settings page if you didn't have ImageOptimized installed

Link 1.1.1 · 2019.09.27

changed - 2019.09.27

  • Fixed an issue on the Settings page where it would blindly pass in null values to getLayoutById()
  • If you're using Craft 3.1, Instant Analytics will useCraft environmental variables forsecrets
  • Fixed an issue where get_class() was passed a non-object
  • Updated Twig namespacing to be compliant with deprecated class aliases in 2.7.x
  • Updated build system and package.json deps as per npm audit

Link 1.1.0 · 2018.11.19

added - 2018.11.19

  • Added Craft Commerce 2 support for automatic sending of Google Analytics Enhanced eCommerce events

changed - 2018.11.19

  • Retooled the JavaScript build system to be more compatible with edge case server setups

Link 1.0.11 · 2018.10.05

changed - 2018.10.05

  • Updated build process

Link 1.0.10 · 2018.08.25

changed - 2018.08.25

  • Fixed an issue integrating with SEOmatic

Link 1.0.9 · 2018.08.25

changed - 2018.08.25

  • Fixed an issue where the return type-hinting was incorrect
  • Handle cases where a null IAnalytics object is returned

Link 1.0.8 · 2018.08.24

changed - 2018.08.24

  • Fixed an issue where manually using the {% hook isSendPageView %} would throw an error

Link 1.0.7 · 2018.08.24

added - 2018.08.24

  • Added welcome screen after install
  • Automatically set the documentTitle from the SEOmatic <title> tag, if SEOmatic is installed
  • Automatically set the affiliation from the SEOmatic site name, if SEOmatic is installed

changed - 2018.08.24

  • Lots of code cleanup
  • Moved to a modern webpack build config for the Control Panel
  • Added install confetti

Link 1.0.6 · 2018.03.22

added - 2018.03.22

  • Send only the path, not the full URL to Google Analytics via eventTrackingUrl()
  • Gutted the Commerce service, pending Craft Commerce 2

Link 1.0.5 · 2018.02.01

added - 2018.02.01

  • Renamed the composer package name to craft-instantanalytics

Link 1.0.4 · 2018.01.10

changed - 2018.01.10

  • Set the documentPath for events, too

Link 1.0.3 · 2018.01.08

changed - 2018.01.08

  • Fixed an issue with parsing of the _ga_ cookie

Link 1.0.2 · 2018.01.02

changed - 2018.01.02

  • Fixed the eventTrackingUrl to work properly

Link 1.0.1 · 2017.12.06

changed - 2017.12.06

  • Updated to require craftcms/cms ^3.0.0-RC1
  • Switched to Craft::$app->view->registerTwigExtension to register the Twig extension

Link 1.0.0 · 2017-10-27

added - 2017-10-27

  • Initial release