Site Tracking: Difference between revisions

From Activepedia
Jump to navigation Jump to search
(SEO-optimized content from ActiveCampaign documentation)
(SEO-optimized content from ActiveCampaign documentation)
Line 1: Line 1:
```mediawiki
```mediawiki
'''Navigation:''' [[Main_Page]] > [[Website]] > Site Tracking
'''Navigation:''' [[Main_Page]] > [[Apps]] > [[Shopify]] > Site Tracking


= How to Set Up Site Tracking =
= Use ActiveCampaign Site Tracking with your Shopify store =


== Introduction ==
== Introduction ==
Site Tracking is a powerful feature in ActiveCampaign that links your marketing and sales efforts to the activities taken by contacts on your website. By tracking webpage visits in '''real-time''', it allows you to understand how your audience interacts with your content and resources. This data can be invaluable for tailoring marketing strategies and improving customer engagement.
ActiveCampaign Site Tracking is a feature that allows you to track page visits made to your Shopify store. This functionality is vital as it helps create automated workflows based on visits to your store, enhancing your marketing strategy. With Site Tracking, you gain insights about which identified contacts are visiting your pages, enabling you to tailor communications and marketing efforts effectively.  


The importance of Site Tracking cannot be overstated—it enhances your ability to target and nurture leads based on their behavior, leading to increased conversion rates and more effective communication.
This article specifically applies to customers using the ActiveCampaign Shopify integration, providing step-by-step guidance on how to set up and utilize Site Tracking within your store.


== How to Access This Feature ==
== How to Access Site Tracking ==
To access the Site Tracking feature, follow these steps:
To utilize Site Tracking for your Shopify store, the feature must be properly configured following the connection of your Shopify store to your ActiveCampaign account. Depending on whether you connected your store before or after April 27, 2021, the steps to set up Site Tracking will vary.
1. Log in to your ActiveCampaign account.
2. On the left menu, navigate to '''Website''', then select '''Site Tracking'''.


== Step-by-Step Instructions ==
== Step-by-Step Instructions ==
Follow these comprehensive steps to set up Site Tracking:


1. **Open Site Tracking**:
=== For Connections Made on or After April 27, 2021 ===
   - Click on '''Website''' > '''Site Tracking''' on the left menu.
1. Once you connect your Shopify with ActiveCampaign, you will be prompted to install the ActiveCampaign CX Automation app in your store.
2. Upon successful installation, ActiveCampaign will:
   * Automatically add '''Site Tracking''' code to your Shopify store.
  * Automatically whitelist your domain (your Shopify store URL) in your ActiveCampaign account.


2. **Enable Site Tracking**:
To view your whitelisted domain:
  - In the Site Tracking section, you will see an '''Enable''' toggle. Set it to the '''On''' position to activate Site Tracking.
- Navigate to **Website** > **Site Tracking** in your ActiveCampaign account.


  ![Enable Site Tracking](https://help.activecampaign.com/system/photos/360078964759/_DSC5836_Sarah.jpg)
=== Turning Off Site Tracking ===
To disable Site Tracking at any time:
1. Log into your ActiveCampaign account.
2. Click **Website** > **Site Tracking**.
3. On the Tracking page, uncheck the '''Site Tracking''' box next to your whitelisted domain.


3. **Add Your Website URL**:
You can also toggle the '''Enable''' switch in the '''Site Tracking''' box to the "Off" position. Note that this will deactivate Site Tracking for all whitelisted domains in your ActiveCampaign account.
  - Enter your website URL in the '''Add Website URL''' field. Ensure you exclude the “http://” protocol. It is not necessary to include the "www" portion of the URL to whitelist a domain.
 
4. **Configure Page Whitelisting**:
  - By default, the '''Include all website pages''' option is selected. This means all pages of your domain will be tracked.
  - If you want to track only a specific page or subdomain, enter the exact URL of that page in the '''Add Website URL''' field and uncheck the '''Include all website pages''' box.


5. **Add Additional URLs**:
=== For Connections Made Before April 27, 2021 ===
  - Click the '''Add''' button to confirm the addition of your URL.
If you established the connection prior to the specified date, you must manually set up Site Tracking. Here’s how:
  - If you have more domains or subdomains to track, repeat steps 3-5 for each one.


6. **Confirm Tracking Settings**:
1. Click **Website** > **Site Tracking** in the left menu.
  - After adding URLs, your domain will be displayed in the '''Website URL''' section of the tracking page. The box next to '''Site Tracking''' will be checked by default, indicating visits to your whitelisted URL will be tracked once you install the code on your site.
2. Toggle the '''Enable''' switch to the "On" position in the Site Tracking box.
   - The '''Conversations''' box will also be checked by default. If you are using the '''Conversations''' feature, the chat widget will appear on the tracked pages. You can uncheck this if you are not using the feature.
3. Add your domain to the whitelist by typing it into the '''Add Website URL''' field and then click the '''Add''' button.
  * Ensure the domain you add is your store URL.
   * If you're not utilizing the '''Conversations''' feature, you can uncheck the '''Conversations''' box.


  > **Note**: The '''Conversations''' feature is no longer available for purchase to new customers as of January 3, 2023.
4. Copy the Site Tracking code displayed in the '''Tracking Code''' box and paste it into a new text file.
5. Remove the following two Javascript tags from your text file:
  * <script type="text/javascript">
  * </script>


== How to Install Site Tracking Code ==
6. Save your text file as plain text with a .JS extension. (Tip: If using TextEdit on Mac, you may need to convert your document from Rich Text to Plain Text.)
To complete the setup of Site Tracking, you'll need to install the tracking code on your website:
7. Log into your Shopify store and navigate to **Online Store** then **Themes** on the left menu.
8. Click **Actions** from the dropdown, select **Edit Code**.
9. In the **Assets** section, select '''Add a new asset.'''
10. Click the **Choose File** button, select the Javascript file you created, and click **Upload asset.**
11. Head to the **Layout** section at the top of the Themes page and select **theme.liquid.** In the head section, add the line:
    * {{ 'ActiveCampaign_Tracking.js' | asset_url | script_tag }}
  * Replace 'ActiveCampaign_Tracking.js' with your actual JS file name.
12. Click **Save** once finished.


1. **Access Tracking Code**:
=== Verifying Successful Installation ===
  - Return to your ActiveCampaign account, and navigate back to '''Website''' > '''Site Tracking'''.
To confirm that Site Tracking code is correctly installed:
1. Visit your store's public page.
2. Open your browser's developer tools.
3. The developer console should display the JS file and the ActiveCampaign tracking code.


2. **Copy the Tracking Code**:
For assistance on locating your browser's developer tools, refer to these resources:
  - Click the code provided in the '''Tracking Code''' box.
- [Chrome Developer Tools](https://developer.chrome.com/devtools)
  - Copy the code to your clipboard.
- [Firefox Developer Tools](https://developer.mozilla.org/en-US/docs/Tools/Web_Console)
 
- [Internet Explorer DevTools](https://docs.microsoft.com/en-us/microsoft-edge/f12-devtools-guide)
3. **Paste in Your Website**:
  - Paste the copied code into the footer of each page on your website you wish to track. Placing it in the footer ensures the code will load on all desired pages.
  - It is advisable to check the documentation of your Content Management System (CMS) for proper code placement.
 
  > **Note**: If you are using a WordPress site, refer to the active article on using Site Tracking with WordPress for detailed instructions.


== Configuration Options and Settings ==
== Configuration Options and Settings ==
Here are the key configuration options available when setting up Site Tracking:
- **Site Tracking Code**: A unique code connected to your ActiveCampaign account is pivotal for the tracking functionality.
 
- **Enable/Disable Toggle**: Controls the activation of '''Site Tracking''' functionality.
- **Enable Toggle**: Activates or deactivates Site Tracking.
- **Whitelisted Domain**: The domain from which visits are tracked must be added to your whitelist to ensure proper tracking of user activities.
- **Add Website URL**: Defines which URLs you want to track.
- **Javascript Code**: Custom implementation must involve pasting the Javascript file into your Shopify store to activate tracking.
- **Include all website pages**: You can decide to opt in or out to track all pages under your domain.
- **Site Tracking Box**: Indicates whether tracking is enabled for added URLs.
- **Conversations Box**: Immerses the chat widget on tracking pages if you are using the Conversations feature.


== Best Practices and Tips ==
== Best Practices and Tips ==
- **Thoroughly Review Support Articles**: Familiarize yourself with the [[Overview of Site Tracking]] help article to enhance your understanding of how the feature works.
- Regularly check that your '''Site Tracking''' setup is functioning properly by verifying the code installation.
- **Install Code Correctly**: Ensure that the tracking code is installed in the footer of every page you wish to monitor for optimal functionality.
- Ensure that your store's URL is accurately added to the whitelist.
- **Regularly Monitor Data**: Keep an eye on the analytics provided by Site Tracking to adjust your marketing strategies and conversations accordingly.
- Use the analytical data from tracked visits to inform your marketing strategies and improve customer engagement.
- **Consider Page Relevance**: Only track pages that are relevant to your sales and marketing funnels to maintain a clean and effective tracking environment.
- Familiarize yourself with the developer tools in your browser for efficient troubleshooting and validation of the tracking setup.
 
== Common Use Cases with Examples ==
- **Lead Scoring**: Utilize site tracking to gauge how leads interact with your website, adjusting their scores accordingly based on their activity.
- **Personalized Marketing**: Use the data collected from site tracking to personalize marketing messages sent to different segments of your contact list.
- **Behavior-Based Automation**: Implement automation that connects with contacts based on specific pages they visit, enhancing engagement through targeted communications.


== Troubleshooting ==
== Troubleshooting ==
In case you encounter issues with Site Tracking, consider the following steps:
If you encounter issues during the setup:
- **Recheck Code Placement**: Ensure that the tracking code is correctly installed on all pages you wish to monitor.
- Ensure that you correctly removed the specified Javascript tags.
- **Confirm Toggle Settings**: Verify that the '''Enable''' toggle is set to the '''On''' position.
- Confirm that you saved your file with the appropriate .JS extension.
- **Look at URL Formats**: Confirm that the website URLs entered conform to the correct format without the "http://".
- If issues persist with the Shopify theme, consult [Shopify's "Support for themes" page](https://help.shopify.com/en/manual/online-store/themes/theme-support).


== FAQ ==
== FAQ ==
*Q: Can I track pages other than my main domain?*
=== What is Site Tracking? ===
A: Yes, you can track subdomains and specific pages by entering their URLs in the '''Add Website URL''' field.
Site Tracking in ActiveCampaign allows you to track page visits made by identified contacts on your Shopify store, enabling automated workflows.


*Q: What should I do if the tracking isn’t working?*
=== How do I ensure my domain is whitelisted? ===
A: Double-check the placement of the tracking code and ensure the feature is enabled.
You can check your whitelisted domain by navigating to **Website** > **Site Tracking** in your ActiveCampaign account.


*Q: Is Site Tracking available in all ActiveCampaign plans?*
=== Can I turn off Site Tracking at any time? ===
A: Yes, this feature is available for the Starter, Plus, Pro, and Enterprise plans.
Yes, you can deactivate Site Tracking at any time using the settings in your ActiveCampaign account.


*Q: How does Site Tracking benefit my marketing efforts?*
=== What should I do if my tracking code is not working? ===
A: It allows you to understand visitor behaviors, segment audiences based on interests, and personalize marketing campaigns effectively.
Make sure you followed all installation steps correctly. Verify your domain is whitelisted and consider checking your browser's developer tools for errors.


*Q: Is there a limit to how many URLs I can track?*
=== Is Site Tracking available on all ActiveCampaign plans? ===
A: There is no specified limit in the documentation for the number of URLs you can add for tracking.
Yes, Site Tracking is available on the Starter, Plus, Pro, and Enterprise plans of ActiveCampaign.


*Q: Can I see who visited my site?*
=== Do I need technical knowledge to set up Site Tracking? ===
A: Yes, Site Tracking provides insights into contacts who visit your site, allowing for better follow-ups and engagement.
While basic web development knowledge can be beneficial, the steps are designed to be straightforward for most users.


*Q: Will Site Tracking work with 1:1 emails?*
=== Where can I find more resources for troubleshooting? ===
A: No, Site Tracking is not supported in 1:1 emails.
For more help with your Shopify theme, you can access resources directly on Shopify's support pages.


For additional help and more advanced topics regarding Site Tracking, visit the relevant articles in the ActiveCampaign documentation.
Learn more about ActiveCampaign's Site Tracking [here](https://help.activecampaign.com/hc/en-us/articles/221542267-An-overview-of-Site-Tracking).
```
```

Revision as of 14:48, 3 November 2025

```mediawiki Navigation: Main_Page > Apps > Shopify > Site Tracking

Use ActiveCampaign Site Tracking with your Shopify store

Introduction

ActiveCampaign Site Tracking is a feature that allows you to track page visits made to your Shopify store. This functionality is vital as it helps create automated workflows based on visits to your store, enhancing your marketing strategy. With Site Tracking, you gain insights about which identified contacts are visiting your pages, enabling you to tailor communications and marketing efforts effectively.

This article specifically applies to customers using the ActiveCampaign Shopify integration, providing step-by-step guidance on how to set up and utilize Site Tracking within your store.

How to Access Site Tracking

To utilize Site Tracking for your Shopify store, the feature must be properly configured following the connection of your Shopify store to your ActiveCampaign account. Depending on whether you connected your store before or after April 27, 2021, the steps to set up Site Tracking will vary.

Step-by-Step Instructions

For Connections Made on or After April 27, 2021

1. Once you connect your Shopify with ActiveCampaign, you will be prompted to install the ActiveCampaign CX Automation app in your store. 2. Upon successful installation, ActiveCampaign will:

  * Automatically add Site Tracking code to your Shopify store.
  * Automatically whitelist your domain (your Shopify store URL) in your ActiveCampaign account.

To view your whitelisted domain: - Navigate to **Website** > **Site Tracking** in your ActiveCampaign account.

Turning Off Site Tracking

To disable Site Tracking at any time: 1. Log into your ActiveCampaign account. 2. Click **Website** > **Site Tracking**. 3. On the Tracking page, uncheck the Site Tracking box next to your whitelisted domain.

You can also toggle the Enable switch in the Site Tracking box to the "Off" position. Note that this will deactivate Site Tracking for all whitelisted domains in your ActiveCampaign account.

For Connections Made Before April 27, 2021

If you established the connection prior to the specified date, you must manually set up Site Tracking. Here’s how:

1. Click **Website** > **Site Tracking** in the left menu. 2. Toggle the Enable switch to the "On" position in the Site Tracking box. 3. Add your domain to the whitelist by typing it into the Add Website URL field and then click the Add button.

  * Ensure the domain you add is your store URL.
  * If you're not utilizing the Conversations feature, you can uncheck the Conversations box.

4. Copy the Site Tracking code displayed in the Tracking Code box and paste it into a new text file. 5. Remove the following two Javascript tags from your text file:

  * <script type="text/javascript">
  * </script>

6. Save your text file as plain text with a .JS extension. (Tip: If using TextEdit on Mac, you may need to convert your document from Rich Text to Plain Text.) 7. Log into your Shopify store and navigate to **Online Store** then **Themes** on the left menu. 8. Click **Actions** from the dropdown, select **Edit Code**. 9. In the **Assets** section, select Add a new asset. 10. Click the **Choose File** button, select the Javascript file you created, and click **Upload asset.** 11. Head to the **Layout** section at the top of the Themes page and select **theme.liquid.** In the head section, add the line:

   * Template:'ActiveCampaign Tracking.js' 
  * Replace 'ActiveCampaign_Tracking.js' with your actual JS file name.

12. Click **Save** once finished.

Verifying Successful Installation

To confirm that Site Tracking code is correctly installed: 1. Visit your store's public page. 2. Open your browser's developer tools. 3. The developer console should display the JS file and the ActiveCampaign tracking code.

For assistance on locating your browser's developer tools, refer to these resources: - [Chrome Developer Tools](https://developer.chrome.com/devtools) - [Firefox Developer Tools](https://developer.mozilla.org/en-US/docs/Tools/Web_Console) - [Internet Explorer DevTools](https://docs.microsoft.com/en-us/microsoft-edge/f12-devtools-guide)

Configuration Options and Settings

- **Site Tracking Code**: A unique code connected to your ActiveCampaign account is pivotal for the tracking functionality. - **Enable/Disable Toggle**: Controls the activation of Site Tracking functionality. - **Whitelisted Domain**: The domain from which visits are tracked must be added to your whitelist to ensure proper tracking of user activities. - **Javascript Code**: Custom implementation must involve pasting the Javascript file into your Shopify store to activate tracking.

Best Practices and Tips

- Regularly check that your Site Tracking setup is functioning properly by verifying the code installation. - Ensure that your store's URL is accurately added to the whitelist. - Use the analytical data from tracked visits to inform your marketing strategies and improve customer engagement. - Familiarize yourself with the developer tools in your browser for efficient troubleshooting and validation of the tracking setup.

Troubleshooting

If you encounter issues during the setup: - Ensure that you correctly removed the specified Javascript tags. - Confirm that you saved your file with the appropriate .JS extension. - If issues persist with the Shopify theme, consult [Shopify's "Support for themes" page](https://help.shopify.com/en/manual/online-store/themes/theme-support).

FAQ

What is Site Tracking?

Site Tracking in ActiveCampaign allows you to track page visits made by identified contacts on your Shopify store, enabling automated workflows.

How do I ensure my domain is whitelisted?

You can check your whitelisted domain by navigating to **Website** > **Site Tracking** in your ActiveCampaign account.

Can I turn off Site Tracking at any time?

Yes, you can deactivate Site Tracking at any time using the settings in your ActiveCampaign account.

What should I do if my tracking code is not working?

Make sure you followed all installation steps correctly. Verify your domain is whitelisted and consider checking your browser's developer tools for errors.

Is Site Tracking available on all ActiveCampaign plans?

Yes, Site Tracking is available on the Starter, Plus, Pro, and Enterprise plans of ActiveCampaign.

Do I need technical knowledge to set up Site Tracking?

While basic web development knowledge can be beneficial, the steps are designed to be straightforward for most users.

Where can I find more resources for troubleshooting?

For more help with your Shopify theme, you can access resources directly on Shopify's support pages.

Learn more about ActiveCampaign's Site Tracking [here](https://help.activecampaign.com/hc/en-us/articles/221542267-An-overview-of-Site-Tracking). ```