Skip to main content
Participant
February 19, 2014
Question

Banner with click thru generate "0" on the end of URL

  • February 19, 2014
  • 3 replies
  • 874 views

Hello,

I have made banner with click thru for counting clicks. But the servis of the serever, where I want to put the banner, still giving me back, because the url whitch they set on it generate on the end "0", so it doesnt work. (for example www.adress.com/0 )

I checked all the layers, and only script whitch I have there is the click thru, nothing more. I'am not flash expert, but I made some similer banners before and there were no troubles.

The click thru look like this:

on (release) {

if (_root.clickthru==undefined && _root.clickTag) {

_root.clickthru = _root.clickTag;

}

if (_root.clickthru==undefined && _root.clickTAG) {

_root.clickthru = _root.clickTAG;

}

if ( _root.clickTarget ==undefined) {

_root.clickTarget = "_top";

}

getURL(_root.clickthru, _root.clickTarget);

}

Please, do you have some idea, where can be the trouble? I think, it must be on the server owner side, but I really don't know.

Thanks, Jakub.

This topic has been closed for replies.

3 replies

Participant
February 20, 2014

Thank you very much, at the end I could look in to the administration of the advertaiser server and I founded, that they hade mistake in their code. Now is everything working absolutely ok.

Thank you again!

kglad
Community Expert
Community Expert
February 20, 2014

you're welcome.

Inspiring
February 20, 2014

if (_root.clickthru==undefined && _root.clickTag) {

_root.clickthru = _root.clickTag;

}

after the && there is not an equality check so it probably won't work. Maybe you need an == and something after it instead of _root.clickTag on its own. The same for the second if statement.

kglad
Community Expert
Community Expert
February 19, 2014

use the trace function to start debugging, or if you're testing in a browser use a textfield or something else to see the value of _root.clickthru.