Hi All,
I have been debating the use of global variables in DTM but wanted some concrete answers.
Questions:
Solved! Go to Solution.
Hi,
1) The global variables section should be used for global values that should be included on every page view or s.t() beacon. Page load rules should then supplement the global variables based on conditional logic. As far as pros on cons, there aren't any noticeable performance gains that I've seen. Doing it the way I've described is how the system was designed so it's usually best to use the product in that way for updates and migrations.
2) According to the documentation, it populates the server variable for the Servers report in Analytics. Personally, I haven't seen that many customers using it. Gigazelle - Do you have any information on the Servers report in Analytics. It looks like the documentation may have moved.
3)This is in case you've changed your dynamic variable prefix in Analytics. The default is "D=" - More about Dynamic Variables here.
Thank you,
Jantzen
Hi,
1) The global variables section should be used for global values that should be included on every page view or s.t() beacon. Page load rules should then supplement the global variables based on conditional logic. As far as pros on cons, there aren't any noticeable performance gains that I've seen. Doing it the way I've described is how the system was designed so it's usually best to use the product in that way for updates and migrations.
2) According to the documentation, it populates the server variable for the Servers report in Analytics. Personally, I haven't seen that many customers using it. Gigazelle - Do you have any information on the Servers report in Analytics. It looks like the documentation may have moved.
3)This is in case you've changed your dynamic variable prefix in Analytics. The default is "D=" - More about Dynamic Variables here.
Thank you,
Jantzen
The Server field populates the variable in legacy code known as s.server, which is basically a slightly glorified traffic variable.
The Pages Report, Site Section Report, and Server Report are commonly grouped together. Not too many people use the Site Section or Servers Report these days though, now that eVars have had their functionality greatly expanded over the last couple years. Personally if I had the choice between using the server variable and an eVar, I'd use the eVar every time without question.
Hi Gigazelle,
Thank you for the perfect answer to my question about the server field. I agree eVars are the way to go
just want to make sure we are not missing any wasted opportunities in these areas.
Views
Replies
Total Likes
thank you for clarifying the Global variables section and the right way is just using the system how it was designed is the best approach.
thanks again for all your help,
Scott
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies