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
June brought summer energy to our community. Members jumped in with solutions, clicked ...
By JasonH Jun 5, 2025Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025