- TLC Home Home
- Discussions Discussions
- Documentation Documentation
- Knowledge Base Knowledge Base
- Education Education
- Blog Blog
- Support Desk Support Desk
09-27-2022 09:11 AM
Is there a simple way to call a variable from the AudienceStream into a pixel?
I currently have a Querystring Parameter in the Data Layer set up to capture a click ID from a URL.
On the AudienceStream side, I have a Visitor Attribute that sets when aggregatorClickKey is not empty. This should allow the click ID to persist all the way through until the visitor becomes a conversion, at which point the conversion pixel will fire.
The learning center gives the following notation examples for setting dynamic variables within a pixel:
Is there a way to implement this type of notation using Visitor Attribute variables from the AudienceStream, perhaps maybe using the UID (Attribute ID)?
10-03-2022 12:45 PM
If you have data layer enrichment enabled, you can use the "va" variable associated with the AudienceStream attribute to populate your pixel. You'll need to know the attribute type and ID to properly identify the variable in the data layer. For example, "va.metrics.3542" would correlate to a number attribute with the ID #3452.
Once you have the correct variable identified, you can reference it using "@@va.metrics.3542@@" in your pixel.
Copyright All Rights Reserved © 2008-2023