Commit c106c746 authored by Kati Paizee's avatar Kati Paizee

Merge branch 'dreedy-update-pql-guide-docs' into 'master'

Add information about ctaTracking attrs to the PQL Guide

See merge request gitlab-org/gitlab!80695
parents cffb21e8 3d92ae56
......@@ -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.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment