1) Locate the JavaScript snippet for your Anyword project:
-
- Log in to go.anyword.com and click on Website Automation which can be found under Copy Intelligence on the left navigation bar.
- After importing assets from your webpage and adding copy variations, click on Modify settings.
- Follow the steps to set up your campaign settings - define the percentage of traffic and choose your conversion goal.
- Scroll down to the "Setup on your site" section for the JavaScript code for your site.
- Copy the full JavaScript snippet.
Note: The snippet cannot be served currently via Google Tag Manager
2) Insert the JavaScript snippet on your website
If you’re using a Shopify website, please skip to step 3.
Place it at the beginning of the <head> section, right after the <head> tag.
3) Specific instructions for Shopify Web Admin
- Open your Shopify web admin
- Go to Sales Channels > Online St
- Actions > Edit Code
Select Layout > theme.liquid
Paste the script inside the top of the head (right after <head>) and click “Save”
4) Verify the JavaScript snippet setup
-
-
Go back to your go.anyword.com campaign.
-
Click on the Verify setup button under the JavaScript snippet box
-
If the snippet was properly installed on your website, a Campaign is verified message will be displayed
- The snippet is unique per URL domain. Once set up, you can configure as many Anyword campaigns as you want on the domain subpages.
-
5) Setting up the Conversion Goal
You have 3 options for your conversion goal:
- Destination URL - If your CTA redirects end user to a href URL
- Call to action button selection - You can select the CSS selector of the goal CTA button
- Call our code when a user converts - If none of the first two options answer your use case, you can add the following call into the JS function code: KW.send_click();
____________________________________________________________________________________________________________
Contact Us:
If you have any further questions, please free feel to reach out to our Anyword Support team.