Tag potting process for electronics