Skip to content

Fix al.optimizely.get is not a function error #619

@markjensen74

Description

@markjensen74

We were comparing our Snowplow pageviews against Google Analytics pageviews and wondering why Snowplow was always lower after we started to use 2.8.2 and Optimizely Summary flags in JS. Is anyone else getting this? This optimizely error inside Snowplow Tracker is causing pageview event not to fire, which probably explaining why we are lower than GA. I’m using chrome.

sp.js:63 Uncaught TypeError: al.optimizely.get is not a function
    at aI (sp.js:63)
    at aa (sp.js:63)
    at a2 (sp.js:66)
    at bp (sp.js:61)
    at aK (sp.js:67)
    at sp.js:73
    at ae (sp.js:69)
    at Object.trackPageView (sp.js:73)
    at s (sp.js:29)
    at new d.InQueueManager (sp.js:29)

Metadata

Metadata

Assignees

Labels

category:browserAbout the browser-specific code.priority:mediumOn the roadmap.status:completedCompleted - but might not be released yet.type:defectBugs or weaknesses. The issue has to contain steps to reproduce.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions