Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tracker errors on production #475

Closed
duker33 opened this issue Aug 4, 2018 · 1 comment
Closed

Tracker errors on production #475

duker33 opened this issue Aug 4, 2018 · 1 comment
Assignees
Labels
1 hour typical issue size. It's one pdd hour 1 burning issue bug front markup or work with js report Put it to completed tasks temporary list for business

Comments

@duker33
Copy link
Contributor

duker33 commented Aug 4, 2018

Two points at this task: GaTracker and YaMetric.Ecommerce

  • GaTracker failed to load. Traceback: TypeError: c is not a function in main.js. Main page

Three errors about ecommerce. All's at main js: it because of this
- ecommerce:addTransaction, {id: "DummyId"}

  • ecommerce:send undefined,
  • ecommerce:addItem, {id: "438", name: "Батарейка renata R364 (SR 621SW) SR 60, 1.55 В", quantity: "1"}
@duker33 duker33 added bug 1 hour typical issue size. It's one pdd hour 1 burning issue take it any teammate can take this issue and start working with it front markup or work with js labels Aug 4, 2018
@duker33 duker33 mentioned this issue Aug 4, 2018
2 tasks
@ArtemijRodionov ArtemijRodionov self-assigned this Aug 6, 2018
@ArtemijRodionov ArtemijRodionov removed the take it any teammate can take this issue and start working with it label Aug 6, 2018
@ArtemijRodionov
Copy link
Contributor

ArtemijRodionov commented Aug 6, 2018

Seems, gulp obfuscate the some important block of code.
From main.min.js:

  try {
    c('require', 'ecommerce')  // here should be ga(...) instead of c(...)
  } catch (e) {
    var c = console.error;
    console.error('GaTracker failed to load. Traceback: ' + e)
  }

@duker33 duker33 added the report Put it to completed tasks temporary list for business label Aug 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1 hour typical issue size. It's one pdd hour 1 burning issue bug front markup or work with js report Put it to completed tasks temporary list for business
Projects
None yet
Development

No branches or pull requests

2 participants