• Hey guys, I’ve installed the plugin and am trying to forward the parameters.

    Here is what I’m trying to do.
    Step 1: We receive referal traffic with parameters on the URL to tracking.
    Step 2: The user lands on our ecommerce landing page, and then clicks a button to our store. How do I load the parameters and value on the current page into the button and then pass it forward to the store?

    thanks in advance

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi
    I have the same problem, how can we solve it?

    If we could use php this solution would solve the problem:

    add_filter('woocommerce_get_checkout_url', 'wpse_redirect_checkout');
    
    function wpse_redirect_checkout($url) {
        global $woocommerce;
        $checkout_url = 'https://domain.com/checkout/?parameter=DINAMIC_VALUE_IN_PHP';
        return  $checkout_url; 
    }

    Thanks for the help!!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Capture params from referring url & forward them?’ is closed to new replies.