Install DataPocket on WordPress

Updated

Official plugin: tracking, built-in proxy, WooCommerce revenue. Sign in and these snippets fill in your site ID and domain. Until then, swap YOUR_SITE_ID and YOUR_DOMAIN with the values from your Install page.

  1. 1

    Download the plugin, then Plugins → Add New → Upload Plugin → Activate:

    text
    https://datapocket.vo1d.studio/downloads/datapocket-wordpress.zip
  2. 2

    Settings → DataPocket: enter Site ID YOUR_SITE_ID and domain YOUR_DOMAIN. Turn on "Proxy through my site" to bypass ad blockers.

  3. 3

    No plugin? Paste the tag into your theme's header.php before </head> (or use a header-code plugin):

    html
    <script
      defer
      data-site-id="YOUR_SITE_ID"
      data-domain="YOUR_DOMAIN"
      src="https://datapocket.vo1d.studio/js/script.js"
    ></script>

Revenue attribution

  1. 1

    WooCommerce: paste a website API key in Settings → DataPocket. Paid orders are sent with the buyer's visitor id, and refunds are synced automatically.

Related guides

Install DataPocket on WordPress · DataPocket