Socket
Socket
Sign inDemoInstall

@washingtonpost/site-footer

Package Overview
Dependencies
Maintainers
193
Versions
264
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@washingtonpost/site-footer

> TODO: description


Version published
Weekly downloads
976
decreased by-31.75%
Maintainers
193
Weekly downloads
 
Created
Source

footer contains the site-wide footer for both default and AMP pages. Simply pass in an isAmp prop to get the AMP footer. This comes with analytics tid's and CCPA logic baked in.

Usage

Default

See the full default footer implementation in the storybook;

import { Footer } from "@washingtonpost/site-components/core/footer"

<Footer isAmp={false} />

Tracking + CCPA

Tracking

  • On AMP footer links, the ?tid=a_inl-amp&itid=a_inl-amp query param is appended to each link for analytics tracking.

CCPA

  • On both AMP and default footers, the components checks for the presence of the wapo_identity in local storage and respective keys geoState and addressState. If either key matches CA the "Do Not Sell My Info" link will display to comply with CA privacy laws.

Build

parcel build 'ui/*/' --log-level verbose --no-cache

FAQs

Package last updated on 24 Nov 2021

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc