Updating the Surface GTM docs to cover per-step conversion events and all available dataLayer variables.#51
Open
mintlify[bot] wants to merge 1 commit into
Open
Updating the Surface GTM docs to cover per-step conversion events and all available dataLayer variables.#51mintlify[bot] wants to merge 1 commit into
mintlify[bot] wants to merge 1 commit into
Conversation
Mintlify-Source: dashboard-editor
Redskull-127
left a comment
Collaborator
There was a problem hiding this comment.
This PR needs work
|
|
||
| <Info> | ||
| **Tip:** Make sure your Google Ads account has conversion actions that match these names or your chosen naming convention. | ||
| The same `SurfaceFormStarted`, `SurfaceFormStepSubmitted`, and `SurfaceFormCompleted` events are also dispatched to **Meta Pixel** and **GA4** natively if you've configured a Pixel ID or Measurement ID in form settings — so if you only need standard event names, you don't need a GTM tag at all. Use the GTM approach above when you want to fire **custom, per-step** conversion events to those platforms. |
Collaborator
There was a problem hiding this comment.
We don't need this information in GTM doc
|
|
||
| For more details on how to setup Google Ads Conversion Tags, please refer to our [**Google Ads Tracking Guide**](/docs/events/google-ads-tracking). | ||
|
|
||
| ### Example: Meta Ads |
Collaborator
There was a problem hiding this comment.
Remove, it's GTM doc
| --- | ||
|
|
||
| Surface Forms can push key events to your website's data layer, making it easy to track user interactions and conversions in Google Tag Manager (GTM). | ||
| Surface Forms can push key events to your website's data layer, making it easy to track user interactions and conversions in Google Tag Manager (GTM) — including **per-step / per-screen** conversions you can wire to Google Ads, Meta Ads, LinkedIn, and any other platform. |
Collaborator
There was a problem hiding this comment.
Just mention about per step id nothing much
| | Trigger - Email Submitted | Custom Event | `SurfaceFormStepSubmitted` | `dlv - emailProvided` equals `true` | | ||
| | Trigger - Meeting Booked | Custom Event | `SurfaceFormStepSubmitted` | `dlv - meetingBooked` equals `true` | | ||
| | Trigger - URL | Custom Event | `SurfaceFormStepSubmitted` | Any | | ||
| | Trigger - urlParam | Custom Event | `SurfaceFormStepSubmitted` | Any | |
Collaborator
There was a problem hiding this comment.
Should we mention step id here?
| | Trigger - Screen 2 Done | Custom Event | `SurfaceFormStepSubmitted` | `dlv - stepId` equals `Company info` | | ||
| | Trigger - Screen 3 Done | Custom Event | `SurfaceFormStepSubmitted` | `dlv - stepId` equals `Pick a slot` | | ||
|
|
||
| **Steps:** |
Collaborator
There was a problem hiding this comment.
We need images for these steps
| </Frame> | ||
|
|
||
| ## 3. Set Up Google Ads Conversion Tags | ||
| ### Per-step triggers (fire different conversions for different screens) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Mintlify
0 threads from 0 users in Mintlify