Jump to content

Recommended Posts

First, I know nothing about php scripting language so bear with me.

 

I've created a website using the wordpress platform.  I want to add some php script so that I can track adwords keywords.

Question #1 - Is there a way to add php to a wordpress blog so that I can track adwords keywords?

Example:

My blog url is www.mysite.com

To track Adwords keywords I need url's that look something like this:

www.mysite.com/?id=ekeyword

www.mysite.com/?id=pkeyword

www.mysite.com/?id=bkeyword

where these 3 url's are one adgroup and e,p,b represent the 3 match types and all point to www.mysite.com . If I am able to make the page dynamic, I would like to be able to pass the keyword info all the way to conversion. For example, a shareasale affiliate link on the page would normally look like www.shareasale.com/r.cfm?B=xxxx&U=xxxx&M=xxxx . In order to track to the keyword level, you would add the "&afftrack=" followed by the match type and keyword. What I would like to do is have it read "&afftrack={id}" where the keyword would be passed along from the original click. Is this possible? Does this even make sense or am I trying to invent

some new, exotic php hybrid script that doesn't exist yet :D

 

Any help is appreciated.

Link to comment
https://forums.phpfreaks.com/topic/155133-php-help/
Share on other sites

Well, yes. I saw the execphp plugin and I know how to upload/activate a plugin in wordpress but the rest was way over my head.  Once I upload/activate the plugin, then what? I assume I would be required to write some php script to make this possible, and that's just not happenin'.  Can you point me to some "Wordpress PHP plugin for dummies" or something like that?

 

Another problem is finding a plugin that "does this."  I don't know what "this" is other than it has to do with php.  What would I search to accomplish "this". 

Link to comment
https://forums.phpfreaks.com/topic/155133-php-help/#findComment-816072
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.