Skip to content

Overlay: overwriting the API endpoint with setAPIUrl does not work in JS #4856

@mattab

Description

@mattab

Reported by Michal:

I checked this setApiUrl method for js tracker and there seems to be problem with order of executing fuctions
for some reason trackPageView gets triggered before setAPIUrl and therefore overlay isn't initialized with proper URL
if I put 'trackPageView' in setTimeout statement, then it works ok but I believe it's not a proper solution to this

Metadata

Metadata

Assignees

Labels

BugFor errors / faults / flaws / inconsistencies etc.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions