Data Layer file showing as 404 | Community
Skip to main content
deanfp
November 28, 2017
Solved

Data Layer file showing as 404

  • November 28, 2017
  • 2 replies
  • 1867 views

Hi

One of our clients have stopped receiving E-Commerce tracking on their site. The checkout url that it was on has since changed. We have the Adobe Analytics tag on the page but there is still no data being captured.

When looking at the Data LAyer javascript file this is showing as 404 pages. Being quite a newby to Analytics and DTM is there any way the data layer can be re-created or shown?

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 PratheepArunRaj

Dear Dean,

If you are using DTM (Hosted in Adobe Akamai), kindly updated the DTM code with proper data layer enabled i.e. Edit the property and recreate the data elements if needed.

If you are using DTM (Hosted in your Domain), do the above changes and deploy it in your server to map the data layer javascript properly.

Thank You!

Arun

2 replies

PratheepArunRaj
Community Advisor and Adobe Champion
PratheepArunRajCommunity Advisor and Adobe ChampionAccepted solution
Community Advisor and Adobe Champion
November 29, 2017

Dear Dean,

If you are using DTM (Hosted in Adobe Akamai), kindly updated the DTM code with proper data layer enabled i.e. Edit the property and recreate the data elements if needed.

If you are using DTM (Hosted in your Domain), do the above changes and deploy it in your server to map the data layer javascript properly.

Thank You!

Arun

Thank You, Pratheep Arun Raj B (Arun) | Xerago | Terryn Winter Analytics
zaned72942122
Level 2
December 5, 2017

I would put my money on the issue with e-commerce tracking disappearing having everything to do with your 404 page for the data layer file.  You also mentioned that the URL structure has changed for the order confirmation page.  Without knowing your current DTM setup, we can't really provide a thorough enough answer.  The data layer is just a JSON object with an arbitrary name that holds key data points needed to maintain and sustain a successful analytics setup.  How your DTM setup grabs these data points is what the question is so far.  And, if your data layer is created through a file that is now receiving a 404 error, that should be the first thing you check for.  Is your src value misspelled?  Are you in the correct directory? Does the file even exist anymore?