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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

DTM: Store Library Version as eVar?

paulinab5551861
Level 2
Level 2

Hi!

Has anyone been successful in tracking the latest Analytics version via DTM? been assigned to either track this as a data element  + setting it to an eVar or setting this in the global custom code/or rule?? Many thanks for the guidance with this.

Haven't been able to make it work via the recommendations I've seen online.

I found this recommendation: _satellite.getToolsByType('sc')[0].getS().version - I can see it in console but it doesn't work when I set it in DTM.

Thanks for any insight and guidance

Paulina

1 Accepted Solution
salimj
Correct answer by
Level 3
Level 3

You may want to consider these other commands:

s.version (change "s" to your custom object name if you've changed the default tracker.

s_c_il[0].version - where 0 represents the . position in the array for each software version you're trying to capture

View solution in original post

0 Replies
salimj
Correct answer by
Level 3
Level 3

You may want to consider these other commands:

s.version (change "s" to your custom object name if you've changed the default tracker.

s_c_il[0].version - where 0 represents the . position in the array for each software version you're trying to capture

View solution in original post