Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

Multiple Analytics calls on page

haddnin
Level 2
Level 2

To Roman's point, I'm getting multiple(2) calls to Analytics servers if I add the _satellite.pageBottom() just before the closing body tag.

1 Accepted Solution
haddnin
Correct answer by
Level 2
Level 2

I think you can close this discussion. It's Adobe Analytics Debugger extension that's falsely throwing duplicate calls. When I see the duplicate call in Adobe Analytics Debugger, Fiddler is only showing a single call, and the pages report is reporting a single page view. As of now, I only have a single page name rule in DTM.

View solution in original post

10 Replies
jantzen_belliston-Adobe
Community Manager
Community Manager

Hi,

I've branched this into a new question so we can try and debug. Can you share a URL where this is happening?

Thanks,
Jantzen

haddnin
Level 2
Level 2

Unfortunately I cannot. It's in a dev environment and can't deploy it until it's working properly. I'm using Chrome DevTools with Adobe Analytics Debugger to test my implementation. Working with Fiddler to verify multiple calls.

jantzen_belliston-Adobe
Community Manager
Community Manager

Do you have existing s_code or AppMeasurement code that remains on the site after you moved to DTM? Also, can you verify that there isn't two pageBottom calls in the code after everything has been loaded? Is the page bottom code being dynamically injected to the page or statically loaded?

haddnin
Level 2
Level 2

We were using an old H.26 s_code, but it has been completely removed. I verified that there is only one pageBottom call in the code after everything has loaded. The pageBottom code is statically loaded.

So, here's the weird thing, it doesn't always make 2 calls when I reload the page; just sometimes. I'm starting to think that the Adobe Analytics Debugger Chrome extension may be messing with me.

Update: I just verified with Fiddler that only one call is being made when I see two calls on Adobe Analytics Debugger Chrome extension.

haddnin
Level 2
Level 2

Also, if I remove the pageBottom code, it's still making the call to the analytics server. Just one call consistently.

jantzen_belliston-Adobe
Community Manager
Community Manager

If you are questioning the debugger, you can always just use the network tab in your browser's dev tools. I'd suggest filtering the requests for "b/ss/".

If you remove the DTM header code do you still see a beacon? If so, there is something outside of DTM causing the other beacon. If you remove the header and the beacons stop, we may need to dive deeper into your DTM implementation. Is you Analytics tool library managed by Adobe or is it custom?

haddnin
Level 2
Level 2

Thanks for the filter tip on the dev tools.

I removed the DTM header code, and got _satellite is not defined. Then, I removed the pageBottom code and got nothing. Our implementation is custom. I did verify that when I'm seeing duplicates in calls, I'm only seeing one page view in Adobe Analytics.

I guess the mystery still remains; why is the call still being made with pageBottom code?

jantzen_belliston-Adobe
Community Manager
Community Manager

I would expect a single Analytics beacon from your page when DTM is deployed (assuming no other rules are firing other beacons).

When you see multiple beacons, are any rules firing? You can see which rules fire via the console with the  DTM debugger being set to debug. I'm trying to narrow down where the duplicate beacon is being generated. If no rules are firing, we know it's coming from a tool. If rules are firing, we need to check those rules.

haddnin
Correct answer by
Level 2
Level 2

I think you can close this discussion. It's Adobe Analytics Debugger extension that's falsely throwing duplicate calls. When I see the duplicate call in Adobe Analytics Debugger, Fiddler is only showing a single call, and the pages report is reporting a single page view. As of now, I only have a single page name rule in DTM.

View solution in original post

jantzen_belliston-Adobe
Community Manager
Community Manager

Perfect. I've marked your discovery as the correct answer in case others face the same issue.