.Migrate/analytics service #930
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Analytics Service Migration
Task Details
This task is to migrate the original
analytics-services.coffeefile to a new TypeScript file.Component Purpose
The analytics service component collects and logs interactions the user has with the site. It allows a console output that shows what actions the user has taken in the environment. This component is linked in many places within the environment, meaning the task wasn’t just to migrate the old coffee script to a new type script, it also had to update each area it’s found in, and make it compatible with the new component.
Component Review of Original Task:
You can view the original task documentation here (thoth-tech/documentation#587)
First PR to Thoth-Tech:9.x
You can view this PR via this link (thoth-tech#292)
Type of Changes
analytics-service.coffeeanalytics.service.tsTesting
Have tested in both Google and Safari.
Testing Summary
During the testing of this component, I went through the files that had the analytics service component in them, meaning that when that component was used, it would log analytics services in the console. With this, I was able to check that the analytics service was logging the events correctly.
Check List