What is Shopify?
Shopify is an e-commerce platform that allows users to create and manage an online store. Shopify allows users to sell their products across different platforms like social media, web, and mobile.
Can I Integrate Shopify with ThriveTracker?
Absolutely! You can easily track your Shopify products as offers within Thrive with just a few simple steps.
Adding Your Shopify Link to ThriveTracker
First, go to your Offers tab in your navigation menu in Thrive. Then select Add a New Offer.
Fill in the offer details like offer name, offer group, conversion value.
Enter in the Shopify link for your store or product page into the Offer URL field.
Click Save once complete.
Adding Your ThriveTracker Pixel to Shopify
Now that we have our offer set up in Thrive with our Shopify link, let's take a look at how to add our Thrive pixel to Shopify in order to track conversions (purchases).
Go to the Tracking tab in your navigation menu in Thrive and to the Pixels/Postback Section.
Shopify does not currently support Postback URLs, so you will need to grab the Global Iframe Pixel from Thrive:
Note: Shopify requires the use of https (secure) pixels. Please make sure you have SSL enabled on your Thrive dedicated domain before moving forward. You can read more about our SSL options here.
We need to make a few changes to the iframe pixel. Your Thrive pixel should look like the below (with your own Thrive domain):
<iframe src="https://yourthrivedomain.com/path/frame.php?tid=&offerid=&amount=&subid=" loading="eager" style="display:none;"></iframe>
First, add Shopify's {{ order_number }} token in the tid parameter of the iframe. It's recommended to place this token so that you can track the different orders in Thrive and match them up to the orders within Shopify.
If you would like your conversion value in Thrive to be the total price of the order in Shopify, make sure to place this token in the amount parameter of the iframe pixel: {{ total_price | money_without_currency }}.
Using the above 2 tokens, our Thrive iframe pixel that we would place in Shopify would look like this:
<iframe src="https://yourthrivedomain.com/path/frame.php?tid={{ order_number }}&offerid=&amount={{ total_price | money_without_currency }}&subid=" loading="eager" style="display:none;"></iframe>
Please leave the offerid and subid parameters empty.
In Shopify, go to Settings --> Checkout.
Scroll down to the Order Processing section.
You should see an Additional Scripts box there. Paste your Thrive pixel in this box.
Scroll down to the bottom of the page and hit Save.
It's as easy as that! Want to track different product pages separately? Just set them up as their own offer in Thrive. You can use the same global pixel so you don't need to place any additional scripts.
How do I redirect traffic from Thrive to my Shopify store now?
First, either create a new campaign or edit an existing campaign in Thrive. Under the offer & landing pages tab (your campaign rotation), select "Add Offer" and add in your new Shopify offer(s).
Once added, go to the General Information & Stats tab. You will see your campaign URL listed on this page. This is the URL you will place with your traffic source to redirect traffic through Thrive and then to your Shopify offer.
Can I send traffic to my Shopify store without a campaign redirect?
You can send traffic direct to your Shopify store without using a campaign url redirect first. This is helpful for sources like Facebook who may flag campaign redirects.
Just grab your Landing Page Pixel from the General Information tab of your campaign.
Copy the full landing page pixel code.
Then go into Shopify to Online Store --> Live Theme --> Actions --> Edit Code
If your Shopify offer URL is for the homepage of your store, then go to the Templates folder, select index.liquid.
Paste your full landing page pixel under the {{ content_for_index }}.
Save.
If your Shopify Offer URL is for a specific product page, then go to the templates folder --> the specific product liquid page for that product. Paste your full landing page pixel at the bottom of the code. Save.
You can now send traffic directly to your Shopify URL from your traffic source.
Can I Still Track Custom Variables if Sending Traffic Direct to My Shopify Page with the LP Pixel?
Do you have custom variables from your traffic source that you want to track in Thrive? For example, if you are running traffic from Facebook and you want to capture the campaign or ad information from Facebook that resulted in clicks/conversions to your Shopify offer. Just add those custom variables to your Traffic Source Template in Thrive. Then inside of your campaign, navigate to the Landing Page Pixel modal again, scroll down and you will see a section titled How to Pass Custom Variables from the Traffic Source. You can append that query string to the end of your Shopify offer URL.
Let's look at example:
If this is our Shopify URL we set up in our Thrive offer: https://testing.myshopify.com/products
and we have Facebook as our traffic source assigned to the campaign, we could append our Facebook query string to this URL:
https://testing.myshopify.com/products?campid=1234&ad_id={{ad.id}}&adset_id={{adset.id}}&campaign_id={{campaign.id}}&ad_name={{ad.name}}&adset_name={{adset.name}}&campaign_name={{campaign.name}}
Appending these would allow us to track this custom variable information in our Thrive reports.
Have additional questions or need further support? Please contact Support anytime and we would be happy to help you out.
Comments
0 comments
Please sign in to leave a comment.