gaoptout
v1.0.2
Published
## Basic usage ##
Downloads
9
Readme
ApGaOptOut
Basic usage
Inset code before google analytics
<script type="text/javascript" src="ApGaOptOut.js"></script>
<script type="text/javascript">
$(document).ready(function () {
var gaOptOut = new ApGaOptOut({
gaAppId: 'UA-xxxxxxxx-x',
optOutCallEvent: 'click',
elementSelector: '[href="#jsgaoptout"]',
debug: true
});
});
</script>