Expand my Community achievements bar.

SOLVED

Maximum call stack size exceeded

Avatar

Level 2

I seem to randomly get this error in the console and of course nothing fires. It seems to only happen on the first request into _satelitte and occurs on the getVar() function.

I cannot duplicate so unfortunately can't trace or set break points

Anyone else experience this or have an idea as to cause?

Thnx
Jeff

1 Accepted Solution

Avatar

Correct answer by
Level 10

It looks like this error can be caused by a number of JavaScript errors.

Internally, we've seen that error when the doPlugins runs more than once before a tag fires. Sometimes if two tags fire immediately one after another, we've also seen it. Could either of these situations be true for your site?

View solution in original post

11 Replies

Avatar

Level 10

Hi Jeff,

Do you have a URL where we can see this error? Also, how are you deploying DTM? Are the embed tags statically included on the page or are they dynamically inserted?


Thanks,
Jantzen

Avatar

Level 10

Hi Jeff,

Did you still need assistance with this issue? If not, would you mind posting the solution you found in case others face the same problem?

Thanks,
Jantzen

Avatar

Level 2

I am not able to reproduce on demand so providing URLs will not be productive. It happens on a random basis

Thnx

Jeff

Site Optimization, Analytics and Reporting Principal

Avatar

Level 10

Understood. I'll leave this questions open in case others have seen anything.

Avatar

Level 2

Just happened again on first page in session, console screen shot attached. Reload page and all is good

Thnx

Jeff

Site Optimization, Analytics and Reporting Principal

Avatar

Level 10

I'm not seeing the screenshot? Can you try attaching it again?

Avatar

Level 2

And just got another one on first page reload. But it does not happen on every first page

MaxCallStack2.png

Avatar

Level 2

If you want you can try to replicate here, seems to be happen more frequently

https://wl64-int.sabresonicweb.com/dx/MNDX/#/home

Avatar

Correct answer by
Level 10

It looks like this error can be caused by a number of JavaScript errors.

Internally, we've seen that error when the doPlugins runs more than once before a tag fires. Sometimes if two tags fire immediately one after another, we've also seen it. Could either of these situations be true for your site?

Avatar

Level 2

I’ll have to pour through the code to see. At least it seems to only occur on the first hit for a session so that limits the rules, data elements and events I need to look through

Thanks for your help