s.eVar1 = "D=mid"; Community Manager Addition:When using this solution you won't see the mid in the image request as this method takes advantage of dynamic variables. These are processed server side when the hit is processed into Analytics. You can read more on dynamic variables here.