shifubill
Regular Member
- Oct 5, 2013
- 487
- 74
I am working on a prelander page to direct visitors from Instagram and FB to money sites or offers. My goal is to hide links as much as possible. I've designed the page so that visitor is directed to the money site after clicking a form submit button that appears to be an image like a fake captcha.
The problem I'm having is that I have to use some type of form redirect, and this makes it obvious to a crawler what the money site is. I've used javascript to listen for the form submit and set the location as the money site. The javascript with the URL is clearly at the bottom of the page source.
I've figured out how to use the same method but put the set the link as a var in a separate .js file, but since this is still pulled on the page, it can be found. I've also thought of using javascript to scramble the URL.
From what I understand, IG and FB bots are able to parse javascript and using any type of javascript method isn't effective.
The method I'd like to use would write the money site URLs to the database where they aren't called until the form submit button is clicked.
I used to use a plugin to make Amazon affiliate stores. It would place the amazon link in the postmeta in the database. Here's an example of a page using this plugin:
http://megafishingstore.com/product/berkley-ugly-stik-jr-spincast-rod-reel-combo/
When I look at the source code, the link behind the button is this:
http://megafishingstore.com?product=4000
I looked at the php code of the plugin, but I can't find a simple way to recreate the necessary function. If I could create a link like that, I can use it in the javascript to redirect after form submit. I've tried doing this using custom fields, and I've tried using the Advanced Custom Fields plugin for WordPress, but I just can't figure it out.
Any tips, suggestions, or code snippets would be much appreciated.
The problem I'm having is that I have to use some type of form redirect, and this makes it obvious to a crawler what the money site is. I've used javascript to listen for the form submit and set the location as the money site. The javascript with the URL is clearly at the bottom of the page source.
I've figured out how to use the same method but put the set the link as a var in a separate .js file, but since this is still pulled on the page, it can be found. I've also thought of using javascript to scramble the URL.
From what I understand, IG and FB bots are able to parse javascript and using any type of javascript method isn't effective.
The method I'd like to use would write the money site URLs to the database where they aren't called until the form submit button is clicked.
I used to use a plugin to make Amazon affiliate stores. It would place the amazon link in the postmeta in the database. Here's an example of a page using this plugin:
http://megafishingstore.com/product/berkley-ugly-stik-jr-spincast-rod-reel-combo/
When I look at the source code, the link behind the button is this:
http://megafishingstore.com?product=4000
I looked at the php code of the plugin, but I can't find a simple way to recreate the necessary function. If I could create a link like that, I can use it in the javascript to redirect after form submit. I've tried doing this using custom fields, and I've tried using the Advanced Custom Fields plugin for WordPress, but I just can't figure it out.
Any tips, suggestions, or code snippets would be much appreciated.