read.js: instant digital links
After a user redeems a digital magazine, we can provide an instant link.
If a user has not redeemed a digital magazine, this script will not do anything.
step one: load read.js
Because this script comes into play after an order has already been placed, it requires very little set up.
read.js will look for a digital magazine link in the current active session. If no link exists, then the script will gracefully exit the scene.
What should it look like?
The read.js script loads inside of a small div, anchored to the corner of the web page. You can see an example below!