chrokh / affiliate-link-localizer Goto Github PK
View Code? Open in Web Editor NEWRedirect Amazon Affiliate Links to User Locale Based on User IP
Redirect Amazon Affiliate Links to User Locale Based on User IP
Hi, I am trying to use your tool to localize my amazon links I know the tool is DEPRECATED & NOT MAINTAINED but I'm hoping you could give me some insight into getting this tool working.
The issues I'm facing I created a sub-domain for my domain name. locale.mydomain.com I added index file and config.json
What config looks right to you? sorry, I am not fluent in PHP and JSON just yet but from what I understand I don't add the tags like this but rather like this "hkvs-20" ?
{
"amazon": {
"US": "<hkvs-20>",
"UK": "<hkv0b-21>",
"DE": "<hkv04-21>",
"IT": "<hkv00-21>",
"FR": "<hkv00-21>",
"CA": "<hkvs-20>",
"ES": "<hkv04-21>",
"IN": "<hkvs-20>",
}
}
or
{
"amazon": {
"US": "hkvs-20",
"UK": "hkv0b-21",
"DE": "hkv04-21",
"IT": "hkv00-21",
"FR": "hkv00-21",
"CA": "hkvs-20",
"ES": "hkv04-21",
"IN": "hkvs-20",
}
}
So when I try and amazon product id B08Z3JLF74 for example https://locale.hackingvision.com/?id=B08Z3JLF74
The website redirects the the correct store for the Geolocation the problem is the locale tag is not included in the string the json config file does it include <> or do I remove them the issue the tool is having is reading from this json file on my server thanks.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.