Embed variable in tracking link

Status
Not open for further replies.

theNOTO

New member
Jun 24, 2006
303
2
0
OH
This is hopefully a simple question. I am trying to embed a variable in a tracking link like:

<script src='http://www.mysite.com/ast.php?ch=%%KEYWORDS%%'></script>

But the %%KEYWORDS%% variable is not resolving. What am I doing wrong?
 


Is the keyword actually getting populated, but the site's just not accepting it?
 
well where is the "%%KEYWORD%%" supposed to come from? if it's a variable in PHP you can just do...

Code:
<script src='http://www.mysite.com/ast.php?ch=<?= $kw_var_name ?>'></script>

otherwise, you're going to have to be more specific as to where the keyword is stored or where it's coming from.
 
  • Like
Reactions: theNOTO
Status
Not open for further replies.