Git Product home page Git Product logo

easy-digital-download-measurement-protocol's Introduction

Easy Digital Download - Google Measurement Protocol tracking library

This plugin allows you to add Measurement Protocol tracking (server side version of Google Analytics) to your Easy Digital Download. Server side events cannot be blocked with AdBlock or other scripts and you have reliable data with almost 100% accuracy.

You need to enable Enhanced e-Commerce to use this plugin.

Features

  • Tracking all sessions, even session with blocked google analytics (randomly generated clientId will be taken if _ga cookie is not set).
  • Three steps of tracking - cart, order and confirmed order
  • Support for enhanced e-commerce
  • Support for vouchers

Configuration

  • Install plugin
  • Go to Easy Digital Download -> Settings -> Extension and fill "Tracking ID" field. More info
  • Test by adding items to your cart and watching analytics real-time event dashboard - you should see "MeasurementProtocol" event category.

Advanced

if you have problems with sending events, you can debug this plugin by defining define('EDD_MEASUREMENT_PROTOCOL_DEBUG', 1); in your wp-config.php. Moreover you can define own way to make a request by defining own edd_measurement_protocol_fetch function.

By default file_get_contents function is used.

Contribution

You're welcomed.

easy-digital-download-measurement-protocol's People

Contributors

psrebniak avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.