Wordpress Stripping CANDDi Tracking Code

Follow

If your website is on Wordpress and you've downloaded the CANDDi Wordpress plugin to install the CANDDi tracking code, but have found that identification isn't happening where it should (email click throughs, CANDDi Capture can't be set live etc), it's due to Wordpress stripping the query string from the URL's.

 

As an example, you have an email campaign with a CANDDi tracked hyperlink that looks like so:

https://www.examplehere.com?ce=daniel@canddi.com&cfn=daniel&cln=bignell

However, when clicked it ends up showing in the URL:

https://www.examplehere.com

 

This isn't pulling through the identities needed. The reason this is happening is to do with Wordpress' security which attempts to rewrite any complex URL's that has parameters that it doesn't recognise. It's also affected by server-side redirects - these happen when a website is forced to load a website without "www." first i.e. examplehere.com?ce=daniel@canddi.com&cfn=daniel&cln=bignell.

Wordpress caches your website's pages based on their respective URL's, and attempts to exclude URL's that it doesn't recognise as and when they come through via re-directs.

 

To avoid this, when you're copying in your tracker ID into the CANDDi Wordpress plugin, you should notice an "apply fix" tick box within the plugin (see image below)

 

Screen_Shot_2017-06-21_at_09.35.07.png

 

This should prevent Wordpress from stripping the URL's that it doesn't recognise, even from a server-side redirect. Keeping the query strings in tact as they're needed to identify, you shouldn't lose any of those people. 

Any questions about this feel free to drop a line, or give us a call on 0161 414 1080

 

Have more questions? Submit a request

Comments