I am very new to DTM and am working on implementing Adobe Analytics in our staging environment. I am using just the base s_code, and am building things up a little at a time. I have some basic evars and props working fine, but I am currently having a problem where all internal links are being detected as external (everything is lnk_e), even though the subdomain is identical from link to link.
I have "Track Outbound Links" checked in the Link Tracking tab, but nothing in the "Always Track" box. Do I need to enter anything there? I can't find any documentation for what that actually does.
In Edit Property, I have only the single subdomain (call it stage.mysite.org) listed, and do not have "spans multiple domains" checked.
Do I have a conflict somewhere? I don't really understand what I need to set in settings and what needs to be set in s_code -- and what overrides what or conflicts with what.
We're currently exploring a potential conflict between setting s.linkInternalFilters in the hosted s_code versus in the available UI field 'Never Track' under 'Link Tracking' in your Adobe Analytics tool settings in DTM. You should be able to workaround this by entering the values you wish to set for s.linkInternalFilters as entries in the 'Never Track' field.
I hope this helps! Just let me know if I've misunderstood the issue you're encountering in any way or if you have any questions.
while in DTM, the list of domains in Never Track are few more in addition to the ones declared in the s_code.
However, its worth noting that there are no exit links triggering in my staging servers, but only in the live site domain. It's the same property and so uses the same list of domains entered either in DTM Never Track list or s_code.
I am still checking where the issue could be. Any pointers would be great.
Hi Deep, When you view one of your pages, have you looked at what is being set in s.linkInternalFilters? You can look at the value in the console and see if the link's domain is missing. See if it is the same as what's in your s_code, or if the DTM version is overwriting it. (That's what was happening to me.)
Looking at what it is set fr s.linkInternalFilters might help figure out where the problem is.
Thanks, Anna! That is exactly what I ended up doing before anyone replied. That did the trick.
I removed all code for the Link Tracking Config in the basic s_code I am using, and set them using the settings instead. Worked like a charm.
Perhaps I'll do a bit of testing to see what happens if I have conflicting info in the settings versus the s_code. But considering the s_code settings were not doing anything, I'm not sure there will be a conflict for me.