beyonk-group / svelte-google-analytics

Google Analytics component for Svelte
77 stars 12 forks source link

Readme on npmjs.com is out of date #18

Open richbenwell opened 2 years ago

richbenwell commented 2 years ago

The readme on https://www.npmjs.com/package/@beyonk/svelte-google-analytics has this code snippet:

ga.earnVirtualCurrency('SvelteBucks', 50)

which is no longer valid (the function is only on the all. or games. property)

dextermb commented 2 years ago

Hi, please feel free to contribute to the repository. The function can be considered an example.