URL Query Arguments For Button Link
-
Hi,
Very nice plugin.
I have a suggestion that to support inheriting url query arguments in the set button url. This is important when you build an affiliate system on your site.
Most affiliate systems tracks referrals with URL queries, something like
http://your-site/product_x/?referral=myaffiliateid. Say, you set a button link tohttp://your-site/product_x/which links to the product page and if an affiliate member introduces the product with?referral=person_aand somebody referred lands on the pricing table page, then the button link becomeshttp://your-site/product_x/?ref=person_a.I just looked over your code and technically it is fairly easy to implement. Adding this line after the assignment to the
$btn_linkvariable will let you do it.$btn_link = add_query_arg( $_GET, $btn_link );Or if it is something difficult to implement, adding a filter for it would be appreciated.
$btn_link = apply_filters( 'rpt_button_link', $btn_link );Thanks for your consideration.
https://wordpress.org/plugins/dk-pricr-responsive-pricing-table/
The topic ‘URL Query Arguments For Button Link’ is closed to new replies.