Skip to content

Window is not defined. #3

@skeie

Description

@skeie

Hi,

First off, thanks for making this 👏 .
Unforntelay I have some problems making this work. Would love to get some help.

I am trying to run this

import { FullStoryClient } from 'react-fullstory-component';

const client = new FullStoryClient({
    host: 'www.fullstory.com',
    orgKey: 'fake',
    iframe: true
});

client.render();
client.setSession('mysessionId', {
    displyName: 'visual identifier in list',
    address_str: 'some address string',
    returnVisit_bool: true,
    personId_int: '1234'
});

But window is not defined.

image

image

Do you know why?

I am using react 15.4.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions