All things Shopify and commerce
I am getting a lot of traffic from app.adlibraryspy.com. It has messing my analytics and budget for ads. How to stop it?
Hey @JC2077
I found a traffic blocker public app that may works
same here, it is spy tool, just ignore it
I have the same issue, which has totally messed up my performance max campaign.
Hi! I have the same issue. Now I am trying to block them with the Custom JavaScript. If you want to try please follow the instructions below:
1. Edit Your Theme Code:
• Go to your Shopify Admin.
• Navigate to Online Store > Themes.
• Click on Actions > Edit code for your current theme.
2. Add Custom Javascript:
• Open the theme.liquid file (usually located under the Layout folder).
• Add the following JavaScript code before the closing </head> tag:
<script type="text/javascript">
document.addEventListener("DOMContentLoaded", function() {
var referrer = document.referrer;
var blockedReferrers = ["adlibraryspy.com", "app.adlibraryspy.com"];
blockedReferrers.forEach(function(blockedReferrer) {
if (referrer.includes(blockedReferrer)) {
window.location.href = "https://yourwebsite.com/block-message"; // Replace with your desired URL or a custom block message page
}
});
});
</script>
This script checks if the referrer is one of the blocked referrers and redirects the user if it is.
Feel free to buy me a coffee if it was helpful 😉
paypal.me/mxfax
Was my reply helpful? Buy me a coffee
Discover how to increase customer engagement on your store with articles from Shopify A...
By Jacqui Apr 23, 2025Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025