- Use dynamic docker container name & port for the
buildchain
- Refactored the docs buildchain to use a dynamic docker container setup
- Fix property types in the
addCommerceProductDetaIlView()
method (#77)
- Updated the docs to use Vitepress
^1.0.0-alpha.29
- Updated the buildchain to use Vite
^4.0.0
- Fixed an issue where eager loaded categories on Commerce products wouldn't appear in analytics (#58)
- Fixed an exception that could be thrown if IA's settings in the CP were not filled in (#73)
- Initial Craft CMS 4 release
- Updated how the Instant Analytics are registered, to allow for overriding via plugin config (#1989) (#11039)
- Update the buildchain to use Vite
^3.1.0
for building frontend assets - Move to using
ServicesTrait
and add getter methods for services
- Updated types for Craft CMS
4.0.0-alpha.1
via Rector
- Initial Craft CMS 4 compatibility
- Fixed an issue where
craft-plugin-vite
was not included as required (#65)
- Add
.gitattributes
&CODEOWNERS
- Add linting to build
- Add compression of assets
- Add bundle visualizer
- 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
- Use
${CURDIR}
instead ofpwd
to be cross-platform compatible with Windows WSL2
- Added
make update
to update NPM packages - Added
make update-clean
to completely removenode_modules/
, then update NPM packages
- 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
- Dockerized the buildchain, using
craft-plugin-manifest
for the webpack HMR bridge
- Verify if purchasable exists before getting its title
- Updated to webpack 5 buildchain
- Stash the various
utm
settings in local storage to allow proper attribution from Commerce events
- Set alternative title if item is not a Product (such as a donation)
- Instant Analytics will no longer attempt to create its own
clientId
by default, instead deferring to obtainingclientId
from the GA cookie. Analytics data will not be sent if there is noclientId
, preventing it from creating duplicateusersessions
- Fixed Asset Bundle namespace case
- Updated to latest npm dependencies via
npm audit fix
for both the primary app and the docs - Updated deprecated functions for Commerce 3
- Fixed an issue where an error would be thrown if a brand field didn't exist for a given Product Type
- Fixed the logic used checking the Create GCLID Cookie setting by removing the not
!
- Added Create GCLID Cookie setting to control whether ID creates cookies or not
- Add currency code to transaction event
- Replace use of order number (UID) with the much more human friendly order reference
- Documentation improvements
- Fixed an issue that would cause it to throw an error on the settings page if you didn't have ImageOptimized installed
- 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 use Craft environmental variables for secrets
- 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 pernpm audit
- Added Craft Commerce 2 support for automatic sending of Google Analytics Enhanced eCommerce events
- Retooled the JavaScript build system to be more compatible with edge case server setups
- Updated build process
- Fixed an issue integrating with SEOmatic
- Fixed an issue where the return type-hinting was incorrect
- Handle cases where a
null
IAnalytics object is returned
- Fixed an issue where manually using the
{% hook isSendPageView %}
would throw an error
- 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
- Lots of code cleanup
- Moved to a modern webpack build config for the Control Panel
- Added install confetti
- Send only the path, not the full URL to Google Analytics via
eventTrackingUrl()
- Gutted the Commerce service, pending Craft Commerce 2
- Renamed the composer package name to
craft-instantanalytics
- Set the documentPath for events, too
- Fixed an issue with parsing of the
_ga
_ cookie
- Fixed the
eventTrackingUrl
to work properly
- Updated to require craftcms/cms
^3.0.0-RC1
- Switched to
Craft::$app->view->registerTwigExtension
to register the Twig extension
- Initial release