https://github.com/findify/findify-next-moltim
Findify integration with React SPA(the simple way)
https://github.com/findify/findify-next-moltim
Last synced: over 1 year ago
JSON representation
Findify integration with React SPA(the simple way)
- Host: GitHub
- URL: https://github.com/findify/findify-next-moltim
- Owner: findify
- License: mit
- Created: 2019-07-09T09:45:46.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-31T01:44:03.000Z (over 3 years ago)
- Last Synced: 2025-02-01T21:35:21.089Z (over 1 year ago)
- Language: JavaScript
- Size: 1.21 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Findify + Next.js + Moltim demo store
Simple preview of how to use default Findify setup in React SPA based stores
## 🛠Setup
> `yarn & yarn dev` or `npm i & npm run dev`
## 👀 Points of interest
- `./components/Layout.js:38`
> Add the link to Findify script in your Header with `async/defer` props
- `./components/Findify.js`
> The findify component which waits for script load and renders widgets. Check the file, props are described there.
- `./components/Header.js`
> Wrap input in Findify component and write Ref access function
- [`./pages/product.js`](http://localhost:3000/product?id=19f14ec4-959f-495d-9fa8-bca93bfd15f0)
> The recommendations for product
> Send "view-page" event to Findify Analytics