No.
There is no strong scientific evidence to support that athletes need to add electrolytes during activities. Electrolytes can be used at the athlete's discretion during hard training, racing, or in warm conditions. If you want to add electrolytes, add them for your recovery, but they should not be used in immediate conjunction with Maurten products.
Furthermore, many electrolytes (magnesium, potassium, calcium, sodium) attract alginate molecules, thus creating a competitive environment where fewer alginate molecules will be able to create cross-links with hydrogen ions in the stomach (i.e. the hydrogel strength will be influenced).