Skip to content

Instantly share code, notes, and snippets.

/exploit-analytics.js Secret
Created Oct 25, 2017

What would you like to do?
Exploit google analytics to spam pageviews in a short period of time
// Setup analytics
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
function exploit(trackingid, timesToExploit) {
ga('create', trackingid, 'auto');
for (i = 0; i <= timesToExploit, i++) {
ga('send', 'pageview');
// Example tracking ID
exploite"UA-89688840-1", 500);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.