diff --git a/.eslintignore b/.eslintignore
new file mode 100644
index 0000000..4338fd3
--- /dev/null
+++ b/.eslintignore
@@ -0,0 +1,4 @@
+build
+test
+reports/
+coverage
diff --git a/.eslintrc.js b/.eslintrc.js
index 86d618c..d6dd6fc 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -4,10 +4,22 @@ module.exports = {
es2021: true,
commonjs: true,
},
- extends: ["prettier", "eslint:recommended", "plugin:json/recommended"],
+ extends: ['eslint:recommended', 'plugin:json/recommended', 'prettier'],
parserOptions: {
- ecmaVersion: "latest",
- sourceType: "module",
+ ecmaVersion: 'latest',
+ sourceType: 'module',
+ },
+ rules: {
+ 'no-undef': 'warn',
+ 'no-case-declarations': 'warn',
+ 'no-unused-vars': [
+ 'warn', // or "error"
+ {
+ argsIgnorePattern: '^_',
+ varsIgnorePattern: '^_',
+ caughtErrorsIgnorePattern: '^_',
+ },
+ ],
+ 'no-useless-escape': 'warn',
},
- rules: {},
};
diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md
new file mode 100644
index 0000000..fe308ce
--- /dev/null
+++ b/.github/pull_request_template.md
@@ -0,0 +1,53 @@
+## What are the changes introduced in this PR?
+
+Write a brief explainer on your code changes.
+
+## What is the related Linear task?
+
+Resolves INT-XXX
+
+## Please explain the objectives of your changes below
+
+Put down any required details on the broader aspect of your changes. If there are any dependent changes, **mandatorily** mention them here
+
+### Any changes to existing capabilities/behaviour, mention the reason & what are the changes ?
+
+N/A
+
+### Any new dependencies introduced with this change?
+
+N/A
+
+### Any new generic utility introduced or modified. Please explain the changes.
+
+N/A
+
+### Any technical or performance related pointers to consider with the change?
+
+N/A
+
+
+
+### Developer checklist
+
+- [ ] My code follows the style guidelines of this project
+
+- [ ] **No breaking changes are being introduced.**
+
+- [ ] All related docs linked with the PR?
+
+- [ ] All changes manually tested?
+
+- [ ] Any documentation changes needed with this change?
+
+- [ ] Is the PR limited to 10 file changes?
+
+- [ ] Is the PR limited to one linear task?
+
+- [ ] Are relevant unit and component test-cases added?
+
+### Reviewer checklist
+
+- [ ] Is the type of change in the PR title appropriate as per the changes?
+
+- [ ] Verified that there are no credentials or confidential data exposed with the changes.
diff --git a/.github/workflows/commitlint.yml b/.github/workflows/commitlint.yml
new file mode 100644
index 0000000..a8ff39e
--- /dev/null
+++ b/.github/workflows/commitlint.yml
@@ -0,0 +1,36 @@
+name: Commitlint
+
+on: [push]
+
+jobs:
+ commitlint:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v4.1.1
+ with:
+ fetch-depth: 0
+
+ - name: Setup Node
+ uses: actions/setup-node@v4.0.1
+ with:
+ node-version-file: '.nvmrc'
+ cache: 'npm'
+
+ - name: Install Dependencies
+ run: npm ci
+
+ - name: Print versions
+ run: |
+ git --version
+ node --version
+ npm --version
+ npx commitlint --version
+
+ # Run the commitlint action, considering its own dependencies and yours as well 🚀
+ # `github.workspace` is the path to your repository.
+ - uses: wagoid/commitlint-github-action@v5
+ env:
+ NODE_PATH: ${{ github.workspace }}/node_modules
+ with:
+ commitDepth: 1
diff --git a/.github/workflows/prod-deploy.yml b/.github/workflows/prod-deploy.yml
index cc9b26e..708eb32 100644
--- a/.github/workflows/prod-deploy.yml
+++ b/.github/workflows/prod-deploy.yml
@@ -80,4 +80,4 @@ jobs:
git add values.yaml
git commit -m "chore: upgrade shopify tracker to $TAG_NAME"
git push -u origin shopify-tracker-$TAG_NAME
- hub pull-request -m "chore: upgrade shopify tracker to $TAG_NAME"
+ gh pr create --fill
diff --git a/.github/workflows/tests-code-coverage.yml b/.github/workflows/tests-code-coverage.yml
new file mode 100644
index 0000000..69b2259
--- /dev/null
+++ b/.github/workflows/tests-code-coverage.yml
@@ -0,0 +1,60 @@
+name: Tests with lint check and code coverage
+on:
+ workflow_call:
+ secrets:
+ SONAR_TOKEN:
+ required: true
+
+ pull_request:
+ types: ['opened', 'reopened', 'synchronize']
+
+jobs:
+ coverage:
+ name: Tests with lint check and code coverage
+ runs-on: ubuntu-latest
+
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v4.1.1
+ with:
+ fetch-depth: 1
+
+ - name: Setup Node
+ uses: actions/setup-node@v4.0.1
+ with:
+ node-version-file: '.nvmrc'
+ cache: 'npm'
+
+ - name: Install Dependencies
+ run: npm ci
+
+ - name: Run Tests & lint check
+ run: |
+ npm run test
+ npm run check:lint
+
+ - name: Upload Coverage Reports to Codecov
+ uses: codecov/codecov-action@v3.1.4
+ with:
+ directory: ./reports/coverage
+
+ - name: Update sonar-project.properties
+ run: |
+ # Retrieve the version from package.json
+ version=$(node -e "console.log(require('./package.json').version)")
+ # Update the sonar-project.properties file with the version
+ sed -i "s/sonar.projectVersion=.*$/sonar.projectVersion=$version/" sonar-project.properties
+
+ - name: Fix filesystem paths in generated reports
+ if: always()
+ run: |
+ sed -i 's+home/runner/work/rudderstack-shopify-tracker/rudderstack-shopify-tracker+/github/workspace+g' reports/coverage/lcov.info
+ sed -i 's+/home/runner/work/rudderstack-shopify-tracker/rudderstack-shopify-tracker+/github/workspace+g' reports/eslint.json
+
+
+ - name: SonarCloud Scan
+ if: always()
+ uses: SonarSource/sonarcloud-github-action@v2.1.1
+ env:
+ GITHUB_TOKEN: ${{ secrets.PAT }}
+ SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
diff --git a/.gitignore b/.gitignore
index 211aec1..f7e2555 100644
--- a/.gitignore
+++ b/.gitignore
@@ -125,7 +125,6 @@ dist
# Stores VSCode versions used for testing VSCode extensions
.vscode-test
-.vscode
# yarn v2
.yarn/cache
@@ -144,6 +143,5 @@ dist
.svelte-kit
# Others
-**/.vscode
-
+reports/
# End of https://www.toptal.com/developers/gitignore/api/node
diff --git a/.prettierignore b/.prettierignore
new file mode 100644
index 0000000..81681af
--- /dev/null
+++ b/.prettierignore
@@ -0,0 +1,5 @@
+node_modules/
+reports/
+CHANGELOG.md
+CONTRIBUTING.md
+LICENSE
\ No newline at end of file
diff --git a/.vscode/settings.json b/.vscode/settings.json
new file mode 100644
index 0000000..13c49c0
--- /dev/null
+++ b/.vscode/settings.json
@@ -0,0 +1,24 @@
+{
+ "prettier.requireConfig": true,
+ "prettier.configPath": ".prettierrc",
+ "[typescript]": {
+ "editor.defaultFormatter": "esbenp.prettier-vscode",
+ "editor.formatOnSave": true
+ },
+ "[javascript]": {
+ "editor.defaultFormatter": "esbenp.prettier-vscode",
+ "editor.formatOnSave": true
+ },
+ "[jsonc]": {
+ "editor.defaultFormatter": "esbenp.prettier-vscode",
+ "editor.formatOnSave": true
+ },
+ "[yaml]": {
+ "editor.defaultFormatter": "esbenp.prettier-vscode",
+ "editor.formatOnSave": true
+ },
+ "editor.codeActionsOnSave": {
+ "source.organizeImports": "never"
+ },
+ "eslint.validate": ["javascript", "typescript"]
+}
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 36797c1..d1bfd4b 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,113 +2,103 @@
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
+### [1.4.10](https://github.com/rudderlabs/rudder-shopify-tracker/compare/v1.4.9...v1.4.10) (2024-02-14)
+
### [1.4.9](https://github.com/rudderlabs/rudder-shopify-tracker/compare/v1.4.8...v1.4.9) (2024-01-18)
### [1.4.8](https://github.com/rudderlabs/rudder-shopify-tracker/compare/v1.4.7...v1.4.8) (2024-01-15)
### [1.4.7](https://github.com/rudderlabs/rudder-shopify-tracker/compare/v1.4.6...v1.4.7) (2023-10-04)
-
### Bug Fixes
-* Dockerfile to reduce vulnerabilities ([#42](https://github.com/rudderlabs/rudder-shopify-tracker/issues/42)) ([d782819](https://github.com/rudderlabs/rudder-shopify-tracker/commit/d7828193f4af4fcafefb96f553c6e52e80e86528))
+- Dockerfile to reduce vulnerabilities ([#42](https://github.com/rudderlabs/rudder-shopify-tracker/issues/42)) ([d782819](https://github.com/rudderlabs/rudder-shopify-tracker/commit/d7828193f4af4fcafefb96f553c6e52e80e86528))
### [1.4.6](https://github.com/rudderlabs/rudder-shopify-tracker/compare/v1.4.5...v1.4.6) (2023-09-26)
-
### Bug Fixes
-* the release owners ([#82](https://github.com/rudderlabs/rudder-shopify-tracker/issues/82)) ([a312cdb](https://github.com/rudderlabs/rudder-shopify-tracker/commit/a312cdb9ef4fa591d1116e2b5ea245fb77d1cc5d))
+- the release owners ([#82](https://github.com/rudderlabs/rudder-shopify-tracker/issues/82)) ([a312cdb](https://github.com/rudderlabs/rudder-shopify-tracker/commit/a312cdb9ef4fa591d1116e2b5ea245fb77d1cc5d))
### [1.4.5](https://github.com/rudderlabs/rudder-shopify-tracker/compare/v1.4.4...v1.4.5) (2023-09-26)
-
### Bug Fixes
-* formatting files ([#79](https://github.com/rudderlabs/rudder-shopify-tracker/issues/79)) ([8f6f771](https://github.com/rudderlabs/rudder-shopify-tracker/commit/8f6f77139a3d68bbf20f6284a8eda7e7c324f566))
+- formatting files ([#79](https://github.com/rudderlabs/rudder-shopify-tracker/issues/79)) ([8f6f771](https://github.com/rudderlabs/rudder-shopify-tracker/commit/8f6f77139a3d68bbf20f6284a8eda7e7c324f566))
### [1.4.4](https://github.com/rudderlabs/rudder-shopify-tracker/compare/v1.4.3...v1.4.4) (2023-09-26)
### [1.4.3](https://github.com/rudderlabs/rudder-shopify-tracker/compare/v1.4.2...v1.4.3) (2023-09-26)
-
### Bug Fixes
-* docker image tag ([#74](https://github.com/rudderlabs/rudder-shopify-tracker/issues/74)) ([673bf62](https://github.com/rudderlabs/rudder-shopify-tracker/commit/673bf6299890c757397734e5952b0b78552ce06c))
+- docker image tag ([#74](https://github.com/rudderlabs/rudder-shopify-tracker/issues/74)) ([673bf62](https://github.com/rudderlabs/rudder-shopify-tracker/commit/673bf6299890c757397734e5952b0b78552ce06c))
### [1.4.2](https://github.com/rudderlabs/rudder-shopify-tracker/compare/v1.4.1...v1.4.2) (2023-09-26)
-
### Bug Fixes
-* forward secrets to workflows ([#71](https://github.com/rudderlabs/rudder-shopify-tracker/issues/71)) ([0bb3f6a](https://github.com/rudderlabs/rudder-shopify-tracker/commit/0bb3f6a2502749004d03b24416ddd0d095aa88a9))
+- forward secrets to workflows ([#71](https://github.com/rudderlabs/rudder-shopify-tracker/issues/71)) ([0bb3f6a](https://github.com/rudderlabs/rudder-shopify-tracker/commit/0bb3f6a2502749004d03b24416ddd0d095aa88a9))
### [1.4.1](https://github.com/rudderlabs/rudder-shopify-tracker/compare/v1.4.0...v1.4.1) (2023-09-26)
-
### Bug Fixes
-* prod deploy workflow job ([#69](https://github.com/rudderlabs/rudder-shopify-tracker/issues/69)) ([52a638d](https://github.com/rudderlabs/rudder-shopify-tracker/commit/52a638d1d87c0a728fdc4273d1cf2a37f4445113))
+- prod deploy workflow job ([#69](https://github.com/rudderlabs/rudder-shopify-tracker/issues/69)) ([52a638d](https://github.com/rudderlabs/rudder-shopify-tracker/commit/52a638d1d87c0a728fdc4273d1cf2a37f4445113))
## [1.4.0](https://github.com/rudderlabs/rudder-shopify-tracker/compare/v1.3.0...v1.4.0) (2023-09-26)
-
### Features
-* clean up prod deploy workflow ([#64](https://github.com/rudderlabs/rudder-shopify-tracker/issues/64)) ([6f1edb5](https://github.com/rudderlabs/rudder-shopify-tracker/commit/6f1edb517f87eb3b970907fe96b1aa220f37b0ec))
+- clean up prod deploy workflow ([#64](https://github.com/rudderlabs/rudder-shopify-tracker/issues/64)) ([6f1edb5](https://github.com/rudderlabs/rudder-shopify-tracker/commit/6f1edb517f87eb3b970907fe96b1aa220f37b0ec))
## [1.3.0](https://github.com/rudderlabs/rudder-shopify-tracker/compare/v1.2.2...v1.3.0) (2023-09-26)
-
### Features
-* formatting file ([#61](https://github.com/rudderlabs/rudder-shopify-tracker/issues/61)) ([9775633](https://github.com/rudderlabs/rudder-shopify-tracker/commit/9775633f0f7cfc2d239147f502e521e7a25f2cc7))
+- formatting file ([#61](https://github.com/rudderlabs/rudder-shopify-tracker/issues/61)) ([9775633](https://github.com/rudderlabs/rudder-shopify-tracker/commit/9775633f0f7cfc2d239147f502e521e7a25f2cc7))
### [1.2.2](https://github.com/rudderlabs/rudder-shopify-tracker/compare/v1.2.1...v1.2.2) (2023-09-26)
-
### Bug Fixes
-* prod deploy condition ([#58](https://github.com/rudderlabs/rudder-shopify-tracker/issues/58)) ([5d8bffc](https://github.com/rudderlabs/rudder-shopify-tracker/commit/5d8bffc9a5d4b9d82a6c43c1aea6a723f523b298))
+- prod deploy condition ([#58](https://github.com/rudderlabs/rudder-shopify-tracker/issues/58)) ([5d8bffc](https://github.com/rudderlabs/rudder-shopify-tracker/commit/5d8bffc9a5d4b9d82a6c43c1aea6a723f523b298))
### [1.2.1](https://github.com/rudderlabs/rudder-shopify-tracker/compare/v1.2.0...v1.2.1) (2023-09-26)
-
### Bug Fixes
-* prod deploy chronology ([#55](https://github.com/rudderlabs/rudder-shopify-tracker/issues/55)) ([894f038](https://github.com/rudderlabs/rudder-shopify-tracker/commit/894f038043addca9d7dd3e5f6f1ea1f9bb0d2336))
+- prod deploy chronology ([#55](https://github.com/rudderlabs/rudder-shopify-tracker/issues/55)) ([894f038](https://github.com/rudderlabs/rudder-shopify-tracker/commit/894f038043addca9d7dd3e5f6f1ea1f9bb0d2336))
## 1.2.0 (2023-09-26)
-
### Features
-* adding cartToken to rudderIdentifier payload ([1af7b1c](https://github.com/rudderlabs/rudder-shopify-tracker/commit/1af7b1c3672ea9a90bbab41793ef72ffd8d778a6))
-* adding ci/cd to shopify tracker repository ([#43](https://github.com/rudderlabs/rudder-shopify-tracker/issues/43)) ([666f7e3](https://github.com/rudderlabs/rudder-shopify-tracker/commit/666f7e3288da7113b78e4141e05d0f475b97cc23))
-* adding session Id stitching and upgrading node version to v18 ([#30](https://github.com/rudderlabs/rudder-shopify-tracker/issues/30)) ([dd8bc39](https://github.com/rudderlabs/rudder-shopify-tracker/commit/dd8bc39994da3f9c46c1b0d0cded1fc519b90454))
-* address comment ([ff96b36](https://github.com/rudderlabs/rudder-shopify-tracker/commit/ff96b365f4c47d9c0dfacf27ec58d688009e68e6))
-* fire Rudder Identifier Periodically ([f339eea](https://github.com/rudderlabs/rudder-shopify-tracker/commit/f339eea9cce2c3a14e282ad827ce4afc833946be))
-* initial commit for identity stitching ([e536415](https://github.com/rudderlabs/rudder-shopify-tracker/commit/e5364156789ff3d7b014283a351a3bf3543884b1))
-* refactor code ([56ce4a9](https://github.com/rudderlabs/rudder-shopify-tracker/commit/56ce4a92c967bbfdd3a2f55b5ee3234522159ecf))
-* send whole cart payload for rudderIdentifier event ([8d2dabd](https://github.com/rudderlabs/rudder-shopify-tracker/commit/8d2dabd5556a832fe3d49ed4159d3dea26f57055))
-* skip client side identify calls ([2e6cf0d](https://github.com/rudderlabs/rudder-shopify-tracker/commit/2e6cf0de98c50d348f1b346ed97b5dbe39c22445))
-* storing cart attributes as cookie ([806d187](https://github.com/rudderlabs/rudder-shopify-tracker/commit/806d1875872c8a52947b5b011581525468f605c2))
-* update product list viewed event call ([#28](https://github.com/rudderlabs/rudder-shopify-tracker/issues/28)) ([2b79208](https://github.com/rudderlabs/rudder-shopify-tracker/commit/2b792086ad8d89f33a812a19e290d1518ad27b04))
-
+- adding cartToken to rudderIdentifier payload ([1af7b1c](https://github.com/rudderlabs/rudder-shopify-tracker/commit/1af7b1c3672ea9a90bbab41793ef72ffd8d778a6))
+- adding ci/cd to shopify tracker repository ([#43](https://github.com/rudderlabs/rudder-shopify-tracker/issues/43)) ([666f7e3](https://github.com/rudderlabs/rudder-shopify-tracker/commit/666f7e3288da7113b78e4141e05d0f475b97cc23))
+- adding session Id stitching and upgrading node version to v18 ([#30](https://github.com/rudderlabs/rudder-shopify-tracker/issues/30)) ([dd8bc39](https://github.com/rudderlabs/rudder-shopify-tracker/commit/dd8bc39994da3f9c46c1b0d0cded1fc519b90454))
+- address comment ([ff96b36](https://github.com/rudderlabs/rudder-shopify-tracker/commit/ff96b365f4c47d9c0dfacf27ec58d688009e68e6))
+- fire Rudder Identifier Periodically ([f339eea](https://github.com/rudderlabs/rudder-shopify-tracker/commit/f339eea9cce2c3a14e282ad827ce4afc833946be))
+- initial commit for identity stitching ([e536415](https://github.com/rudderlabs/rudder-shopify-tracker/commit/e5364156789ff3d7b014283a351a3bf3543884b1))
+- refactor code ([56ce4a9](https://github.com/rudderlabs/rudder-shopify-tracker/commit/56ce4a92c967bbfdd3a2f55b5ee3234522159ecf))
+- send whole cart payload for rudderIdentifier event ([8d2dabd](https://github.com/rudderlabs/rudder-shopify-tracker/commit/8d2dabd5556a832fe3d49ed4159d3dea26f57055))
+- skip client side identify calls ([2e6cf0d](https://github.com/rudderlabs/rudder-shopify-tracker/commit/2e6cf0de98c50d348f1b346ed97b5dbe39c22445))
+- storing cart attributes as cookie ([806d187](https://github.com/rudderlabs/rudder-shopify-tracker/commit/806d1875872c8a52947b5b011581525468f605c2))
+- update product list viewed event call ([#28](https://github.com/rudderlabs/rudder-shopify-tracker/issues/28)) ([2b79208](https://github.com/rudderlabs/rudder-shopify-tracker/commit/2b792086ad8d89f33a812a19e290d1518ad27b04))
### Bug Fixes
-* ci/cd file name ([#50](https://github.com/rudderlabs/rudder-shopify-tracker/issues/50)) ([a77fdf9](https://github.com/rudderlabs/rudder-shopify-tracker/commit/a77fdf9d40471239cce1f10e4cffe064d365191c))
-* cookie update check timeInterval ([17ce9a8](https://github.com/rudderlabs/rudder-shopify-tracker/commit/17ce9a88bdb335075e04e09df6f97d95a2c93f48))
-* docker file name ([#52](https://github.com/rudderlabs/rudder-shopify-tracker/issues/52)) ([b20c4b6](https://github.com/rudderlabs/rudder-shopify-tracker/commit/b20c4b617797683cd5281d19a85e13cb32f80be0))
-* double product clicked events ([#37](https://github.com/rudderlabs/rudder-shopify-tracker/issues/37)) ([2b8fec3](https://github.com/rudderlabs/rudder-shopify-tracker/commit/2b8fec31f505ea12a98b9637c7c96b869ebcd8b5))
-* Fire Product Added Event for multiple add to cart buttons ([48d3446](https://github.com/rudderlabs/rudder-shopify-tracker/commit/48d3446116454c32bbb3c8a9e6f5ceb896591563))
-* make deviceModeInit variable as a scope variable ([da329e9](https://github.com/rudderlabs/rudder-shopify-tracker/commit/da329e95790dac3515a9de6ad5a2babdb8f69428))
-* product list view and product clicked enhancement ([#38](https://github.com/rudderlabs/rudder-shopify-tracker/issues/38)) ([103620b](https://github.com/rudderlabs/rudder-shopify-tracker/commit/103620b775e2af119198101dc554595afba3bcda)), closes [#39](https://github.com/rudderlabs/rudder-shopify-tracker/issues/39)
-* remove extra commit ([99cbeef](https://github.com/rudderlabs/rudder-shopify-tracker/commit/99cbeef4649b3e708053fcf169687d9b7b9a8b84))
-* removing anonymousId from cookie ([126a7d8](https://github.com/rudderlabs/rudder-shopify-tracker/commit/126a7d85e857e4e70b50a358b30032f4ef01e2fa))
-* replace replaceAll() with regex ([c99122e](https://github.com/rudderlabs/rudder-shopify-tracker/commit/c99122e46241b02f85eaaf156643296358ff119c))
-* reset analytics when user logs out to reset cache ([#35](https://github.com/rudderlabs/rudder-shopify-tracker/issues/35)) ([b241815](https://github.com/rudderlabs/rudder-shopify-tracker/commit/b2418156f844bab9005a5dad92082ee39488a809))
-* sending cart object in identifier event ([6a55175](https://github.com/rudderlabs/rudder-shopify-tracker/commit/6a55175040b9e2d5f40ab2ac2ffb97dbf6e1e56a))
-* sku value to be non amalgamated, depends on variant ([#24](https://github.com/rudderlabs/rudder-shopify-tracker/issues/24)) ([b3c051f](https://github.com/rudderlabs/rudder-shopify-tracker/commit/b3c051fc44d4a2a2c701e45801a8f69ed3d59ad5))
-* stringify product_id before using in sku ([#27](https://github.com/rudderlabs/rudder-shopify-tracker/issues/27)) ([e9626d6](https://github.com/rudderlabs/rudder-shopify-tracker/commit/e9626d6ef602a23b9170cb0d260bae4882856f3e))
+- ci/cd file name ([#50](https://github.com/rudderlabs/rudder-shopify-tracker/issues/50)) ([a77fdf9](https://github.com/rudderlabs/rudder-shopify-tracker/commit/a77fdf9d40471239cce1f10e4cffe064d365191c))
+- cookie update check timeInterval ([17ce9a8](https://github.com/rudderlabs/rudder-shopify-tracker/commit/17ce9a88bdb335075e04e09df6f97d95a2c93f48))
+- docker file name ([#52](https://github.com/rudderlabs/rudder-shopify-tracker/issues/52)) ([b20c4b6](https://github.com/rudderlabs/rudder-shopify-tracker/commit/b20c4b617797683cd5281d19a85e13cb32f80be0))
+- double product clicked events ([#37](https://github.com/rudderlabs/rudder-shopify-tracker/issues/37)) ([2b8fec3](https://github.com/rudderlabs/rudder-shopify-tracker/commit/2b8fec31f505ea12a98b9637c7c96b869ebcd8b5))
+- Fire Product Added Event for multiple add to cart buttons ([48d3446](https://github.com/rudderlabs/rudder-shopify-tracker/commit/48d3446116454c32bbb3c8a9e6f5ceb896591563))
+- make deviceModeInit variable as a scope variable ([da329e9](https://github.com/rudderlabs/rudder-shopify-tracker/commit/da329e95790dac3515a9de6ad5a2babdb8f69428))
+- product list view and product clicked enhancement ([#38](https://github.com/rudderlabs/rudder-shopify-tracker/issues/38)) ([103620b](https://github.com/rudderlabs/rudder-shopify-tracker/commit/103620b775e2af119198101dc554595afba3bcda)), closes [#39](https://github.com/rudderlabs/rudder-shopify-tracker/issues/39)
+- remove extra commit ([99cbeef](https://github.com/rudderlabs/rudder-shopify-tracker/commit/99cbeef4649b3e708053fcf169687d9b7b9a8b84))
+- removing anonymousId from cookie ([126a7d8](https://github.com/rudderlabs/rudder-shopify-tracker/commit/126a7d85e857e4e70b50a358b30032f4ef01e2fa))
+- replace replaceAll() with regex ([c99122e](https://github.com/rudderlabs/rudder-shopify-tracker/commit/c99122e46241b02f85eaaf156643296358ff119c))
+- reset analytics when user logs out to reset cache ([#35](https://github.com/rudderlabs/rudder-shopify-tracker/issues/35)) ([b241815](https://github.com/rudderlabs/rudder-shopify-tracker/commit/b2418156f844bab9005a5dad92082ee39488a809))
+- sending cart object in identifier event ([6a55175](https://github.com/rudderlabs/rudder-shopify-tracker/commit/6a55175040b9e2d5f40ab2ac2ffb97dbf6e1e56a))
+- sku value to be non amalgamated, depends on variant ([#24](https://github.com/rudderlabs/rudder-shopify-tracker/issues/24)) ([b3c051f](https://github.com/rudderlabs/rudder-shopify-tracker/commit/b3c051fc44d4a2a2c701e45801a8f69ed3d59ad5))
+- stringify product_id before using in sku ([#27](https://github.com/rudderlabs/rudder-shopify-tracker/issues/27)) ([e9626d6](https://github.com/rudderlabs/rudder-shopify-tracker/commit/e9626d6ef602a23b9170cb0d260bae4882856f3e))
diff --git a/README.md b/README.md
index 730f3c3..3f8df71 100644
--- a/README.md
+++ b/README.md
@@ -23,16 +23,19 @@
This application lets you connect your Shopify store with RudderStack. Use it to track event-level data from Shopify and send it to your preferred tooling platforms via RudderStack.
## Overview
+
This repo is a component of RudderStack Shopify App (https://github.com/rudderlabs/rudderstack-shopify-app). The shoppify-app node server makes a request to this server with dataplane url and writekey. This server returns a wrapper on top of our js-sdk for client-side tracking for the shopify stores.
### Get Started
+
This is simple node server with koa router. Steps to run locally:
-1. ```npm install```
-2. ```npm run start```
+
+1. `npm install`
+2. `npm run start`
## Features
-It is a smart tracking script which inserts into the Shopify store pages, and allows client-side tracking. Please note, this works in conjunction to the above-mentioned RudderStack Shopify App.
+It is a smart tracking script which inserts into the Shopify store pages, and allows client-side tracking. Please note, this works in conjunction to the above-mentioned RudderStack Shopify App.