From 3d92ae560821c2e59d41bfbafcfb2ffcb357a25b Mon Sep 17 00:00:00 2001
From: Dallas Reedy <dreedy@gitlab.com>
Date: Mon, 28 Feb 2022 09:13:12 +0000
Subject: [PATCH] Add information about ctaTracking attrs to the PQL Guide

---
 doc/development/product_qualified_lead_guide/index.md | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/doc/development/product_qualified_lead_guide/index.md b/doc/development/product_qualified_lead_guide/index.md
index f9d18bacecda4..57fd8e70dd04e 100644
--- a/doc/development/product_qualified_lead_guide/index.md
+++ b/doc/development/product_qualified_lead_guide/index.md
@@ -35,6 +35,7 @@ The hand-raise lead form accepts the following parameters via provide or inject.
 
 ```javascript
     provide: {
+      small,
       user: {
         namespaceId,
         userName,
@@ -43,9 +44,18 @@ The hand-raise lead form accepts the following parameters via provide or inject.
         companyName,
         glmContent,
       },
+      ctaTracking: {
+        action,
+        label,
+        property,
+        value,
+        experiment,
+      },
     },
 ```
 
+The `ctaTracking` parameters follow [the `data-track` attributes](../snowplow/implementation.md#data-track-attributes) for implementing Snowplow tracking. The provided tracking attributes are attached to the button inside the `HandRaiseLeadButton` component, which triggers the hand-raise lead modal when selected.
+
 ### Monitor the lead location
 
 When embedding a new hand raise form, use a unique `glmContent` or `glm_content` field that is different to any existing values.
-- 
GitLab