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..." placeholder="G-123456..."
onChange={updateTrackingId} onChange={updateTrackingId}
/> />
<TextInput
label="Event category:"
defaultValue={options?.category ?? ''}
placeholder="Example: Typebot"
onChange={updateCategory}
/>
<TextInput <TextInput
label="Event action:" label="Event action:"
defaultValue={options?.action ?? ''} defaultValue={options?.action ?? ''}
placeholder="Example: Submit email" placeholder="Example: conversion"
onChange={updateAction} onChange={updateAction}
/> />
<Accordion allowToggle> <Accordion allowToggle>
@ -74,6 +68,12 @@ export const GoogleAnalyticsSettings = ({
</AccordionButton> </AccordionButton>
</h2> </h2>
<AccordionPanel pb={4} as={Stack} spacing="6"> <AccordionPanel pb={4} as={Stack} spacing="6">
<TextInput
label="Event category:"
defaultValue={options?.category ?? ''}
placeholder="Example: Typebot"
onChange={updateCategory}
/>
<TextInput <TextInput
label="Event label:" label="Event label:"
defaultValue={options?.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" width="600"
alt="Google Analytics block" 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 "cache": false
}, },
"api:generate": { "api:generate": {
"dependsOn": ["@typebot.io/prisma#db:generate"], "dependsOn": ["bot-engine#build", "@typebot.io/prisma#db:generate"],
"cache": false "cache": false
}, },
"db:generate": { "db:generate": {