A full step-by-step guide on how to integrate a campaign in Keitaro with the Shopify website.
Content
Creating Campaign in Keitaro Tracker
It’s obligatory to use a domain with SSL in a campaign’s link, the connection should be with an HTTPS.
1. First of all, we need to create a campaign that should be launched when we open the Shopify website.
Check this video for campaign creation.
2. Create two streams. For example, we are going to leave bots on a Shopify website, and other visitors should be redirected to a necessary target page, e.g. apple.com. In this case, the settings will be the following:
EXTREMELY IMPORTANT! There should be a js-redirect used in a stream with a redirect or in the offer.
3. Select the domain with HTTPS inside the campaign:
4, Save the changes in this campaign.
Creating Website on Shopify
1. Click the Start Free Trial button on shopify.com:
2. Put your email, password, and website name:
3. Fill in the answers to the questions and click Enter My Store.
4. You’ll get to a page with your website.
Setting up the Integration
1. Go back to Keitaro Tracker. There, open the campaign, click the Integration button, and select Scrypt (async, recommended):
2. Copy the code from the field Code for Landing Page:
3. Go to Shopify and click on Online Store in the menu on the left:
4. Click on Themes, then open a dropdown Actions menu and select Edit Code:
5. A code editor will open. Click on password.liquid, and paste the copied from Keitaro code between <head> and the following line:
The inserted code should look like the following:
6. Click Save to save the changes.
7. Done, now when anyone clicks the Shopify link:
https://testimshopik.myshopify.com/password
The campaign from Keitaro Tracker will be launched, and bots will be left on a Shopify website, others will get to the website from the second stream.
How to Set up Integration with a Paid Version of Shopify
1. In a paid version of the Shopify theme.liquid file should be edited instead of password.liquid. Insert the code from Keitaro Tracer the same way after <head>:
The inserted code should look like the following:
2. Click Save to save the changes.
In a paid version of Shopify, your link will be:
https://testimshopik.myshopify.com
Without /password.
3. Done, the integration is set.
What If Integration Doesn’t Work?
- Make sure you use a domain with ab HTTPS inside the campaign.
- Check the offers and streams settings, there should be a js-redirect.
- Make sure you copy the right code from the Integration tab inside the campaign.
In case you have any questions left – feel free to contact our support team on our website, in Telegram @keitarobot, or write us an email at support@keitaro.io