Expand my Community achievements bar.

Announcement: Calling all learners and mentors! Applications are now open for the Adobe Analytics 2024 Mentorship Program! Come learn from the best to prepare for an official certification in Adobe Analytics.

use of .shtml has issues tracking campaign IDs

Avatar

Level 1

The Landing Page URL is similar to this : https://www.nissan.it/veicoli/veicoli-nuovi/qashqai/esplora-le-versioni/ve.shtml?cid=psm_cmid=860110...

On landing it auto redirects to 

https://www.nissan.it/veicoli/veicoli-nuovi/qashqai/esplora-le-versioni/configuratore/cfg.shtml/BAbj...

This is common and we still were able to see the campaign tracking when the url was using .html.

However, post changing the web page to .shtml, the campaign tracking gets dropped on the redirects and following pages.

3 Replies

Avatar

Community Advisor

That would be due to the redirect, not the file extension....

 

When pages are redirected, there is no tracking on those "initial touchpoints", only the final page that you land on (first, there's not enough time to execute tracking, and second, you wouldn't want to inflate your server calls by tracking each touchpoint in the redirection chain as PVs).

 

You should check with your development/operations team if they can forward the campaigns during the redirection.. 

 

Example:

  • Initial Linked Page /initial.shtml?cid=x
    • extract ?cid=x and attach to the url that you are redirecting users to
  • Redirected to Page /redirected/?cid=x
    • The ?cid=x is attached to the final destination

 

Or link people to the final URLs with your CID and not go through the redirect....  If these are legacy page to redesigned pages, then you need to build the campaign forwarding into the redirects, or accept that you will lose your campaigns until the new pages become the primary (and any old URLs that may get used will lose attribution <- this is sadly the state I have after our migration last year)

Avatar

Level 1

Hi,

 

Apologies to be unclear , but if you try to click on the below link it will just remove the cid and keep only the URL itself.
Campaign URL : https://www.nissan.it/veicoli/veicoli-nuovi/qashqai/esplora-le-versioni/ve.shtml?cid=psm_cmid=860110...
After clicking on it : https://www.nissan.it/veicoli/veicoli-nuovi/qashqai/esplora-le-versioni/ve.shtml 

So the CID gets removed while the URL Stays

Avatar

Community Advisor

Ok, I tested the above URL, it's not a redirect per se, but your developers are actively removing your querystrings... updating the URL and modifying the browser history.

 

I can see the page returning a 200 response code, not a 301 or 302 etc redirect; so this is some JavaScript that they are running... likely because this page is a 404 page (though why it's not returning a proper 404 error code I'm not sure).

 

Other pages on the site seem to retain the CID values... You will have to raise this issue with your developers... it's their code that is causing this issue... It's not an issue with Adobe Analytics itself.

 

Good Luck!