Expand my Community achievements bar.

Join us for the next Community Q&A Coffee Break on Tuesday April 23, 2024 with Eric Matisoff, Principal Evangelist, Analytics & Data Science, who will join us to discuss all the big news and announcements from Summit 2024!
SOLVED

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

Avatar

Level 1

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!

1 Accepted Solution

Avatar

Correct answer by
Employee

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%.

View solution in original post

2 Replies

Avatar

Level 4

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_Re...)

 

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

 

Thanks and Regards

Akhil

Avatar

Correct answer by
Employee

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%.