Skip to content

prebid/sharedid-wordpress

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

=== Publisher Common ID === Contributors: Conversant Tags: pubcid, prebid, cookie, itp, safari, publisher, common, id, pubcommonid, fpc, pcid, pubid, pub Requires at least: 4.7.2 Requires PHP: 5.6 Tested up to: 5.1.1 Stable tag: 1.0.0 License: Apache-2.0 License URI: https://www.apache.org/licenses/LICENSE-2.0

PubCID is a free privacy centric first party cookie solution proven to improve site performance and increase earnings.

== Description ==

Publisher Common ID (PubCID) is a privacy centric first party cookie solution. Built with consumer privacy in mind. PubCID does not sync IDs across domains so the IDs your domain generates are yours to share with whom you choose. Because the user IDs generated are site specific, there is no degradation of these IDs over time, improving user match rates. Additionally, latency issues generally caused by multiple call outs to various parties are significantly reduced, improving user experience, viewability and earnings.

Publishers that have implemented PubCID have seen an immediate lift in earnings and improvement in user interaction on their domain. This solution is open source, free to use, and does not require any consortium memberships.

= Technical Description =

The PubCID plugin supplements the JavaScript by rewriting PubCID as a server-side cookie to accommodate a custom expiration time frame. By default, it only updates cookies that have been generated by other sources and can also be configured to check consent strings and generate IDs directly.

A new rest endpoint is added that returns a 1x1 pixel and to update the cookie. The URL is '/wp-json/pubcid/v1/extend/'. The trailing slash is required. This allows caching to be used as long as the endpoint itself is excluded.

= Working with Prebid =

Requires Prebid.js User Id modules with pubCommonId. Set params.pixelUrl to '/wp-json/pubcid/v1/extend/'.

= Generating ID Directly =

The PubCID plugin can be configured to generate IDs directly from your domain by setting the Consent Function and the Generate Function in the settings of the page as outlined below.

Consent Function – This can be a custom function name, or a function provided by other plugins. It should return true if there is user consent. If omitted, it’s treated as having consent and the consent is derived from other means such as JavaScript.

Generate Function – Specify wp_generate_uuid4, this will return a random UUID.

== Frequently Asked Questions ==

== Installation ==

  1. Upload the plugin files to /wp-content/plugin/pubcid-extender directory, or click on install now.
  2. Activate the plugin from the Wordpress Plugins page

== Screenshots ==

  1. The settings page.

== Changelog ==

= 1.0.0 =

  • Initial release

About

Wordpress Plugin for the PubCommon ID

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages