COVID-19: At REI, we encourage you to get outside responsibly. Stay local, avoid recreational travel, practice social distancing and check ahead for area and facility closures. Learn More
MTB Project Logo

Area Map Widget Not Working

Original Post
Danny Fritz · · Minneapolis, MN · Joined May 2018 · Points: 0

I am having a problem implementing this widget into my React app. I am currently getting this error on page load within the map widget:

utag.sync.js:2 Uncaught TypeError: this.findField is not a function

Full StackTrace:
utag.sync.js:2 Uncaught TypeError: this.findField is not a function
    at L.getMarketingCloudVisitorID (utag.sync.js:2)
    at q.L.getVisitorValues (utag.sync.js:2)
    at AppMeasurement.a.xa (utag.js:134)
    at AppMeasurement.a.isReadyToTrack (utag.js:134)
    at AppMeasurement.a.H (utag.js:134)

Any ideas? Is there something I am doing wrong, or is this a problem with the widget? I can include code on request.

Thanks,

Danny

Rachel Vecchitto · · Boulder, CO · Joined Nov 2011 · Points: 8

Hey Danny -

I'd love to see the code if possible (a link to a github repo or something is fine). That looks like a stack trace from the analytics code we pull in from REI, but we don't see that error in other contexts so it'd be nice to see how you're using the widget.

Thanks!

Guideline #1: Don't be a jerk.

MTB Project Feedback & Suggestions
Post a Reply to "Area Map Widget Not Working"

Log In to Reply