I’ve got some inbound links on external sites that I need to track (using UTM source/medium/campaign on Google Analytics). I’ve entered the links using & on the site in question but when the URLs are output they’re changed to &. The visitor gets to the content but Analytics doesn’t track the source/etc.
Is there a way to use mod rewrite in the .htaccess file to replace & with &?
According to Uniform Resource Identifiers (URI): Generic Syntax, & is a reserved character (which may only be used in a query string). IMHO, you’d be best to make the & to & conversion within the receiving script (before accessing the database).