vtex-apps / reviews-and-ratings

5 stars 20 forks source link

[REVIEWS-122] Add GTM event for submitted reviews #226

Closed polishq closed 1 year ago

polishq commented 1 year ago

What problem is this solving?

This PR adds a custom GTM event to enable tracking of review submissions, following these instructions.

This PR can be used as an example for adding additional events as needed.

How to test it?

Linked here: https://arthur--sandboxusdev.myvtex.com/

After submitting a review, run window.dataLayer in the browser console and the custom event should be shown in the array.

vtex-io-ci-cd[bot] commented 1 year ago

Hi! I'm VTEX IO CI/CD Bot and I'll be helping you to publish your app! 🤖

Please select which version do you want to release:

And then you just need to merge your PR when you are ready! There is no need to create a release commit/tag.

vtex-io-docs-bot[bot] commented 1 year ago

Beep boop :robot:

I noticed you didn't make any changes at the docs/ folder

In order to keep track, I'll create an issue if you decide now is not a good time

github-actions[bot] commented 1 year ago
Messages
:book: :tada: PR additions = `17`, PR deletions = `0`
:book: :heart: Thanks!

Generated by :no_entry_sign: dangerJS against 98d34f405f8efa857cd490477b528399af5a1795

sonarcloud[bot] commented 1 year ago

[vtex-apps_reviews-and-ratings-dotnet] Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

sonarcloud[bot] commented 1 year ago

[vtex-apps_reviews-and-ratings-ts] Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

github-actions[bot] commented 1 year ago

Cy-Runner

 [✓] Execution time
  -  initWorkspace................. 00:00:03
  -  installApps................... 00:00:00
  -  uninstallApps................. 00:00:00
  -  linkApp....................... 00:00:40
  -  strategy...................... 00:07:49
  -  teardown...................... 00:00:13
  -  total......................... 00:08:50

Cypress Dashboard

 [✓] https://dashboard.cypress.io/projects/964exx/runs/228

Success

 [✓] The test ran successfully, well done!
vtex-io-ci-cd[bot] commented 1 year ago

Your PR has been merged! App is being published. :rocket: Version 3.11.2 → 3.12.0

After the publishing process has been completed (check #vtex-io-releases) and doing A/B tests with the new version, you can deploy your release by running:

vtex deploy vtex.reviews-and-ratings@3.12.0

After that your app will be updated on all accounts.

For more information on the deployment process check the docs. :book: