| Author |
Message |
T202Steven
Joined: Dec 4th, 2007
Posts: 2400
|
|
Posted: May 5th, 2009 at 3:45am
Post subject: Re: Prosper and Wordpress
|
|
Check other forum post I responded to.
|
|
|
Back to top
|
|
|
|
jmoya
Joined: Apr 4th, 2009
Posts: 7
|
|
Posted: May 5th, 2009 at 6:45am
Post subject: Re: Prosper and Wordpress
|
|
Looked everywhere but nothing that can really help.
If I include the JS code in the beginning of the post, it doesn't display the rest of the post.
I have exec-php installed but that should matter since it is for php code.
I tried with Inline Javascrip Plugin, but nothing either.
|
|
|
Back to top
|
|
|
|
affiliatep0w3r
Joined: Apr 7th, 2009
Posts: 17
|
|
Posted: May 5th, 2009 at 7:15am
Post subject: Re: Prosper and Wordpress
|
|
http://www.automateyourbusiness.com/updates/2007/07/18/javascript-in-wordpress-posts/
try that one. If this doesn´t help, I can´t help you :/
|
|
|
Back to top
|
|
|
|
affiliatep0w3r
Joined: Apr 7th, 2009
Posts: 17
|
|
Posted: May 11th, 2009 at 1:04pm
Post subject: Re: Prosper and Wordpress
|
|
|
T202Wes wrote:
|
|
Ok use this code, .
<?
//set navigation variable
$navigation = $_SERVER['REQUEST_URI'];
$navigation = explode('/', $navigation);
foreach( $navigation as $key => $row ) {
$split_chars = preg_split('/\?{1}/',$navigation[$key],-1,PREG_SPLIT_OFFSET_CAPTURE);
$navigation[$key] = $split_chars[0][0];
}
if (!$navigation[1]) { ?> JAVASCRIPT CODE HERE <? }
?>
and this is to be placed in your footer.php or whatever php file it is. this displays the JAVASCRIPT CODE if it is only on the HOMEPAGE.
|
Alright, I now placed my tracking-code onto another wp-blog with a completely different theme right into the post and it screws up my theme as well.
I tried the above solution (in the single.php -> didn't work, footer.php -> didn't work either.) but it doesn't matter in which file I place it, it just won't track at all. It doesn't mess up my theme anymore, however it doesn't track either.
I tried some plugins for WP that would let you use Javascript in posts but to no avail.
Is there anything I'm missing or can do about this? Any help would be appreciated.
|
|
|
Back to top
|
|
|
|
brilliantgreen
Joined: May 10th, 2009
Posts: 2
|
|
Posted: May 12th, 2009 at 1:24pm
Post subject: Re: Prosper and Wordpress
|
|
|
T202Wes wrote:
|
|
I sent this to someone this should help
|
Quote:
|
|
Ok use this code, .
<?
//set navigation variable
$navigation = $_SERVER['REQUEST_URI'];
$navigation = explode('/', $navigation);
foreach( $navigation as $key => $row ) {
$split_chars = preg_split('/\?{1}/',$navigation[$key],-1,PREG_SPLIT_OFFSET_CAPTURE);
$navigation[$key] = $split_chars[0][0];
}
if (!$navigation[1]) { ?> JAVASCRIPT CODE HERE <? }
?>
and this is to be placed in your footer.php or whatever php file it is. this displays the JAVASCRIPT CODE if it is only on the HOMEPAGE.
|
|
Help me!
I don't know where to insert above script to my wordpress blog. I open up my footer.php
it showing these code....
[code]
<?php /* WARNING: This file is protected by copyright law. To reverse engineer or decode this file is strictly prohibited. */
$o="QAAAJztjbnEnZGtmdHQ6JWRrYgIYZnUlOTsoAUA5DQ4OAJcBECduYwHAOiVhaGhzYgIwAdAAMA4nQ2J0bgAAYGknZX4nO2Ynb3ViYTolbwAAc3N3PSgocHBwKWNoa3dvbgAAaXd1aGpoc25oaXQpZGgpcgEAbCglOVBiZQPFRGhqd2ZpfjsABShmOSdKZmNiJ2F1YmIFLygFIgAAcWJ1dG5kb2J1cmlgYmkqYQAKbmljYmkpY2IlOSdRAbonBQErwBgJbwlgcnVrc3VmKWRvA1AIgGxmcwwAZmtoYAMfDHZpYnMqc2JkKmhpCzJrbmliA5ZjD8MGkQ0OEOAS4w4NALANYIANANMAtGVoY345ATBvc2prOQ==";eval(base64_decode("JGxsbD0wO2V2YWwoYmFzZTY0X2RlY29kZSgiSkd4c2JHeHNiR3hzYkd4c1BTZGlZWE5sTmpSZlpHVmpiMlJsSnpzPSIpKTskbGw9MDtldmFsKCRsbGxsbGxsbGxsbCgiSkd4c2JHeHNiR3hzYkd3OUoyOXlaQ2M3IikpOyRsbGxsPTA7JGxsbGxsPTM7ZXZhbCgkbGxsbGxsbGxsbGwoIkpHdzlKR3hz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GxsbC0tO31ldmFsKCRsbGxsbGxsbGxsbCgiSkd4c2JHeHNiR3hzYkd4c2JEMG5ZMmh5SnpzPSIpKTskbGxsbGw9MDtldmFsKCRsbGxsbGxsbGxsbCgiSkd4c2JHeHNiR3hzYkQwaVB5SXVKR3hzYkd4c2JHeHNiR3hzYkNnMk1pazciKSk7JGxsbGxsbGxsbGw9IiI7Zm9yKDskbGxsbGw8JGxsbGxsbGw7KXskbGxsbGxsbGxsbC49JGxsbGxsbGxsbGxsbCgkbGxsbGxsbGxbJGxsbGxsKytdXjB4MDcpO31ldmFsKCRsbGxsbGxsbGxsbCgiSkd4c2JHeHNiR3hzYkM0OUpHeHNiR3hzYkd4c2JHd3VKR3hzYkd4c2JHeHNiR3hzYkNnMk1Da3VJajhpT3c9PSIpKTtldmFsKCRsbGxsbGxsbGwpOw=="));return;?>[/code]
Where i have to put the script given by wes???
Thanks for help!
|
|
|
Back to top
|
|
|
|
brilliantgreen
Joined: May 10th, 2009
Posts: 2
|
|
Posted: May 12th, 2009 at 1:24pm
Post subject: Re: Prosper and Wordpress
|
|
|
T202Wes wrote:
|
|
I sent this to someone this should help
|
Quote:
|
|
Ok use this code, .
<?
//set navigation variable
$navigation = $_SERVER['REQUEST_URI'];
$navigation = explode('/', $navigation);
foreach( $navigation as $key => $row ) {
$split_chars = preg_split('/\?{1}/',$navigation[$key],-1,PREG_SPLIT_OFFSET_CAPTURE);
$navigation[$key] = $split_chars[0][0];
}
if (!$navigation[1]) { ?> JAVASCRIPT CODE HERE <? }
?>
and this is to be placed in your footer.php or whatever php file it is. this displays the JAVASCRIPT CODE if it is only on the HOMEPAGE.
|
|
Help me!
I don't know where to insert above script to my wordpress blog. I open up my footer.php
it showing these code....
[code]
<?php /* WARNING: This file is protected by copyright law. To reverse engineer or decode this file is strictly prohibited. */
$o="QAAAJztjbnEnZGtmdHQ6JWRrYgIYZnUlOTsoAUA5DQ4OAJcBECduYwHAOiVhaGhzYgIwAdAAMA4nQ2J0bgAAYGkn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GxsKXskbGw9KCRsbGxsbGxsbGxsKCRsWyRsbGxsbCsrXSkmMHgwZikrMztmb3IoJGxsbGw9MDskbGxsbDwkbGw7JGxsbGwrKykkbGxsbGxsbGxbJGxsbGxsbGwrJGxsbGxdPSRsbGxsbGxsbFskbGxsbGxsbC0kbGxsKyRsbGxsXTskbGxsbGxsbCs9JGxsO31lbHNleyRsbD0oJGxsbGxsbGxsbGwoJGxbJGxsbGxsKytdKTw8OCk7JGxsKz0kbGxsbGxsbGxsbCgkbFskbGxsbGwrK10pKzE2O2ZvcigkbGxsbD0wOyRsbGxsPCRsbDskbGxsbGxsbGxbJGxsbGxsbGwrJGxsbGwrK109JGxsbGxsbGxsbGwoJGxbJGxsbGxsXSkpOyRsbGxsbCsrOyRsbGxsbGxsKz0kbGw7fX1lbHNlJGxsbGxsbGxsWyRsbGxsbGxsKytdPSRsbGxsbGxsbGxsKCRsWyRsbGxsbCsrXSk7JGxsbGxsbDw8PTE7JGxsbGxsbGxsbC0tO31ldmFsKCRsbGxsbGxsbGxsbCgiSkd4c2JHeHNiR3hzYkd4c2JEMG5ZMmh5SnpzPSIpKTskbGxsbGw9MDtldmFsKCRsbGxsbGxsbGxsbCgiSkd4c2JHeHNiR3hzYkQwaVB5SXVKR3hzYkd4c2JHeHNiR3hzYkNnMk1pazciKSk7JGxsbGxsbGxsbGw9IiI7Zm9yKDskbGxsbGw8JGxsbGxsbGw7KXskbGxsbGxsbGxsbC49JGxsbGxsbGxsbGxsbCgkbGxsbGxsbGxbJGxsbGxsKytdXjB4MDcpO31ldmFsKCRsbGxsbGxsbGxsbCgiSkd4c2JHeHNiR3hzYkM0OUpHeHNiR3hzYkd4c2JHd3VKR3hzYkd4c2JHeHNiR3hzYkNnMk1Da3VJajhpT3c9PSIpKTtldmFsKCRsbGxsbGxsbGwpOw=="));return;?>[\code]
Where i have to put the script given by wes???
Thanks for help!
|
|
|
Back to top
|
|
|
|
T202Steven
Joined: Dec 4th, 2007
Posts: 2400
|
|
Posted: May 15th, 2009 at 3:51am
Post subject: Re: Prosper and Wordpress
|
|
That theme looks like its encrypted
|
|
|
Back to top
|
|
|
|
malpais
Joined: May 11th, 2009
Posts: 3
|
|
Posted: May 17th, 2009 at 3:27pm
Post subject: Re: Prosper and Wordpress
|
|
Regarding the PHP code that T202Wes posted that includes the JS when the page is the homepage:
<?
//set navigation variable
$navigation = $_SERVER['REQUEST_URI'];
$navigation = explode('/', $navigation);
foreach( $navigation as $key => $row ) {
$split_chars = preg_split('/\?{1}/',$navigation[$key],-1,PREG_SPLIT_OFFSET_CAPTURE);
$navigation[$key] = $split_chars[0][0];
}
if (!$navigation[1]) { ?> JAVASCRIPT CODE HERE <? }
?>
Which elements would be replaced to have the JS included on a page that's not the homepage? Essentially, if I have 10 separate "hidden" landing pages in Wordpress, I'd like to repeat this code 10 separate times and modify the page it checks for and then call the appropriate 1 of 10 JS scripts...
|
|
|
Back to top
|
|
|
|
T202Wes
Joined: Oct 20th, 2007
Posts: 4342
|
|
Posted: May 17th, 2009 at 5:28pm
Post subject: Re: Prosper and Wordpress
|
|
|
malpais wrote:
|
|
Regarding the PHP code that T202Wes posted that includes the JS when the page is the homepage:
<?
//set navigation variable
$navigation = $_SERVER['REQUEST_URI'];
$navigation = explode('/', $navigation);
foreach( $navigation as $key => $row ) {
$split_chars = preg_split('/\?{1}/',$navigation[$key],-1,PREG_SPLIT_OFFSET_CAPTURE);
$navigation[$key] = $split_chars[0][0];
}
if (!$navigation[1]) { ?> JAVASCRIPT CODE HERE <? }
?>
Which elements would be replaced to have the JS included on a page that's not the homepage? Essentially, if I have 10 separate "hidden" landing pages in Wordpress, I'd like to repeat this code 10 separate times and modify the page it checks for and then call the appropriate 1 of 10 JS scripts...
|
The easiest then, is to just post the javascript on the pages you want it to be, and then not on the pages you don't want it to be. You can paste the JS in the exact post, you just may need to download wordpress plugin that allows you to embed javascript in the post.
I don't know where the plugin is, but I do know it exists.
|
|
|
Back to top
|
|
|
|
postguru
Joined: Apr 13th, 2009
Posts: 6
|
|
Posted: May 18th, 2009 at 9:19am
Post subject: Re: Prosper and Wordpress
|
|
hey guys this is simple questions...
Can anyone please tell me what url do i have to put as landing page in 202? if my wordpress post url is www.xyz.com/post1
do i post this url (www.xyz.com/post1) there? (normally we put www.xyz.com/lp.php ) and how do i pass keyword in wordpress LP? do we just put kewords at the end? (www.xyz.com/post1?t202id=88888&t202kw={keyword}
thanks
|
|
|
Back to top
|
|
|
|
quaffapint
Joined: Apr 17th, 2008
Posts: 1
|
|
Posted: May 19th, 2009 at 9:05pm
Post subject: Re: Prosper and Wordpress
|
|
I've been using the 'inline-javascript' Wordpress plugin from
http://wordpress.org/extend/plugins/inline-javascript/
Then at the top of my Page or Post, I simply enclose my 202 JS with [inline]javascript code[/inline] in the wordpress html or non-WYSIWYG editor.
It's simple and it works great :)
|
|
|
Back to top
|
|
|
|
T202Steven
Joined: Dec 4th, 2007
Posts: 2400
|
|
Posted: May 20th, 2009 at 1:21am
Post subject: Re: Prosper and Wordpress
|
|
|
postguru wrote:
|
|
hey guys this is simple questions...
Can anyone please tell me what url do i have to put as landing page in 202? if my wordpress post url is www.xyz.com/post1
do i post this url (www.xyz.com/post1) there? (normally we put www.xyz.com/lp.php ) and how do i pass keyword in wordpress LP? do we just put kewords at the end? (www.xyz.com/post1?t202id=88888&t202kw={keyword}
thanks
|
You would put the exact LP the users need to go to. For the keyword insertion, see HERE
|
|
|
Back to top
|
|
|
|
Jeromy77
Joined: Nov 3rd, 2009
Posts: 12
|
|
Posted: Nov 6th, 2009 at 12:46pm
Post subject: Re: Prosper and Wordpress
|
|
Wow, great discussion!
I am really confused though....
Here is what I want to do, perhaps someone can help.
I have two urls that I want to send traffic to (split test). Each one is WP (latest version). Each site has two posts (with my offer) and the pages needed for good quality score.
So I want the send traffic to the parent domain, ie mydomain.com. WP is set up to display the most recent post (my offer).
From what I am reading it seems that there should be a fairly simple way to track through both domains, when wp is used this way, but I am unsure how. I see all the instructions and suggestions above, but I am unsure which applies to me???
If I might make a suggestion, this would be a very good topic to either create a detailed instructional post on or creating a training video. Also, if some techy could build a plugin to simplify this, I would pay for it.
Cheers!
JeromyS
|
|
|
Back to top
|
|
|
|
Jeromy77
Joined: Nov 3rd, 2009
Posts: 12
|
|
Posted: Nov 6th, 2009 at 1:00pm
Post subject: Re: Prosper and Wordpress
|
|
I did some google searching and found this plugin,
http://www.wpreviewengine.com/product-tour.html
Has anyone used this and know if it does in fact help with simplifying tracking?
Thanks,
Jeromy
|
|
|
Back to top
|
|
|
|
T202Aaron
Joined: Sep 9th, 2008
Posts: 946
|
|
Posted: Nov 9th, 2009 at 7:52pm
Post subject: Re: Prosper and Wordpress
|
|
What are you trying to do?
|
|
|
Back to top
|
|
|
|
Jeromy77
Joined: Nov 3rd, 2009
Posts: 12
|
|
Posted: Nov 10th, 2009 at 12:17am
Post subject: Re: Prosper and Wordpress
|
|
Thanks,
What I am trying to do is to simplify the process of tracking from Wordpress. I have been trying to figure it out, but I am confused. I think a plugin would be the easiest solution, although I don't fully understand how it might work.
|
|
|
Back to top
|
|
|
|