Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename "tracker.js" to avoid it being picked up by adblockers #53

Closed
Stanko opened this issue Oct 2, 2019 · 4 comments
Closed

Rename "tracker.js" to avoid it being picked up by adblockers #53

Stanko opened this issue Oct 2, 2019 · 4 comments

Comments

@Stanko
Copy link

Stanko commented Oct 2, 2019

Hello,
Firstly let me thank you for the great work with Ackee. I was looking for simple, self-hosted analytics, and it works perfectly for my usecase.

I had a small problem with the script tracker.js, because of the name, it is picked up by adblocker filters. Maybe it makes sense to rename it to ackee.js or something along those lines.

Cheers!

@Stanko Stanko changed the title Rename "tracker.js" to avoid being picked up by adblockers Rename "tracker.js" to avoid it being picked up by adblockers Oct 2, 2019
@electerious
Copy link
Owner

Naming it tracker.js wasn't clever 😃 ackee.js might work for now, but I'm sure it will be blocked someday, too.

I will add an option to change the name of the script. This way everyone can pick a custom name to avoid that the script will be blocked.

Tip: You can also use ackee-tracker as a module. This way you don't need to request a script that could be blocked.

@Stanko
Copy link
Author

Stanko commented Oct 3, 2019

Oh, I wasn't aware of the ackee-tracker, good stuff. Allowing user to select the name is the perfect solution.

Btw I ended up using ack as the subdomain for ackee. Started with analytics subodomain but it got blocked instantly 😄

@electerious electerious mentioned this issue Nov 5, 2019
@markuspoerschke
Copy link

@electerious I think this issue can be closed, since it is available in v1.4.0.

@electerious
Copy link
Owner

Yes. It's now part of v1.4: https://github.com/electerious/Ackee#tracker

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants