Expand my Community achievements bar.

Submissions are now open for the 2026 Adobe Experience Maker Awards
SOLVED

Anchor Links and campaign tracking code

Avatar

Adobe Champion

Hello Community,

 

On a URL, I want to add an anchor link, plus a campaign tracking code, but on doing so and loading the URL, most of the time the section of the page that we intend to anchor and load is not showing unless the page is cached in the browser- basically i have to load the page twice to see the anchored section. Any suggestions?

 

https://www.deloitte.com/ca/en/about/story/impact/impactthatmatters.html?id=deb_test#podcast

 

Thanks

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor and Adobe Champion

Hey @debwilliam!

 

Interesting... I checked the site, your link works for me (I am properly taken to the podcasts section) on the initial load (I even test on incognito).

 

I can also see your code being tracking in eVar0/Campaign Codes.

 

Clicking around the site, it doesn't seem to be an SPA, but there may be SPA elements....

 

Is the intention for this link to be an internal link? If so, there are two things:

1. Where in the site is it linked from, as that might be impacting the functionality (like an SPA experience within the site, or maybe something else causing an issue)

2. If this is an internal link, I would not use your eVar0/Tracking Code which is supposed to be for external campaigns to track this, but to set up a separate custom Internal Tracking Code dimension. External and Internal Codes should be kept separate because fundamentally they represent different things... one is telling you how people entered the site, and what ways they re-entered from external sources during their visit... vs internal campaigns which look at how you are funneling people internally to your content.

View solution in original post

5 Replies

Avatar

Community Advisor

Hi @debwilliam 

this sounds more like an implementation question to your developers.

Your URL structure is correct. 

By any chance, are you using a single page application that may struggle to properly initialize with your campaign query parameter?

 

Cheers from Switzerland!


Avatar

Correct answer by
Community Advisor and Adobe Champion

Hey @debwilliam!

 

Interesting... I checked the site, your link works for me (I am properly taken to the podcasts section) on the initial load (I even test on incognito).

 

I can also see your code being tracking in eVar0/Campaign Codes.

 

Clicking around the site, it doesn't seem to be an SPA, but there may be SPA elements....

 

Is the intention for this link to be an internal link? If so, there are two things:

1. Where in the site is it linked from, as that might be impacting the functionality (like an SPA experience within the site, or maybe something else causing an issue)

2. If this is an internal link, I would not use your eVar0/Tracking Code which is supposed to be for external campaigns to track this, but to set up a separate custom Internal Tracking Code dimension. External and Internal Codes should be kept separate because fundamentally they represent different things... one is telling you how people entered the site, and what ways they re-entered from external sources during their visit... vs internal campaigns which look at how you are funneling people internally to your content.

Avatar

Community Advisor and Adobe Champion

Hi @debwilliam,

Same experience as @Jennifer_Dungan.  It's working fine for me as well.  Perhaps it's because we are all external from your system?  Of course, Jen is saying everything I would about the Campaign tracking.  That's pretty standard, so let us know what you're seeing.

Thanks!

Avatar

Adobe Champion

Thank you @Jennifer_Dungan and @jeff_bloomer i think it was some caching issue on my side. All good, I ran it again after both of you confirmed. Appreciate the input. 

Avatar

Community Advisor and Adobe Champion

Glad it started working for you! I hate when random functional bugs make me lose my sanity, lol.