Classification for Downloads? | Community
Skip to main content
Level 3
June 17, 2025
Solved

Classification for Downloads?

  • June 17, 2025
  • 1 reply
  • 585 views

Hi, I can't create a Classification for Download links since that "Dimension" does not appear in the dropdown list. How can I solve this? Thanks!

 

 

Best answer by Jennifer_Dungan

I believe that @mjdavid007 is talking about the standard "Download Links" dimension....

 

Unfortunately, some standard dimension don't have classifications available on them.

 

There are two options...

 

1. You can turn off automatic download tracking, and create custom download tracking using custom dimensions that can be classified

 

2. You can add custom dimensions to your automatic download tracking using some code in Do Plugins

s.usePlugins = true; function s_doPlugins(s) { if (s.linkType === 'd') { s.prop1 = "something"; s.prop2 = _satellite.getVar('some data element'); s.events = "event1"; s.linkTrackEvents = "event1"; s.linkTrackVars = s.linkTrackVars ? s.linkTrackVars + ",prop1,prop2" : "prop1,prop2"; } }

Basically, before the beacon is sent, this code will run, and check if the link type is a download link...

 

If it will, you can see whatever dimensions you want (I used prop1 with a literal value, and prop2 pulling a value from a Data Element called "some data element"), as well as attach any events you might want.

 

If you have events, you will need to set the s.linkTrackEvents to include each event, and you will need to set s.linkTrackVars with all the dimensions that you want included in the call...  I did a shortform if statement to doublecheck if there is anything  already set in s.linkTrackVars, and append the new dimensions... or if nothing, make sure that s.linkTrackVars is set to the list of dimensions to include.

 

In my example, this will add prop1, prop2 and event1 onto all the automated download links.

 

If you want to have a simple way to get the Download URL into a custom dimension, you could use Adobe's Dynamic Variable notation:

 

s.usePlugins = true; function s_doPlugins(s) { if (s.linkType === 'd') { s.prop1 = "D=pev1"; s.linkTrackVars = s.linkTrackVars ? s.linkTrackVars + ",prop1" : "prop1"; } }

 

D=pev1 tells Adobe to duplicate the value of Page Event 1 (the downloaded file's URL) into the specified variable, in this case, prop1.

 

Then you can create classifications on Prop1.

1 reply

Josh Stephens
Community Advisor
Community Advisor
June 17, 2025

This typically means that classifications are already set up for that dimension. Check your existing classifications to see if any already exist for download links. Are you also capturing it as an eVar or prop? It's possible some specific dimensions may not allow classifications.

Jennifer_Dungan
Community Advisor and Adobe Champion
Jennifer_DunganCommunity Advisor and Adobe ChampionAccepted solution
Community Advisor and Adobe Champion
June 17, 2025

I believe that @mjdavid007 is talking about the standard "Download Links" dimension....

 

Unfortunately, some standard dimension don't have classifications available on them.

 

There are two options...

 

1. You can turn off automatic download tracking, and create custom download tracking using custom dimensions that can be classified

 

2. You can add custom dimensions to your automatic download tracking using some code in Do Plugins

s.usePlugins = true; function s_doPlugins(s) { if (s.linkType === 'd') { s.prop1 = "something"; s.prop2 = _satellite.getVar('some data element'); s.events = "event1"; s.linkTrackEvents = "event1"; s.linkTrackVars = s.linkTrackVars ? s.linkTrackVars + ",prop1,prop2" : "prop1,prop2"; } }

Basically, before the beacon is sent, this code will run, and check if the link type is a download link...

 

If it will, you can see whatever dimensions you want (I used prop1 with a literal value, and prop2 pulling a value from a Data Element called "some data element"), as well as attach any events you might want.

 

If you have events, you will need to set the s.linkTrackEvents to include each event, and you will need to set s.linkTrackVars with all the dimensions that you want included in the call...  I did a shortform if statement to doublecheck if there is anything  already set in s.linkTrackVars, and append the new dimensions... or if nothing, make sure that s.linkTrackVars is set to the list of dimensions to include.

 

In my example, this will add prop1, prop2 and event1 onto all the automated download links.

 

If you want to have a simple way to get the Download URL into a custom dimension, you could use Adobe's Dynamic Variable notation:

 

s.usePlugins = true; function s_doPlugins(s) { if (s.linkType === 'd') { s.prop1 = "D=pev1"; s.linkTrackVars = s.linkTrackVars ? s.linkTrackVars + ",prop1" : "prop1"; } }

 

D=pev1 tells Adobe to duplicate the value of Page Event 1 (the downloaded file's URL) into the specified variable, in this case, prop1.

 

Then you can create classifications on Prop1.

Level 3
June 18, 2025

Thanks for this useful information! I will do that, although it means I can't use a Classification for all the Download links I have so far.

 

Thsnka again :).