Home > Paid Traffic Sources > Mobile

Landing page reprogramming (2)


06-05-2017 01:53 AM #1 thedav (Member)
Landing page reprogramming

Hello,

I have a lander that upon clicking the CTA, apparently looks for the LP to be hosted on the domain from which the lander was initial found on.

The code surrounding the CTA button is

<button onclick="document.location.href = 'http://(insert urlhere).org/aff_c?offer_id=9382&amp;aff_id=4111&amp;aff_sub2=1 23223,22222,5,3865'; return false;" style="display: inline-block;box-shadow: rgba(140, 212, 245, 0.8) 0px 0px 2px, rgba(0, 0, 0, 0.0470588) 0px 0px 0px 1px inset; background-color: rgb(232, 66, 66);">OK</button>

When I delete the code and simply insert my Voluum URL, the CTA button is entirely broken and no longer directs where it should.

Any advice on removing the scripts responsible for these effects?

thanks!


06-05-2017 08:21 AM #2 jessejames (Member)

Do either this

Code:
<input type="button"onclick="location.href='http://mytracker.com';"value="Buy now"/>

or even better, without JS. This is a link that looks like a button visually, but acts like a normal a href


Code:
<a href="http://mytracker.com" style="-webkit-appearance: button; -moz-appearance: button; appearance: button; text-decoration: none; color: initial;">Buy now</a>


Home > Paid Traffic Sources > Mobile