adding custom links with custom mid insert and encoding for linkshare test