cdn_craigs
Elite Member
- Jul 16, 2011
- 1,932
- 697
hi guys
i want to pass info that is in my link to a button code on my page (so i can track source of my sales)
EXAMPLE: my url is www.example.com?src=facebook (this is from a facebook ad)
so on the page, my BUY NOW link is: www.example.com/purchase . how do i dynamically insert >> "?src=facebook" at the end of my url. (so i know this sale came from facebook) my sales tracking system allows passing variable content to it.
HOW DO I DO THIS? What code do i use on my buy now button to pull the info from the passed info?
I am on wordpress, and have ALLOW PHP ON PAGE plugin (so php code works on the page)
thanks guys...
i want to pass info that is in my link to a button code on my page (so i can track source of my sales)
EXAMPLE: my url is www.example.com?src=facebook (this is from a facebook ad)
so on the page, my BUY NOW link is: www.example.com/purchase . how do i dynamically insert >> "?src=facebook" at the end of my url. (so i know this sale came from facebook) my sales tracking system allows passing variable content to it.
HOW DO I DO THIS? What code do i use on my buy now button to pull the info from the passed info?
I am on wordpress, and have ALLOW PHP ON PAGE plugin (so php code works on the page)
thanks guys...