How to Do Influencer Marketing for Your WooCommerce Store

Step 1: Sign Up For a Referral Program


When it comes to influencer marketing, it’s just one of the many aspects that can help your store soar to the top. It’s certainly a great tactic to use to do the right promotion in order to assist you can creating a name that’s reputable. However, this goes for naught without inputting an incredible plan to keep things moving along accordingly. That’s why we’ve come up with a guide to help you get things started on your ecommerce site. As a result, it’ll help you come up with a great plan to help you build more longevity. Take a look at this step by step by step approach below:

Step 2: Find the Right Affiliate Software and Log In

Setting up an influencer marketing program can be a bit tricky at first, but start by finding a good affiliate software. You can choose something like OSI Affiliate Software. Next, login the admin section.

At this point, you can begin setting up the software.

Step 3: Set up Software

Go to the dashboard section to help get things started as far as finding the “Get Thank You Page Code.”

Step 4: Click Get Thank You Page Code

Here's the point where you go to the actual “Get Thank You Page Code.” From there, you'll be able to see a list of what to pick as it comes up in the drop down section.

Step 5: Select Your Shopping Cart

This part is where you go ahead and select the right shopping cart to go with your store. In this case, we'll choose WooCommerce. Simply scroll through the choices and select the one that fits the purpose.

In case, you needed the code it'll be easy to just copy and paste it as it comes up here. You'll find a box that has the exact code to help you make the integration process a lot easier with your software. You'll want to open the follow step 1 in the image that says:

Open wp-content/plugins/woocommerce/templates/checkout/thankyou.php and place the code that is shown at the bottom below this line of code:

<?php do_action( 'woocommerce_thankyou', $order->id() ); ?>

Here's the full code:
$order = wc_get_order($order);
$ot = $order->order_total;
$os = $order->order_shipping;
$final = $ot-$os;
$coupons = $order->get_items('coupon');
$PromoCode = '';
foreach($coupons as $coupon)
$PromoCode = $coupon['name'];
function hideIF() {
document.getElementById('IF').style.display = '';
function getSaleInfo() {
document.getElementById('st_code').innerHTML='<iframe src="<?php
echo $final; ?>/transaction:<?php
echo $order->id ?>/PromoCode:<?php
echo $PromoCode ?>" alt="" id=IF width=50 height=50 border="0" frameborder="0" onload="hideIF()">';
window.onload = getSaleInfo;
<div id="st_code"></div>

By entering this in, you can now test the integration. Go ahead and open new browser in Incognito mode. Click the link to create a test user. Login as the test user. Click on the referral link once you sign-in and make a test purchase through your online store. Log into the admin section and make sure you see the reward for that user.

This is great way to preview some things before you go ahead and get your own program well under way.

9 Response to "How to Do Influencer Marketing for Your WooCommerce Store"

  1. Comment From Anna Relay

    I wanted to setup on my own so I asked if you have a guide, I was expecting a guide full of words, I’m amazed your guide has images to make it more easier. Keep it up!

  2. Comment From Tim Drew

    This looks promising, definitely gonna sign up.

  3. Comment From Greta Misa

    Oh wow, this looks like a very detailed guide. I think I would be able to set it up on my own.

  4. Comment From Caryle Smith

    Nice detailed steps.

  5. Comment From Samantha Donaldson

    Impressive, great support + detailed guides.

  6. Comment From Louis Sergion

    Easy to follow steps.

Leave a Reply

Your email address will not be published. Required fields are marked *