Page 1 of 1

Exclude one particular link from Google Tracking Code

PostPosted: 11:56am, Thu 31 Jul, 2014
by Jappie
Hi,

I've just upgraded from a heavily customised version 2.10.12 to the latest 3.0.6. I've not really wanted to as I'm afraid many customisations won't be easy to migrate to the new platform, however a PHP upgrade has basically forced me to.

On to the good bits; I've tested and analysed the Google Tracking Code for campaigns, which seems a really interesting new feature. However... one of my links (which is pointing to an online demo of a python server) doesn't like the additional Analytics paramaters at the end of the link and actually chokes on them.

Any way of excluding the Google Tracking for one particular link using some sort of switch? Or - but it's a bit off topic in this forum - if there are some really python savvy people in this community, how can I configure the server to just neglect the additional parameters?

Code: Select all
http://demo-link.com/login?login=demo&key=demo&utm_source=emailcampaign448&utm_medium=phpList&utm_content=HTMLemail&utm_campaign=Faites+comme+la+Suisse%2C+f%C3%A9d%C3%A9rez+vos+donn%C3%A9es+%28pour+la+rentr%C3%A9e%29

Internal Server Error

{"message": "WebClient Error", "code": 300, "data": {"debug": "Client Traceback (most recent call last):\n File \"http.py\", line 276, in dispatch\n r = method(self, **self.params)\nTypeError: login() got an unexpected keyword argument 'utm_campaign'\n", "type": "client_exception"}}