- This topic has 3 replies, 3 voices, and was last updated 9 years, 6 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
WordPress Membership Plugin
Simple Membership Plugin › Forums › Simple Membership Plugin › Inserting Code Into Payment Button
Hello, my payment button is set up and running smoothly, but I need to inset this google adwords tracking coding into my button:
<img src=”download_button.gif” alt=”Download Whitepaper”
width=”32″ height=”32″
onClick=”goog_report_conversion
(‘http://example.com/your-link’)”/>
Since the payment button is a shortcode, how would I attach this to my purchase button?
Thanks
Hi, the plugin developers will investigate further your issue.
Regards
We have a filter that you can use to customize the code and add any extra input fields to the payment button.
The name of the filter is the following:
swpm_pp_payment_form_additional_fields
More info in the following documentation:
https://simple-membership-plugin.com/simple-membership-filter-hook-reference/
As you see, this is the code I need to insert.
onClick=”goog_report_conversion
(‘http://example.com/your-link’)”/>
In the example link I need to grab the paypal button link. Where can I find that link to copy?
Thanks