2
0
Files
bot/apps/docs/editor/blocks/integrations/google-analytics.mdx
2023-12-22 09:13:53 +01:00

27 lines
994 B
Plaintext

---
title: Google Analytics
---
The Google Analytics integration block allows you to track a Google Analytics event at a given moment in your flow.
<Frame>
<img src="/images/blocks/integrations/ga.png" alt="Google Analytics block" />
</Frame>
When your flow contains a Google Analytics block, under the hood it:
- Initialize GA and track a "Page view" event on page load.
- Track the event if any when the block is executed.
## 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
## Troubleshooting
To help you debug how your Google Analytics behaves, I suggest you add the [Google Analytics Debugger](https://chrome.google.com/webstore/detail/google-analytics-debugger/jnkmfdileelhofjcijamephohjechhna) extension to your browser.