miguelzakharia / aurelia-google-analytics

An Aurelia.io plugin that adds Google Analytics page tracking to your project.
MIT License
29 stars 23 forks source link

Init & Attach sequence reversed in Getting Started example #34

Open brettveenstra opened 3 years ago

brettveenstra commented 3 years ago

In the Getting Started section of the readme, the call for .init and .attach are inversed

Looks like this is the correct order of operations:

        config.init('<Your Tracker ID>');
        config.attach(options);