forked from woocommerce/google-listings-and-ads
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.js
More file actions
287 lines (283 loc) · 11.3 KB
/
index.js
File metadata and controls
287 lines (283 loc) · 11.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
/**
* External dependencies
*/
import { createInterpolateElement } from '@wordpress/element';
import { __ } from '@wordpress/i18n';
/**
* Internal dependencies
*/
import FaqsPanel from '.~/components/faqs-panel';
import AppDocumentationLink from '.~/components/app-documentation-link';
import './index.scss';
const faqItems = [
{
trackId: 'what-do-i-need-to-get-started',
question: __(
'What do I need to get started?',
'google-listings-and-ads'
),
answer: (
<p>
{ createInterpolateElement(
__(
'In order to sync your WooCommerce store with Google and begin showcasing your products online, you will need to provide the following during setup; Google account access, target audience, shipping information, tax rate information (required for US only), and ensure your store is running on a compatible PHP version. <link>Learn more.</link>',
'google-listings-and-ads'
),
{
link: (
<AppDocumentationLink
context="faqs"
linkId="general-requirements"
href="https://woo.com/document/google-listings-and-ads/#general-requirements"
/>
),
}
) }
</p>
),
},
{
trackId: 'what-if-i-already-have-free-listings',
question: __(
'What if I already have Google listings or ads set up? Will syncing my store replace my current Google listings?',
'google-listings-and-ads'
),
answer: (
<>
<p>
{ __(
'Once you link an existing account to connect your store, your Shopping ads and free listings will stop running. You’ll need to re-upload your feed and product data in order to run Shopping ads and show free listings.',
'google-listings-and-ads'
) }
</p>
<p>
{ createInterpolateElement(
__(
'Learn more about claiming URLs <link>here</link>.',
'google-listings-and-ads'
),
{
link: (
<AppDocumentationLink
context="faqs"
linkId="claiming-urls"
href="https://support.google.com/merchants/answer/7527436"
/>
),
}
) }
</p>
<p>
{ __(
'If you have an existing Content API feed, it will not be changed, overwritten or deleted by this WooCommerce integration. Instead, products will be added to your existing Content API feed.',
'google-listings-and-ads'
) }
</p>
</>
),
},
{
trackId: 'is-my-store-ready-to-sync-with-google',
question: __(
'Is my store ready to sync with Google?',
'google-listings-and-ads'
),
answer: (
<p>
{ createInterpolateElement(
__(
'In order to meet the Google Merchant Center requirements make sure your website has the following; secure checkout process and payment information, refund and return policies, billing terms and conditions, business contact information. <link>Learn more.</link>',
'google-listings-and-ads'
),
{
link: (
<AppDocumentationLink
context="faqs"
linkId="google-merchant-center-requirements"
href="https://woo.com/document/google-listings-and-ads/#google-merchant-center-requirements"
/>
),
}
) }
</p>
),
},
{
trackId: 'what-is-a-performance-max-campaign',
question: __(
'What is a Performance Max campaign?',
'google-listings-and-ads'
),
answer: (
<p>
{ createInterpolateElement(
__(
'Performance Max campaigns make it easy to connect your WooCommerce store to Google Shopping ads so you can showcase your products to shoppers across Google Search, Maps, Shopping, YouTube, Gmail, the Display Network and Discover feed to drive traffic and sales for your store. <link>Learn more.</link>',
'google-listings-and-ads'
),
{
link: (
<AppDocumentationLink
context="faqs"
linkId="performance-max"
href="https://woo.com/document/google-listings-and-ads/#google-performance-max-campaigns"
/>
),
}
) }
</p>
),
},
{
trackId: 'what-are-free-listings',
question: __( 'What are free listings?', 'google-listings-and-ads' ),
answer: (
<p>
{ createInterpolateElement(
__(
'Google Free Listings allows stores to showcase eligible products to shoppers looking for what you offer and drive traffic to your store with Google’s free listings on the Shopping tab. Your products can also appear on Google Search, Google Images, and Gmail if you’re selling in the United States. <link>Learn more.</link>',
'google-listings-and-ads'
),
{
link: (
<AppDocumentationLink
context="faqs"
linkId="free-listings"
href="https://woo.com/document/google-listings-and-ads/#free-listings-on-google"
/>
),
}
) }
</p>
),
},
{
trackId:
'where-to-track-free-listings-and-performance-max-campaign-performance',
question: __(
'Where can I track my free listings and Performance Max campaign performance?',
'google-listings-and-ads'
),
answer: (
<p>
{ createInterpolateElement(
__(
'Once your free listings and Performance Max campaigns are set up, you will be able to track your performance straight from your WooCommerce dashboard. You can view your reports yearly, quarterly, monthly, weekly, or daily. The following metrics will be visible within your report: conversions, clicks, impressions, total sales and total spend. <link>Learn more.</link>',
'google-listings-and-ads'
),
{
link: (
<AppDocumentationLink
context="faqs"
linkId="campaign-analytics"
href="https://woo.com/document/google-listings-and-ads/#getting-started-with-campaign-analytics"
/>
),
}
) }
</p>
),
},
{
trackId: 'how-to-sync-products-to-google-free-listings',
question: __(
'How do I sync my products to Google free listings?',
'google-listings-and-ads'
),
answer: (
<p>
{ __(
'The Google Listings and Ads plugin allows you to upload your store and product data to Google. Your products will sync automatically to make relevant information available for free listings, Google Ads, and other Google services. You can create a new Merchant Center account or link an existing account to connect your store and list products across Google.',
'google-listings-and-ads'
) }
</p>
),
},
{
trackId: 'can-i-run-both-shopping-ads-and-free-listings-campaigns',
question: __(
'Can I run both Shopping ads and free listings campaigns at the same time?',
'google-listings-and-ads'
),
answer: (
<p>
{ __(
'Yes, you can run both at the same time, and we recommend it! In the US, advertisers running free listings and ads together have seen an average of over 50% increase in clicks and over 100% increase in impressions on both free listings and ads on the Shopping tab. Your store is automatically opted into free listings automatically and can choose to run a paid Performance Max campaign.',
'google-listings-and-ads'
) }
</p>
),
},
{
trackId: 'how-can-i-get-the-ad-credit-offer',
question: __(
'How can I get the $500 ad credit offer?',
'google-listings-and-ads'
),
answer: (
<>
<p>
{ __(
'Create a new Google Ads account through Google Listings & Ads and a promotional code will be automatically applied to your account. You’ll have 60 days to spend $500 to qualify for the $500 ads credit.',
'google-listings-and-ads'
) }
</p>
<p>
{ createInterpolateElement(
__(
'Ad credit amounts vary by country and region. Full terms and conditions can be found <link>here</link>.',
'google-listings-and-ads'
),
{
link: (
<AppDocumentationLink
context="faqs"
linkId="terms-and-conditions-of-google-ads-coupons"
href="https://www.google.com/ads/coupons/terms/"
/>
),
}
) }
</p>
</>
),
},
];
/**
* @fires gla_faq with `{ context: 'get-started', id: 'what-do-i-need-to-get-started', action: 'expand' }`.
* @fires gla_faq with `{ context: 'get-started', id: 'what-do-i-need-to-get-started', action: 'collapse' }`.
* @fires gla_faq with `{ context: 'get-started', id: 'what-if-i-already-have-free-listings', action: 'expand' }`.
* @fires gla_faq with `{ context: 'get-started', id: 'what-if-i-already-have-free-listings', action: 'collapse' }`.
* @fires gla_faq with `{ context: 'get-started', id: 'is-my-store-ready-to-sync-with-google', action: 'expand' }`.
* @fires gla_faq with `{ context: 'get-started', id: 'is-my-store-ready-to-sync-with-google', action: 'collapse' }`.
* @fires gla_faq with `{ context: 'get-started', id: 'what-is-a-performance-max-campaign', action: 'expand' }`.
* @fires gla_faq with `{ context: 'get-started', id: 'what-is-a-performance-max-campaign', action: 'collapse' }`.
* @fires gla_faq with `{ context: 'get-started', id: 'what-are-free-listings', action: 'expand' }`.
* @fires gla_faq with `{ context: 'get-started', id: 'what-are-free-listings', action: 'collapse' }`.
* @fires gla_faq with `{ context: 'get-started', id: 'where-to-track-free-listings-and-performance-max-campaign-performance', action: 'expand' }`.
* @fires gla_faq with `{ context: 'get-started', id: 'where-to-track-free-listings-and-performance-max-campaign-performance', action: 'collapse' }`.
* @fires gla_faq with `{ context: 'get-started', id: 'how-to-sync-products-to-google-free-listings', action: 'expand' }`.
* @fires gla_faq with `{ context: 'get-started', id: 'how-to-sync-products-to-google-free-listings', action: 'collapse' }`.
* @fires gla_faq with `{ context: 'get-started', id: 'can-i-run-both-shopping-ads-and-free-listings-campaigns', action: 'expand' }`.
* @fires gla_faq with `{ context: 'get-started', id: 'can-i-run-both-shopping-ads-and-free-listings-campaigns', action: 'collapse' }`.
* @fires gla_faq with `{ context: 'get-started', id: 'how-can-i-get-the-ad-credit-offer', action: 'expand' }`.
* @fires gla_faq with `{ context: 'get-started', id: 'how-can-i-get-the-ad-credit-offer', action: 'collapse' }`.
* @fires gla_documentation_link_click with `{ context: 'faqs', linkId: 'general-requirements', href: 'https://woo.com/document/google-listings-and-ads/#general-requirements' }`.
* @fires gla_documentation_link_click with `{ context: 'faqs', linkId: 'claiming-urls', href: 'https://support.google.com/merchants/answer/7527436' }`.
* @fires gla_documentation_link_click with `{ context: 'faqs', linkId: 'google-merchant-center-requirements', href: 'https://woo.com/document/google-listings-and-ads/#google-merchant-center-requirements' }`.
* @fires gla_documentation_link_click with `{ context: 'faqs', linkId: 'performance-max', href: 'https://woo.com/document/google-listings-and-ads/#google-performance-max-campaigns' }`.
* @fires gla_documentation_link_click with `{ context: 'faqs', linkId: 'free-listings', href: 'https://woo.com/document/google-listings-and-ads/#free-listings-on-google' }`.
* @fires gla_documentation_link_click with `{ context: 'faqs', linkId: 'campaign-analytics', href: 'https://woo.com/document/google-listings-and-ads/#getting-started-with-campaign-analytics' }`.
* @fires gla_documentation_link_click with `{ context: 'faqs', linkId: 'terms-and-conditions-of-google-ads-coupons', href: 'https://www.google.com/ads/coupons/terms/' }`.
*/
const Faqs = () => {
return (
<FaqsPanel
className="gla-get-started-faqs"
trackName="gla_faq"
context="get-started"
faqItems={ faqItems }
/>
);
};
export default Faqs;