-
Notifications
You must be signed in to change notification settings - Fork 1
LeadSpeaker
LeadSpeaker was previously called ReEngage.
Installation is a manual for the moment. Here's what you'll need to do.
-
Checkout the latest version of the code (
dev
branch) -
Create an application on Shopify. Make sure to use Legacy authentication. Details on this can be found on the environment setup page
a. You'll want the redirect URL to be
http://app-engine-name.appspot.com/a/shopify?app=ReEngageShopify
-
In your
local_consts.py
file, make sure that the following is present:SHOPIFY_APPS = { //... whatever other apps. 'ReEngageShopify': { 'api_key': 'YOUR_APP_ID', 'api_secret': 'YOUR_APP_SECRET', 'facebook': { 'app_id': '392482400810748', 'app_secret': '70936547d4f80c815dcd3dff67eab869' } } }
a. If your test site is not on
myshopify.com
, you'll need to create a new Facebook application -
Deploy to your domain on appspot
-
Visit
your-domain.appspot.com/r/shopify/beta
, and enter your shopify store URL -
After you've installed the application, there will be some instructions about adding Fraser. Don't worry about that section of the instructions. Instead, visit your store's admin interface (
your-store.myshopify.com/admin
). -
Visit Themes > Template Editor, and under Layouts, you'll need to edit theme.liquid
-
Remove any of the tags that you might find in the Shopify SEO guide for designers. Our snippet will be doing most of this work.
-
Add the following snippet:
{% include 'leadspeaker-header' %}
-
-
To be absolutely sure that products exist, run this URL:
http://your-domain.appspot.com/product/shopify/fetch?app_uuid=APP_UUID
-
To be absolutely sure that collections exist, run this URL:
http://your-domain.appspot.com/collection/shopify/fetch?app_uuid=APP_UUID
-
You should also run the following to create the queues, in case they haven't been created:
https://your-domain.appspot.com/r/shopify/get_or_create_queues?client_uuid=CLIENT_UUID
-
If you're deploying for a customer, you'll need to create a custom Facebook application with their domain. Once you've done that, you'll need to visit the following URL and enter the details:
http://your-domain.appspot.com/r/setup_fb
-
Make sure to add the following div to the relevant spot on the page:
<div id="_willet_buttons_app"></div>
-
Follow the instructions in the email to activate your account, and follow the subsequent link to login, and VOILA!