2
0

📝 Add Google Ads conversion instructions

This commit is contained in:
Baptiste Arnaud
2023-06-07 09:35:41 +02:00
parent a16367b194
commit 4614caf498
3 changed files with 16 additions and 8 deletions

View File

@ -51,16 +51,10 @@ export const GoogleAnalyticsSettings = ({
placeholder="G-123456..."
onChange={updateTrackingId}
/>
<TextInput
label="Event category:"
defaultValue={options?.category ?? ''}
placeholder="Example: Typebot"
onChange={updateCategory}
/>
<TextInput
label="Event action:"
defaultValue={options?.action ?? ''}
placeholder="Example: Submit email"
placeholder="Example: conversion"
onChange={updateAction}
/>
<Accordion allowToggle>
@ -74,6 +68,12 @@ export const GoogleAnalyticsSettings = ({
</AccordionButton>
</h2>
<AccordionPanel pb={4} as={Stack} spacing="6">
<TextInput
label="Event category:"
defaultValue={options?.category ?? ''}
placeholder="Example: Typebot"
onChange={updateCategory}
/>
<TextInput
label="Event label:"
defaultValue={options?.label ?? ''}

View File

@ -7,3 +7,11 @@ The Google Analytics integration block allows you to track a Google Analytics ev
width="600"
alt="Google Analytics block"
/>
## Track conversions with Google Ads
To track conversions for your Google Ad, you can add a Google Analytics block whenever you'd like to trigger the conversion event with the following properties:
- Event action: conversion
- Send to: <YOUR_AW_ID>
- Value (optional): a number to quantify the conversion

View File

@ -31,7 +31,7 @@
"cache": false
},
"api:generate": {
"dependsOn": ["@typebot.io/prisma#db:generate"],
"dependsOn": ["bot-engine#build", "@typebot.io/prisma#db:generate"],
"cache": false
},
"db:generate": {