Could I re-use variables | Community
Skip to main content
cathyw49544988
Level 5
August 28, 2017
Solved

Could I re-use variables

  • August 28, 2017
  • 2 replies
  • 2205 views

I am new to DTM and adobe analytics. I took some trainings about DTM and Adobe analytics. I am still feel pretty confuse about "could I re-use the variables". For example if I decided to assign eVar1 = productID in a property, could I use eVar1 for something else in other property?

Is eVar/ prop unique in a property or report suite? If so, what's the best way to track which eVar/prop have been used for what?

Also for all the eVars or Props, is there guidance which variables should use for which kind of event/ values?

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 Rudi-Shumpert

You can reuse variables but not in the way you are thinking.  Setup Data Elements within DTM to do this. 

You can have a Data Element named "ProductID".  Then within analytics you set eVar1 (or whatever variable) to %ProductID% and then you can use that Data Element for any other var or tool or tag that you are using DTM to deploy.

Data Elements  -- See this link for more info on Data Elements.

2 replies

jantzen_b
Adobe Employee
Adobe Employee
August 28, 2017

All props and eVars are unique per report suite. DTM should be setup to match the setup in the Analytics account that the property is reporting into. If you've got one site reporting into multiple report suites, you would want to coordinate variable usage.

As for your second question, props are instance variables and eVars have the ability to have persistence. With that said, I'd suggest asking the second question in the Analytics community where you'll have an Analytics focused audience viewing and responding to your question. They can likely give you a more detailed answer on the differences and possibly give you suggestions/examples.

Adobe Analytics

Rudi-Shumpert
Adobe Employee
Rudi-ShumpertAdobe EmployeeAccepted solution
Adobe Employee
August 29, 2017

You can reuse variables but not in the way you are thinking.  Setup Data Elements within DTM to do this. 

You can have a Data Element named "ProductID".  Then within analytics you set eVar1 (or whatever variable) to %ProductID% and then you can use that Data Element for any other var or tool or tag that you are using DTM to deploy.

Data Elements  -- See this link for more info on Data Elements.