VerticalResponse Marketing Lounge

I'm having a bit of trouble understanding EXACTLY what I need to do to get the ROI tracking to work.

"The text for PURCHASE_AMOUNT is provided as a placeholder only in the ROI Calculator code snippet. This will need to be replaced with the actual purchase amount of the sale, as captured from your website. "

I am using a PHP shopping cart which captures the Total in a variable called $order_info.total.
I'm quite new to PHP and am not familiar with passing variables through URL's

Now how do I pass that to the PURCHASE_AMOUNT in the URL?
""
OR
""
OR
What?

Thanks.

Share

Reply to This

Replies to This Discussion

Ok I didn't know that this discussion automatically removes links...geez

cts.vresp.com/s.gif?h=xxxxxxxxxxx&amount=$order_info.total" height="1" width="1"
or
cts.vresp.com/s.gif?h=xxxxxxxxxxx&amount=order_info.total" height="1" width="1"

Reply to This

Not sure if you've figured this out yet, but more than likely you would need something like where PURCHASE_AMOUNT is. Hope this helps.

Reply to This

Thanks for the reply...I think that is what I'm asking I can't replace the PURCHASE_AMOUNT with an actual number because that number changes depending on how much each customer purchases.

I have the variable listed above which actually captures the purchase amount once the order has been placed...

So I'm wondering how do I pass this variable (which holds the amount of purchase) through the URI given by vertical response.

Their instructions don't make sense and aren't applicable as far as I can see...

Is anyone successful with this, can you please post what you have as PURCHASE_AMOUNT?

Thanks

Reply to This

Opps, the code I put in was stripped. I'll try it again. It should be, <?php ehco $order_info->total; ?> replacing PURCHASE_AMOUNT.

Reply to This

Ok thanks I'll try that but I'm not too sure that you can use the < ? php ehco $ order _ info->total; ? >

I'll give it a shot...

Reply to This

RSS

Getting Started Kit

Our new Getting Started Kit contains key resources to get your VerticalResponse email marketing campaigns started quickly and easily.

Get the Newsletter

* Required





Get your own Opt-In Form, like this one, at VerticalResponse.

Social Links

Share this page

Get Social With VR
FacebookTwitterFriendFeedYouTubeYelp

© 2009   Created by VerticalResponse

Badges  |  Report an Issue  |  Privacy  |  Terms of Service