Changes

Jump to: navigation, search
no edit summary
When using the access denial strategy outlined in the previous chapter it will be important to track the number of visitors who disabled ad blocking in relation to those that were driven away by the restriction. This will allow you to gauge the effectiveness of this approach over an extended period of time.
This chapter will build on the Google Analytics tracking techniques outlined in the chapter entitled Assessing the Damage [http://www.ebookfrenzy.com/AdBlocking/index.html Measuring Revenue Lost to Ad Blocking] combined with the use of a cookie to track the effectiveness of the strategy.
== How the Tracking Works ==
== Preparing for Tracking Implementation ==
For the purposes of this chapter, the blocking example created in the previous chapter will be extended to implement the tracking steps outlined above. If your website is not already using Google Analytics, follow the steps in the Assessing the Damage [http://www.ebookfrenzy.com/AdBlocking/index.html Measuring Revenue Lost to Ad Blocking] chapter of this book to create an account and integrate the code into the pages of your website.
The code will also make use of the getCookie() function created in the chapter entitled [http://www.ebookfrenzy.com/AdBlocking/index.html Controlling Ad Blocker Removal Request Frequency]. This function reads as follows:
<pre>

Navigation menu