Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Global Variables Questions

Avatar

Avatar
Validate 25
Level 4
scottt6073095
Level 4

Likes

66 likes

Total Posts

102 posts

Correct Reply

3 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 50
Boost 5
View profile

Avatar
Validate 25
Level 4
scottt6073095
Level 4

Likes

66 likes

Total Posts

102 posts

Correct Reply

3 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 50
Boost 5
View profile
scottt6073095
Level 4

15-06-2017

Hi All,

I have been debating the use of global variables in DTM but wanted some concrete answers.

Questions:

  1. Should DTM admins use the global variables section to set variables that will be used globally versus just adding it as a page load rule. What are some pros and cons. Is there page load savings or merely organizational?
  2. What exactly does the server area used for and do? Does it have a use case?
  3. Dynamic variable prefix, what exactly is this doing and how to setup and again what are some use cases for using this field?

Global.JPG

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Validate 1000
Community Manager
jantzen_belliston-Adobe
Community Manager

Likes

339 likes

Total Posts

2,331 posts

Correct Reply

819 solutions
Top badges earned
Validate 1000
Springboard
Validate 500
Validate 250
Validate 100
View profile

Avatar
Validate 1000
Community Manager
jantzen_belliston-Adobe
Community Manager

Likes

339 likes

Total Posts

2,331 posts

Correct Reply

819 solutions
Top badges earned
Validate 1000
Springboard
Validate 500
Validate 250
Validate 100
View profile
jantzen_belliston-Adobe
Community Manager

15-06-2017

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

Answers (3)

Answers (3)

Avatar

Avatar
Coach
Employee
Gigazelle
Employee

Likes

473 likes

Total Posts

1,947 posts

Correct Reply

740 solutions
Top badges earned
Coach
Contributor 2
Validate 1
Ignite 80
Ignite 70
View profile

Avatar
Coach
Employee
Gigazelle
Employee

Likes

473 likes

Total Posts

1,947 posts

Correct Reply

740 solutions
Top badges earned
Coach
Contributor 2
Validate 1
Ignite 80
Ignite 70
View profile
Gigazelle
Employee

15-06-2017

The Server field populates the variable in legacy code known as s.server, which is basically a slightly glorified traffic variable.

Servers Report

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.

Avatar

Avatar
Validate 25
Level 4
scottt6073095
Level 4

Likes

66 likes

Total Posts

102 posts

Correct Reply

3 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 50
Boost 5
View profile

Avatar
Validate 25
Level 4
scottt6073095
Level 4

Likes

66 likes

Total Posts

102 posts

Correct Reply

3 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 50
Boost 5
View profile
scottt6073095
Level 4

16-06-2017

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

Avatar

Avatar
Validate 25
Level 4
scottt6073095
Level 4

Likes

66 likes

Total Posts

102 posts

Correct Reply

3 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 50
Boost 5
View profile

Avatar
Validate 25
Level 4
scottt6073095
Level 4

Likes

66 likes

Total Posts

102 posts

Correct Reply

3 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 50
Boost 5
View profile
scottt6073095
Level 4

16-06-2017

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.