Skip to content

Commit

Permalink
Merge pull request #3099 from alphagov/update-feedback-ga4
Browse files Browse the repository at this point in the history
Update feedback component tracking
  • Loading branch information
andysellick authored Dec 2, 2022
2 parents a39e7f9 + 000ae3c commit e676115
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

## Unreleased

* Update feedback component tracking ([PR #3099](https://github.com/alphagov/govuk_publishing_components/pull/3099))
* Update to LUX 305 ([PR #3096](https://github.com/alphagov/govuk_publishing_components/pull/3096))
* Add the keyboard shim for link buttons ([PR #3027](https://github.com/alphagov/govuk_publishing_components/pull/3027))
* Remove unused axe-core option from options parameter ([PR #3094](https://github.com/alphagov/govuk_publishing_components/pull/3094))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
<%= render "govuk_publishing_components/components/button", {
text: t("components.feedback.send"),
data_attributes: {
ga4: {
ga4_event: {
event_name: "form_submit",
type: "feedback",
text: "Send",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<%= render "govuk_publishing_components/components/button", {
text: t("components.feedback.send_me_survey"),
data_attributes: {
ga4: {
ga4_event: {
event_name: "form_submit",
type: "feedback",
text: "Send me the survey",
Expand Down

0 comments on commit e676115

Please sign in to comment.