Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Copy on Enhanced Conversion Tracking Toggle for Analytics Module Needs Changing #8816

Closed
3 tasks
wpdarren opened this issue Jun 5, 2024 · 5 comments
Closed
3 tasks
Labels
Module: Analytics Google Analytics module related issues P0 High priority Team S Issues for Squad 1 Type: Bug Something isn't working

Comments

@wpdarren
Copy link
Collaborator

wpdarren commented Jun 5, 2024

Bug Description

As reported in Asana on the bug bashing by @kelvinballoo

The copy on the Analytics module edit mode is incorrect when comparing it to the Figma designs.

Based on Figma, it should be:
Conversion tracking is used for tracking additional conversion-related events via Analytics

Currently it reads:
Conversion tracking allows you to measure additional events on your site from other plugins that Site Kit integrates with to optimize your campaign performance. Learn more

Please note that there isn't a learn more link in the figma designs but from the conversation in Asana, it should be added.


Do not alter or remove anything below. The following sections will be managed by moderators only.

Acceptance criteria

*ConversionTrackingToggle component should render copy dynamically. It should show:

  • Conversion tracking is used for tracking additional conversion-related events via Analytics when on Analytics module
  • Currently used copy Conversion tracking allows you to measure additional events on your site from other plugins that Site Kit integrates with to optimize your campaign performance. Learn more when on Ads module

Implementation Brief

  • Update assets/js/components/conversion-tracking/ConversionTrackingToggle.js
    • Render the children instead of currently hardcoded content
      { createInterpolateElement(
      __(
      'Conversion tracking allows you to measure additional events on your site from other plugins that Site Kit integrates with to optimize your campaign performance. <a>Learn more</a>',
      'google-site-kit'
      ),
      {
      a: (
      <Link
      href={ conversionTrackingDocumentationURL }
      external
      aria-label={ __(
      'Learn more about conversion tracking',
      'google-site-kit'
      ) }
      />
      ),
      }
      ) }
  • Update assets/js/modules/ads/components/settings/SettingsForm.js
    • Use the content previously present in the ConversionTrackingToggle component and use it as a wrapper, to add the content element as child
  • Update assets/js/modules/analytics-4/components/settings/SettingsForm.js
    • Use the content referenced in the AC for Analytics module and add it as translatable string wrapped under ConversionTrackingToggle component

Test Coverage

  • Update any failing VRT

QA Brief

  • Set up Site Kit with the Analytics and Ads modules enabled.
  • Visit Site Kit Settings and open the Analytics' modules settings, then click "Edit" to open the edit mode
    • Ensure the text underneath the "Enhanced Conversion Tracking" toggle reads: Conversion tracking is used for tracking additional conversion-related events via Analytics
  • Visit Site Kit Settings and open the Ads' modules settings, then click "Edit" to open the edit mode
    • Ensure the text underneath the "Enhanced Conversion Tracking" toggle reads: _ Conversion tracking allows you to measure additional events on your site from other plugins that Site Kit integrates with to optimize your campaign performance. Learn more_

Changelog entry

  • Update copy for the Enhanced Conversion Tracking toggle to be different for the Analytics module.
@wpdarren wpdarren added Module: Analytics Google Analytics module related issues Type: Bug Something isn't working labels Jun 5, 2024
@binnieshah binnieshah added Team S Issues for Squad 1 P0 High priority labels Jun 6, 2024
@zutigrm zutigrm self-assigned this Jun 6, 2024
@binnieshah binnieshah added the Next Up Issues to prioritize for definition label Jun 6, 2024
@zutigrm zutigrm removed their assignment Jun 6, 2024
@zutigrm
Copy link
Collaborator

zutigrm commented Jun 6, 2024

Since it is a very straightforward issue, I added IB at the same time as AC

@eugene-manuilov eugene-manuilov self-assigned this Jun 6, 2024
@eugene-manuilov
Copy link
Collaborator

@zutigrm let's use children instead of content.

@zutigrm
Copy link
Collaborator

zutigrm commented Jun 7, 2024

@eugene-manuilov IB updated

@zutigrm zutigrm assigned eugene-manuilov and unassigned zutigrm Jun 7, 2024
@eugene-manuilov
Copy link
Collaborator

Thanks. IB ✔️

@eugene-manuilov eugene-manuilov removed their assignment Jun 7, 2024
@binnieshah binnieshah removed the Next Up Issues to prioritize for definition label Jun 10, 2024
@tofumatt tofumatt self-assigned this Jun 10, 2024
@tofumatt tofumatt removed their assignment Jun 11, 2024
@benbowler benbowler assigned benbowler and unassigned benbowler Jun 11, 2024
@mohitwp
Copy link
Collaborator

mohitwp commented Jun 12, 2024

QA Update ✅

  • Tested on dev environment.
  • Verified that Analytics copy updated to Conversion tracking is used for tracking additional conversion-related events via Analytics .Verified the Ads module copy - the text underneath the "Enhanced Conversion Tracking" toggle reads: _ Conversion tracking allows you to measure additional events on your site from other plugins that Site Kit integrates with to optimize your campaign performance. Learn more_`

image

image

image

@mohitwp mohitwp removed their assignment Jun 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Module: Analytics Google Analytics module related issues P0 High priority Team S Issues for Squad 1 Type: Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

8 participants