Skip to content
This repository was archived by the owner on Dec 22, 2023. It is now read-only.
This repository was archived by the owner on Dec 22, 2023. It is now read-only.

Problem with the documentation #16

@casertap

Description

@casertap

Hi, I think your plugin is pretty awesome, I can't wait to use it and see if it is still the case in few weeks ;-)
I have trouble to set up my project using your documentation. I decided to go with the Frontend Events set up and I was misguided by the sentence:

First off, make sure you get this into your layout in a script tag somewhere at the bottom of the page is perfectly fine: <%= meta_events_frontend_events_javascript %>

To make this work, I needed to nest the code inside a jquery ready callback otherwise the registerFrontendEvent method is never fired and event are not registred inside of MetaEvents.

I took a look at the meta_event.js.erb and it seems to only manage the mixpanel.track method.
This is annoying because you need to identify and people.set your user to be able to link the event tracked with a user.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions