Wordpress Landing Page And Keyword Tracking? Need Help

Status
Not open for further replies.

neovo

New member
Nov 18, 2008
2
0
1
Hello All,

I have a Wordpress theme that I’m pretty satisfied with that is promoting several products. I have bought some traffic to it, and it converts and all.

Now here is my problem and what I need help to figure out: When I buy PPC traffic to the index page of the wordpress blog keywords are tracked fine. BUT if a user clicks on the Category link or the single post link, then the keyword is not "pushed" to the offer link anymore.

I have this setup as of now:
In the main (index) page I have this above everything else in the code:
< ?php
$key=$_GET['key'];
? >

< ?php echo $_GET['key']; ? > on the outgoing links my affiliate offers. But like I said the problem is that the bought keywords are no longer tracked if users clicks into the single post or wordpress categories. I have of course tried to have the same code that I use in the index page, but that didn’t work.

I would be extremely happy for help with this tracking issue.
 


Have this on the landing page:
PHP:
$_SESSION["key"] = $_GET["key"];
and this on where you want to put the keyword in a link:
PHP:
<?php echo $_SESSION["key"]; ?>
 
  • Like
Reactions: phrench
Status
Not open for further replies.