What Types of Strings can we put in global variables? will JS fire? | Community
Skip to main content
October 16, 2015
Solved

What Types of Strings can we put in global variables? will JS fire?

  • October 16, 2015
  • 2 replies
  • 1472 views

I am particularly trying to popular an evar with a query parameter.

 

Such as http://mysite.com?internalID=CollectMe

and assign a global variable on the applicable conditions to grab the collect me.

 

 

THANKS!

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by jhammons-1

Hi Eddie, you need to define a data element to capture the query parameter. (the link is in the left nav on the rules page).

name: whatever you want to call it, for example internalID .

type: URL Parameter

parameter name: internalID

Remember for: Up to you, you might want to do visitor here.

After that is set up, on the page in your screenshot, you reference this data element using %internalID%.

2 replies

AkhilSharma
Level 4
October 16, 2015

Hi Eddie,

Please refer to two of docs below:

1) Analytics Variables (https://microsite.omniture.com/t2/help/en_US/sc/implement/index.html#Analytics_Variables)

2) Variables - How They Are Used in Reporting (https://microsite.omniture.com/t2/help/en_US/reference/index.html#Variables__How_They_Are_Used_in_Reporting)

 

Hope this would solve your query. Let me know if its doesn't

 

Thanks and Regards

Akhil

jhammons-1Adobe EmployeeAccepted solution
Adobe Employee
October 16, 2015

Hi Eddie, you need to define a data element to capture the query parameter. (the link is in the left nav on the rules page).

name: whatever you want to call it, for example internalID .

type: URL Parameter

parameter name: internalID

Remember for: Up to you, you might want to do visitor here.

After that is set up, on the page in your screenshot, you reference this data element using %internalID%.