Retaining Campaign tracking parameter on redirect | Community
Skip to main content
August 28, 2024
Solved

Retaining Campaign tracking parameter on redirect

  • August 28, 2024
  • 3 replies
  • 839 views

Hi Community, 

 

This might be a classic old question, but we have certain deep links which contain campaignID query parameter and these are sent to users via email. Now, when users click on the link and land on our website, there is a redirect happening and query params are dropped during this time. Is there a way that we can get this value of campaignID query param before the redirection? Currently, it is not going through Adobe Analytics and we cannot do reports for the same. 

 

Any help is highly appreciated. 

 

Many thanks

Best,

Rupal

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Jennifer_Dungan

Unfortunately, the nature of how redirects work, the only solution is to get your developers to forward those values through to the page that ends up being tracked. (like both @krishna_musku and @isha__gupta said for their implementations)

 

If the redirection is server side, your scripts won't even attempt to load (the actual page won't even start to trigger for the user), if the redirect is client side, it still has to be run ASAP to prevent usability/experience issues, and thus your scripts will never have a chance to run / finish before being sent to the new page.

3 replies

Isha Gupta
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
August 28, 2024

Hi @rupalja ,

 

We had the same issue but we had to ask the developers to work on keeping the parameters on redirected URL. Hoping someone has a better solution here. 🙂

 

Best,

Isha

Krishna_Musku
Community Advisor
Community Advisor
August 28, 2024

Exactly like @isha__gupta We also had the similar issue with the redirects, we did passed the parameters to the redirect from the old URL with the help of devs.

Jennifer_Dungan
Community Advisor and Adobe Champion
Jennifer_DunganCommunity Advisor and Adobe ChampionAccepted solution
Community Advisor and Adobe Champion
August 28, 2024

Unfortunately, the nature of how redirects work, the only solution is to get your developers to forward those values through to the page that ends up being tracked. (like both @krishna_musku and @isha__gupta said for their implementations)

 

If the redirection is server side, your scripts won't even attempt to load (the actual page won't even start to trigger for the user), if the redirect is client side, it still has to be run ASAP to prevent usability/experience issues, and thus your scripts will never have a chance to run / finish before being sent to the new page.