Socket
Book a DemoInstallSign in
Socket

gridsome-plugin-amazon-onelink

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gridsome-plugin-amazon-onelink

A Gridsome plugin to add Amazon OneLink script to your gird g

1.0.2
latest
Source
npmnpm
Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

A plugin to enable adding the Amazon Onelink to your Gridsome based website.

Amazon OneLink enables you to monetize traffic on your site from a number of different locales including United Kingdom (UK), Canada and Germany via Amazon's text links.

It will require you to register for a US based Amazon Associates.

Once you have registered your accounts for Amazon Onelink it will require you to place an additional script on your website. This is what this the Gridsome will enable you to do quickly as easily.

How to Install

Open your terminal window in the root directory of your Gridsome project

npm i gridsome-plugin-amazon-onelink

Typically the Amazon Onelink script will look like as follows

<div id="amzn-assoc-ad-12345baa-12b1-123e-b123-a123c3b0b1e2"></div>
<script async 
src="//z-na.amazon-adsystem.com/widgets/onejs?MarketPlace=US&adInstanceId=12345baa-12b1-123e-b123-a123c3b0b1e2">

</script>

All you will need to do is extract the UUID i.e 12345baa-12b1-123e-b123-a123c3b0b1e2 and add it to your Environment variables using the name AMAZON_ONELINK

Configure

{
   use: 'gridsome-plugin-amazon-onelink',
     options: {
               id: process.env.AMAZON_ONELINK
            }
 }

Support This Project

If you have found this project helpful, either as a library that you use or as a learning tool, please consider buying the team a coffee:

Buy Me A Coffee

Developed, Sponsored and Supported

threenine logo

Keywords

gridsome

FAQs

Package last updated on 15 Sep 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.