Skip to content

Commit c66af4a

Browse files
Merge pull request #49 from woocommerce/REDTWOO-78
REDTWOO-78: Update the FAQs content and add it to the settings page as well.
2 parents cb183c9 + 9238112 commit c66af4a

File tree

3 files changed

+62
-17
lines changed

3 files changed

+62
-17
lines changed

js/src/components/faqs-panel/index.scss

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
.rfw-faqs-panel {
22
.components-panel__row {
3-
flex-direction: column;
4-
gap: 1.5em;
5-
6-
// overrides new styles in .components-panel__row which defined align-items: center;
7-
align-items: flex-start;
3+
display: block;
84

95
p {
106
margin: 0;

js/src/components/paid-ads/ads-campaign/faqs.js

Lines changed: 56 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
* External dependencies
33
*/
44
import { __ } from '@wordpress/i18n';
5+
import { createInterpolateElement } from '@wordpress/element';
6+
import { Link } from '@woocommerce/components';
57

68
/**
79
* Internal dependencies
@@ -10,36 +12,78 @@ import FaqsPanel from '~/components/faqs-panel';
1012

1113
const faqItems = [
1214
{
13-
trackId: 'how-much-do-reddit-ads-cost',
15+
trackId: 'how-should-i-set-budget-and-pacing-at-launch',
1416
question: __(
15-
'How much do Reddit Ads cost?',
17+
'How should I set budget and pacing at launch?',
18+
'reddit-for-woocommerce'
19+
),
20+
answer: __(
21+
'Start with a weekly budget that can generate meaningful signal—roughly 20–30× your target CPA per ad group—so the system has enough data to learn. Fewer, well-funded ad groups beat a bunch of starved ones. Avoid major edits for the first 48–72 hours; constant changes reset learning and slow results. When you scale, do it in controlled steps (about 20–30% at a time) once performance is stable.',
1622
'reddit-for-woocommerce'
1723
),
18-
answer: __( 'TBD', 'reddit-for-woocommerce' ),
1924
},
2025
{
21-
trackId: 'what-is-the-minimum-spend-for-reddit-ads',
26+
trackId: 'how-do-i-confirm-pixel-and-capi-are-working-before-i-launch',
2227
question: __(
23-
'What is the minimum spend for Reddit Ads?',
28+
'How do I confirm Pixel and CAPI are working before I launch?',
2429
'reddit-for-woocommerce'
2530
),
26-
answer: __( 'TBD', 'reddit-for-woocommerce' ),
31+
answer: createInterpolateElement(
32+
__(
33+
'Open Events Manager and make sure the Pixel shows <strong>Active</strong> and Server events show <strong>Receiving</strong>. Trigger a quick test flow (view a product, add to cart, complete a test purchase) and confirm you see both client <strong>and</strong> server events within a few minutes, with the <strong>same event_id</strong> for deduplication. Check that match rates look healthy (hashed email/phone present) and that the <strong>product id in events exactly matches your feed id</strong>.',
34+
'reddit-for-woocommerce'
35+
),
36+
{
37+
strong: <strong />,
38+
}
39+
),
2740
},
2841
{
29-
trackId: 'how-can-i-optimize-my-budget',
42+
trackId:
43+
'my-catalog-products-arent-showing-up-during-setup-what-should-i-check',
3044
question: __(
31-
'How can I optimize my budget?',
45+
"My catalog/products aren't showing up during setup—what should I check?",
46+
'reddit-for-woocommerce'
47+
),
48+
answer: __(
49+
'Run a sync and review Diagnostics for missing required fields like title, price, availability, link, and image. Only in-stock items with valid images and working links will populate eligible sets. Make sure product IDs in the feed match the IDs your Pixel/CAPI send in events; mismatches break DPA targeting and reporting. Also confirm your store currency and country align with your ad account settings.',
3250
'reddit-for-woocommerce'
3351
),
34-
answer: __( 'TBD', 'reddit-for-woocommerce' ),
3552
},
3653
{
37-
trackId: 'can-i-promote-my-business-for-free-on-reddit',
54+
trackId: 'what-needs-to-be-true-for-shopping-dpas-to-work-well',
3855
question: __(
39-
'Can I promote my business for free on Reddit?',
56+
'What needs to be true for Shopping/DPAs to work well?',
57+
'reddit-for-woocommerce'
58+
),
59+
answer: __(
60+
'Your catalog must be healthy (no critical errors) and kept fresh with scheduled refresh so price and availability are current. Pixel + CAPI should fire purchase and view events reliably, with product IDs matching the feed exactly. Build product sets that mirror how you actually want to advertise—top sellers, new arrivals, or in-stock under a price point—so delivery stays relevant. ',
4061
'reddit-for-woocommerce'
4162
),
42-
answer: __( 'TBD', 'reddit-for-woocommerce' ),
63+
},
64+
{
65+
trackId: 'where-do-i-manage-the-campaign-after-creating-it-in-woo',
66+
question: __(
67+
'Where do I manage the campaign after creating it in Woo?',
68+
'reddit-for-woocommerce'
69+
),
70+
answer: createInterpolateElement(
71+
__(
72+
'Manage it in <strong>Reddit Ads Manager at <adsLink>https://ads.reddit.com</adsLink>.</strong>',
73+
'reddit-for-woocommerce'
74+
),
75+
{
76+
strong: <strong />,
77+
adsLink: (
78+
<Link
79+
href="https://ads.reddit.com/"
80+
target="_blank"
81+
rel="noopener noreferrer"
82+
external
83+
/>
84+
),
85+
}
86+
),
4387
},
4488
];
4589

js/src/pages/settings/index.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ import useRedditAccount from '~/hooks/useRedditAccount';
1717
import OnboardingSuccessModal from '~/components/onboarding-success-modal';
1818
import { getOnboardingUrl } from '~/utils/urls';
1919
import './index.scss';
20+
import Faqs from '~/components/paid-ads/ads-campaign/faqs';
2021

2122
const Settings = () => {
2223
// Make the component highlight SFW entry in the WC legacy menu.
@@ -65,6 +66,10 @@ const Settings = () => {
6566
>
6667
<LinkedAccounts />
6768
</Section>
69+
70+
<Section>
71+
<Faqs />
72+
</Section>
6873
</div>
6974
);
7075
};

0 commit comments

Comments
 (0)