Menu

Unchecked runtime.lastError: The message port closed before a response was received.

 While working with any JS framework we may encounter the error Unchecked runtime.lastError: The message port closed before a response was received. on the console of Chrome browser but not on any other browser.

Cause of Issue:

This we may experience if we have an extension installed in the Chrome browser. That extension is triggering events and looking for some information from the web page.

Resolution:

Remove the extensions from the Chrome browser.


Reference


Adobe Analytics - Virtual report suites

Adobe Analytics virtual report suites segment our Adobe Analytics data so that we can control access to each segment. The virtual report suite inherits the data from the global report suite. For example, if we would like to manage the web and mobile Analytics data into a single report suite and all data are flowing into a global report suite, but to segregate those data further those data also flowing into smaller report suites. We set a variable to multiple report suites, and send their data to more than one report suite. This is referred to as multi suite tagging or base/parent report suites.

So, the purpose is to send the data to one report suite, which then is divided according to segments. And based on that segment we can control the access of Analytics data like what information should visible to a particular Analytics user.

Benefits of using Virtual report suites

  1. Simplify implementation by allowing you to use a single Report Suite ID (RSID) across all sites/domains. Having all data in a single report suite enables customer analytics as we move toward the next generation of Adobe Analytics.
  2. Business users in your organization always see only the data segments that are relevant to them.
  3. Improve security by allowing Admin users to control data access more easily and more granularly after implementation.
  4. Provide the ability to participate in Device Co-op
  5. People metric
  6. A single-customer view of data (in the future)
  7. The ability to create unlimited virtual report suites to segment out data

Reference:

Uncaught SyntaxError: Unexpected token const

const may already be written in your code which is not terminated. Please terminate that first using a semicolon(;) and then declare a const again.

OR

Use the same first const and for the second constant declaration simply write the constant name and assign value without using the const keyword.