- TLC Home Home
- Discussions Discussions
- Documentation Documentation
- Knowledge Base Knowledge Base
- Education Education
- Blog Blog
- Support Desk Support Desk
07-14-2014 01:42 PM - last edited on 10-07-2015 04:54 PM by akshata_yerdoor
I have an extension setup to control the opinionlab invitation survey. There is a section in the extension to list out the customvars I want to capture and I need to reference elements that are in my datasources. What would be the best way to reference datasource values in the below snippet.
customVariables: {
s_vi: s_vi
}
Solved! Go to Solution.
07-14-2014 02:40 PM - last edited on 10-07-2015 04:57 PM by akshata_yerdoor
Hi Joe, I believe you are looking for this:
customVariables: {
s_vi: b["js_page.s_vi"]
}
For future reference:
Normal data sources
b.variable
Javascript Page Variable
b["js_page.variable"]
Meta Tag
b["meta.variable"]
Querystring Parameter
b["qp.variable"]
Cookie Value
b["cp.variable"]
07-14-2014 10:07 PM - last edited on 10-07-2015 04:58 PM by akshata_yerdoor
Copyright All Rights Reserved © 2008-2023