Attentive Tag Destination Config Reference
- free
- growth
- enterprise
5 minute read
Attentive Tag is an SMS and email marketing destination. RudderStack sends identify and track events to Attentive to subscribe users and record their activity.
In an Attentive Tag destination spec:
type: attentive_tagdefinition_version: 1
Sample configuration
version: rudder/v1
kind: destination
metadata:
name: attentive-prod
spec:
id: attentive-prod
display_name: Attentive Production
type: attentive_tag
definition_version: 1
enabled: true
config:
api_key: "{{ .ATTENTIVE_API_KEY }}"
sign_up_source_id: "123456"
enable_new_identify_flow: false
connection_mode:
web: cloud
cloud: cloud
consent_management:
web:
- provider: oneTrust
consents:
- marketingThe above example keeps the legacy subscription flow for identify calls. sign_up_source_id is written as a quoted digit string — see Connection.
Config keys
config accepts only the keys listed below. The shared config key rules cover unknown keys, defaults, and immutability.
Attentive Tag accepts onlyidentifyandtrackevents. RudderStack drops other event types for this destination.
Connection
api_key
RequiredSecretType:
string
Description: API key of the app you created in your Attentive dashboard.
Notes:
- At most 100 characters, and must not contain line breaks.
- A
{{ path || fallback }}template is accepted in place of a literal.
Supply it as a {{ .VAR }} reference rather than a literal — see Secrets.
sign_up_source_id
Type:
string
Description: ID of the sign-up method, from Sign-up Units in your Attentive dashboard, that RudderStack attributes subscriptions to.
Notes:
- Digits only. Quote it in YAML so it stays a string —
"123456", not123456. - A
{{ path || fallback }}template is accepted in place of a literal.
Identify behavior
enable_new_identify_flow
Type:
boolean
Default value:
false
Description:
Sync identify calls through Attentive’s Identity and Custom Attributes APIs instead of the legacy subscribe and unsubscribe flows. The dashboard marks this setting as beta.
Per-source keys
Both keys are objects keyed by the local source type — the tokens listed under Source types. A key naming a source type this destination doesn’t support fails validation.
connection_mode
Type:
object
Description: Maps each source type you connect to the mode its events reach Attentive in, using the modes in Source types.
Notes:
- An entry is required for each source type you connect — see Connect a source.
connection_mode:
web: cloud
cloud: cloudconsent_management
Type:
object
Description:
Consent provider configuration per source type. The entry shape, accepted providers, and the rules on resolution_strategy and consents are shared across all destination types — see Consent management.
Source types
Attentive Tag accepts events from these source types in the mentioned connection modes:
| Source type | Connection mode |
|---|---|
android | cloud |
android_kotlin | cloud |
ios | cloud |
ios_swift | cloud |
web | cloud |
unity | cloud |
react_native | cloud |
flutter | cloud |
cordova | cloud |
cloud | cloud |
warehouse | cloud |
Every source type is cloud only — events reach Attentive from RudderStack’s servers, never in device mode.
warehouse is the token a Reverse ETL source resolves to. Rudder CLI manages the destination’s warehouse entry — if the destination is connected to a Reverse ETL source, set connection_mode.warehouse: cloud in its spec, or apply removes it.
Rudder CLI can also declare the Reverse ETL connection itself, for the types listed under Supported destinations — see Manage Reverse ETL Connections using Rudder CLI.
The dashboard additionally offers Attentive Tag to AMP and Shopify sources. Rudder CLI doesn’t manage those connections, soampandshopifyare invalid here.
Connect a source
An event stream connection to this destination is checked against two rules at validate time.
The source’s type must be supported. A source’s type resolves to one of the tokens above before the check — a JavaScript source resolves to web, and webhook and server-side SDK sources resolve to cloud. Every type an event stream source can resolve to is supported here, so this check always passes.
The destination config must carry a connection_mode entry for that source type. This lives on the destination spec, not on the connection spec. Without it:
destination 'attentive-prod' config has no 'connection_mode' entry for source type 'web'Attentive Tag needs no additional config keys to connect a source of any type.
Secrets
api_key is the only secret key. Write it as a {{ .VAR }} reference and supply the value at apply time:
config:
api_key: "{{ .ATTENTIVE_API_KEY }}"export RUDDER_ATTENTIVE_API_KEY="..."
rudder-cli apply
# or
rudder-cli apply --var-file secrets.vars.yamlNote that:
rudder-cli importwrites only the secrets the API returns, as{{ .VAR }}references, and leaves the others out. Add any secret key it leaves out, then supply the variables before you apply — see Secrets.
See How to Use Variable Substitution in Rudder CLI.
Changes by release
| Version | Change |
|---|---|
| v0.29.0 | Breaking: A null config value, written as key: null, key: ~, or key: with no value, fails validate with '<key>' must not be null; set a value or remove the key. Earlier releases accepted it: a top-level null planned an update on every apply, and a null inside a list item failed at the API.What to do: Remove the key to leave it unset, or give it a value. |
| v0.29.0 | Changed: validate warns when a secret key holds anything but one {{ .VAR }} reference with no default, and when one variable fills two secret keys. It also masks secret values in the lines it prints. |
| v0.29.0 | Changed: rudder-cli import writes each secret reference single-quoted, as '{{ .VAR }}', so a value containing double quotes, like a JSON key file, substitutes as a string. A single quote in a value that fills such a reference is written as ''.What to do: In a spec imported by an earlier release, quote each reference to a JSON value by hand: '{{ .VAR }}'. |
| v0.29.0 | Changed: validate reports a value of the wrong type once per key, such as 'email' must be a string, instead of one raw decoding error. |
| v0.28.0 | Added: warehouse source type, for destinations connected to a Reverse ETL source. Set connection_mode.warehouse: cloud for such a destination, or apply removes the entry. |
For changes across every destination type, see Destination Type Changes by Release.
See more
- Attentive Tag Destination for where to find the API key and sign-up source ID
- Destination Type Reference for Rudder CLI for the rules shared across destination types
- Destination YAML Reference for the spec envelope