Server Call Failed | Community
Skip to main content
December 23, 2021
Solved

Server Call Failed

  • December 23, 2021
  • 2 replies
  • 3318 views

Hi,

 

We have an issue about sending adobe analytics request. 

Most of data are send correctly in our project when page load, thus I'm sure that our code is right.

But there are a few cases where data (all data has the same format) cannot be received when page load, think it's not due to network issue since our page loads normally.

 

Could you please help me about this? Is there any reason for this issue?

 

Thanks

 

 

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 Pablo_Childe

ok so in the case of SPA.

Your dev needs to ensure that from (virtual page to virtual page) or route change he fires the correct page load event. Likely step 2 is missing it or just not firing it.

 

I`m guessing the other events you do see are link click events for example...

 

Ask you dev did you build it so a custom event for page load was defined or did you use a direct call rule? Custom events for page loads are tricky as in the case of SPA events may not trigger as expected when users navigate. I definitely recommend direct call rules for SPA vs custom page load events.

 

 

2 replies

yuhuisg
Community Advisor
Community Advisor
December 23, 2021

For those cases where the data (e.g. eVars) are not sent:

  1. Are you setting your missing data to the correct data points?
  2. Do the missing data rely on data in the page or data layer? If so, could that page/data layer data be missing?
  3. Do you see any errors in your browser console?
  4. If you're using Launch to manage your tags, then enable Launch's console debugging with _satellite.setDebug(true). Reload your page. Do you see all of your expected Rules being fired properly?
dayang99Author
December 23, 2021

Hi, thanks for reply.

 

1. Yes. Since most data can be received correctly.

2. Yes. We push the data to datalayer after page loading, and it always success.

3. No. There's no error in the console, print datalayer in console, no issue.

4. We don't use Launch to manage tags.

 

Thanks

yuhuisg
Community Advisor
Community Advisor
December 23, 2021

Can you share your website?

Pablo_Childe
Community Advisor
Community Advisor
December 23, 2021

Are you using a single page APP?

What type of server environment?

Are you using any akamei or caching on your site?

 

In network console type:

 

/b/ss/

 

do you get multiple adobe beacons for Adobe metrics on this odd page load?

 

 

 

 

dayang99Author
December 23, 2021

Thanks for your reply.

 

Yes, our project is a single page React App.

In the development env, we can't found /b/ss/ request for page loading, but works well for other events.

In the prod env, both page loading and other events works well, and we use single adobe beacons.

 

Now the issue is, in the prod, there're few cases lost some page loading data.

eg. we have data for page1, page3, page4 and so on, but don't have data for page2. And it is not possible to skip page in our project.

 

Thanks!

 

Pablo_Childe
Community Advisor
Pablo_ChildeCommunity AdvisorAccepted solution
Community Advisor
December 23, 2021

ok so in the case of SPA.

Your dev needs to ensure that from (virtual page to virtual page) or route change he fires the correct page load event. Likely step 2 is missing it or just not firing it.

 

I`m guessing the other events you do see are link click events for example...

 

Ask you dev did you build it so a custom event for page load was defined or did you use a direct call rule? Custom events for page loads are tricky as in the case of SPA events may not trigger as expected when users navigate. I definitely recommend direct call rules for SPA vs custom page load events.