Zaraz Circular Reference Error with Clarity

For Workers & Pages, what is the name of the domain?

What is the error message?

TypeError: Converting circular structure to JSON

What is the issue or error you’re encountering

We’re experiencing a circular reference error in JSON.stringify when Microsoft Clarity is enabled

What steps have you taken to resolve the issue?

What We’ve Tried

  1. Disabling and re-enabling Clarity in isolation to CrazyEgg
  2. Re-enabling a Google Tag via GTM for conversion success
  3. Clearing browser cache
    We’re also working on

What are the steps to reproduce the issue?

Steps to Reproduce

  1. Enable Microsoft Clarity in Zaraz
  2. Load any page on our website
  3. Observe the circular reference error in browser console

Impact
This error is preventing Clarity from functioning properly and may be affecting other tracking tools. We believe it’s also causing inconsistent data collection that impacted Google AdWords from receiving conversion events.
Environment Details
• Website: wildernessdestinations.com
• Browser: Chrome (but occurs in all browsers)
• Zaraz version: [Current version]
• Clarity Project ID: qcch36wfka
Clarity script added to Zaraz

This topic was automatically closed after 15 days. New replies are no longer allowed.