Download

Switch From Universal Analytics to GA4 [Analytify]

As of July 1, 2023, the old version of Google Analytics (Universal Analytics) has been phased out. This means that Universal Analytics will no longer receive updates from the Google Analytics Team. Instead, all new features and enhancements will only be available in GA4.

If you are currently using Universal Analytics, it is important to switch to GA4 in order to ensure that Google Analytics continues to function correctly.

Video Tutorial

If you’d prefer written instructions, just keep reading.

Switching to GA4 with Analytify

1. Go to Analytify >> Settings >> Advanced.
2. In the Google Analytics Version dropdown menu, select GA4 – Google Analytics 4.
3. Click Save Changes.

Select Google Analytics Version

4. You will now be able to select a Profile GA4 Profile.
5. In the Profile tab, select your GA4 profile and click Save Changes.

GA4 Profile.

6. After switching to GA4, also update the tracking mode. It should be set to gtag.js, as shown in the below screenshot:

Tracking mode (gtag.js)

How to Switch to GA4 if You’re Using Custom APIs 

When switching to GA4 within the Analytify dashboard while using the custom APIs option, you can encounter an error that prevents data retrieval upon switching from Universal Analytics (UA) to GA4.

To effectively address this situation, you must enable the necessary Google APIs within your Google Cloud project. Follow the below steps:

Step 1: Enable Required Google APIs

  • Log in to your Google Cloud project associated with your Analytify account.
  • Navigate to the API Library section.
  • Identify the necessary Google Analytics APIs that need to be enabled for a successful transition to GA4. You can find detailed instructions on which APIs to enable in our article section titled as “Enable Required Google Analytics APIs.”
  • Activate the specified APIs by following the provided instructions.

Step 2: Wait and Reauthenticate

  • After enabling the required APIs, please wait for approximately an hour.
  • Then, reauthenticate your Google Analytics account with Analytify by navigating to the Authentication tab, as shown in the below screenshot. 
login you WordPress site with Google Analytics

Your system should work fine once you have enabled all the required APIs.

Step 3: Verify Functionality

  • Once reauthenticated, test the system to ensure that data retrieval and tracking are working fine.
  • Monitor your analytics data to confirm that the transition from UA to GA4 has been successful.

Alternate Solution: Using Analytify Default API Keys

You can disable the custom API keys option if you prefer not to use additional APIs.

Follow these steps:

  • In the Analytify dashboard, navigate to Settings >> Advanced tab >> Setup Custom API keys. 
  • Disable the custom API keys option and then save the changes. 
custom apis analytify

Now, reauthenticate your Google account by navigating to the Authentication tab.

log in with google analytics 4

Verify the system to ensure that data retrieval and tracking are operational.

By carefully following these step-by-step instructions, you can easily switch to GA4 within the Analytify dashboard while using custom APIs, ensuring smooth integration and uninterrupted access to your Google Analytics data.

That’s it! With a few clicks, you can switch your Universal Analytics to GA4.

Maximize GA4 with Analytify

Want to know more about GA4 being fully compatible with Analytify? You can read our announcement post here: Introducing Analytify 5.0: Fully Compatible with Google Analytics 4 (GA4) 

If you have any doubts or questions related to this matter, please don’t hesitate to contact our support team.

Analytify & API Endpoints

Following the release of Analytify 5.0 – our latest version of the popular analytics plugin for WordPress v5.0.0, we are moving completely to Rest API.

API Endpoints refer to the specific URLs used to access the different functions or resources an API provides (Application Programming Interface). Since WordPress has moved a large part of its functionality on it. It is recommended to keep it ENABLED because by disabling it, you won’t be able to create any posts with the WordPress block editor.

Here are the Endpoints we are using for that:

Analytify Core: /wp-json/wp-analytify/v1/get_report/*

Analytify Pro: /wp-json/wp-analytify/v1/get_pro_report/*

Dashboard Widget : /wp-json/wp-analytify/v1/get_widget_report/*

Authors Tracking Addon: /wp-json/wp-analytify/v1/get_author_report/*

Campaigns Addon: /wp-json/wp-analytify/v1/get_pro_campaigns_report/*

Forms Tracking Addon: /wp-json/wp-analytify/v1/get_forms_report/*

WooCommerce Addon: /wp-json/wp-analytify/v1/get_pro_woo_report/*

Note: If you disable the rest API, Analytify won’t work correctly.

If you have any doubts or questions related to this matter, please don’t hesitate to contact our support team.

How to Generate an Invoice for Your Analytify Purchase

Analytify Pro is the premium version of Analytify, the best WordPress Google Analytics plugin that provides advanced Google Analytics integration for your WordPress websites. 

In this knowledge base article, we’ll show you how to print and generate a customized invoice for your Analytify Pro purchase. 

Print Invoice 

Upon purchasing Analytify Pro, you should receive confirmation emails to the email address where the subscription is bought. One of them contains login details to your premium Analytify Account.

Step 1: Login into Your Account

To print an invoice,  you’ll Log In to your Analytify Account using your Username and Password.

Account Log In

 

Step 2: Navigate to Purchase History 

Next, navigate to the Purchase History >> View Invoice

Purchase History

 

Step 3: Click ‘View Invoice’ 

Next, on clicking the View Invoice option to open a new window containing the Invoice of your purchase.

Invoice Window

 

Step 4: Print or Download a PDF 

Now here, you can either Download or Print the invoice as per your choice.

Download Invoice in PDF

Step 5: Generate a Custom Invoice 

To generate a Customized Invoice for your purchase, click the Update option.

Update Invoice

On clicking the Update option, a Generate Invoice form appears. You’ll fill it with custom details and click on the Save Billing Details & Generate Invoice button.

Save Billing Details and Generate Invoice

Once done, you’ll jump to the next screen where you can Print and Download the invoice. 

Generated Custom Invoice

That’s it! With a few clicks, you can Generate and Download an invoice.

Want to set up Analytiy Pro? Check out our detailed guide on How to Install the Pro version of Analytify

If you have any doubts or questions related to this matter, please don’t hesitate to contact our support team.

 

How To Install Analytify Free Version

As a comprehensive Google Analytics solution for WordPress, Analytify stands out as a great alternative to WordPress Google Analytics integrations. Its easy-to-use interface and detailed reporting features make it a strong contender for anyone looking to gain deeper insights into their website traffic. 

It not only gives you a quick look at all of your data, but it also gives you stats for each post or page right in your WordPress dashboard. In this post, we’ll show you how to install Analytify free version on your WordPress site and turn it on.

Prerequisites

Make sure you have the following before we start:

• A WordPress site that you host yourself.

• Admin Access to your WordPress site.

• An Active Google Analytics account.

Video Tutorial

If you’d prefer written instructions, keep reading.

Install and Activate Analytify Free 

There are multiple ways to install the Analytify free version. However, installing Analytify from the WordPress admin dashboard is the easiest method. Simply click the links below to jump to the method you prefer:

  • Method 1. Download Analytify Core from WordPress Plugin Directory 
  • Method 2. Download Analytify Core from the WordPress Admin Dashboard 

Let’s look at how to install the Analytify plugin easily. 

Method 1: Download Analytify Free from WordPress Plugin Directory 

You can download the zip file from the WordPress plugins directory.

Analytify Download

Once downloaded the zip file, go to your WordPress admin dashboard and navigate to the Plugins option. Select Add New, click the Upload Plugin button at the top, and click Choose File. Then Press Install Now. Without further add, see the screenshot below:

Install-Plugin-File-


Once the installation is complete, click the Activate Plugin button. 

Activate-Plugin

Method 2: Download Analytify from WordPress Admin Dashboard 

The steps for installing and activating Analytify are pretty easy to follow. Let’s go through them one by one.

Step 1: Install Analytify Plugin

1. Log in to your WordPress Dashboard.

2. Navigate to Plugins on the left sidebar menu, then click on Add New.

3. In the search bar, type Analytify – Google Analytics Dashboard Plugin for WordPress.

4. Once the Analytify plugin appears, click Install Now. After the installation process is complete, the Install Now button will change to Activate.

install google anallytify free version

Step 2: Activate Analytify Plugin

activate analytify

1. Click on Activate to enable the Analytify plugin on your WordPress website.

2. Upon activation, you’ll find Analytify added to your WordPress dashboard menu. Click on it to go to the Analytify settings page.

anaytify settings

3.  After clicking on Settings, you will see a message to Allow and Continue, click on it, and you’ll start 

allow analytify to integrate to Google Analytics

Step 3: Connect Google Analytics with Analytify

Now, you need to connect your Google Analytics account with Analytify.

1. Under the Analytify section in your WordPress dashboard, click on Settings.

2. Go to the Authentication tab.

3. Here, you will see a button labeled Log in with your Google Analytics Account. Click on it.

log in with google analytics 4

4.   You’ll be prompted to choose your Google account (the one linked to your Google Analytics).

connect analytify with google

5. After choosing the account, you’ll need to grant Analytify the required permissions. Allow this access.

6. You’ll be redirected back to your WordPress dashboard.

Step 4: Choose Your Preferred Analytics Profile

1. Now, navigate to the Profile tab in the Settings of Analytify.

2. You can select the preferred website’s analytics profile that you’d like to track from the dropdown list.

3. Save your changes.

choose analytics profile

And there you have it! You’ve successfully installed and activated the free version of Analytify on your WordPress website.

Conclusion

Integrating Google Analytics with your WordPress website has never been easier with the use of Analytify. As an efficient alternative to WordPress Google Analytics tools, it simplifies the process and offers comprehensive insights into your site’s traffic and performance. 

It gives you a lot of information about your website’s traffic, interaction, and much more. By following the above steps, you can easily install and turn on the free version of Analytify, which will improve your website’s data.
Remember that Analytify’s free version has simple analytics features. But if you need more advanced tools like real-time stats, better e-commerce tracking, or automated email reports, consider upgrading to the Pro version of the plugin. No matter which version you choose, Analytify is going to make a big difference in your website analytics. Read our guide to learn How to Install And Activate Analytify Pro Plugin.

How to Integrate Google Analytics 4 with Analytify

Integrating Google Analytics 4 with Analytify can help businesses get more value from their analytics data. Analytify is the best WordPress Google Analytics dashboard plugin that offers powerful insights into website traffic, user engagement, and more.

The integration process is relatively straightforward and doesn’t require any coding knowledge. 

In this knowledge base article, we’ll walk you through the steps to integrate Google Analytics 4 with Analytify.

Integrating Google Analytics 4 with Analytify

Step 1: Log into Your Google Analytics 4 Account

Before beginning the integration process, log into your Google Analytics 4 account. If you don’t already have an account, you can create one by navigating to the Google Analytics website and clicking “Sign Up.”

Next, click on the Start Measuring button.

Start Measuring

Step 2: Account Setup

Once logged into your Google Analytics 4 account, you must complete the initial setup. This includes providing basic information about your website, such as the URL and the Industry you are in.

You need to add your Account Name and Data Sharing Settings as per your requirements. 

Account Name

Once done, click on the next button.

Step 3: Property Setup

The next step is to configure your property settings. Here you need to enter the name of your website, the time zone, and other details. 

You also need to enable the Show Advanced Options checkbox if you want Analytify to be able to access your Google Analytics 4 data.

Next, click On the Toggle Button to reveal the advanced options and ensure you have enabled all the necessary permissions.

Once you enable the toggle button, you will see two options to create a property.

  1. Create both a Google Analytics 4 and a Universal Analytics property
  2. Create a Universal Analytics property only 

The first option will create a Universal Analytics and Google Analytics 4 property with the same tracking code—for instance, G-XXXXXXXX-X (Google analytics 4) and UA-XXXXXXX-X (Universal Analytics). 

The second option will create only a Universal Analytics property. We recommend using the first option to create both properties.

Universal Analytics and Google Analytics 4 property

Step 4: Add Business Information

After configuring your property settings, you must provide basic business information about your website. This includes the website category and its purpose. Once you enter the required information, click the Create Property button to save your changes.

Business Information

Step 5: Google Analytics Terms of Service Agreement

The last step is to accept the Google Analytics Terms of Service Agreement. Read through all the terms and conditions carefully before accepting them. Once you accept the terms, your Google Analytics 4 property will be created.

Google Analytics Terms of Service Agreement

Step 6: Integrate Google Analytics 4 with Analytify

Now that your Google Analytics 4 Property has been created, it’s time to integrate it with Analytify. To do this, navigate to WordPress Admin Dashboard >> Plugins >> Add New.

Add New Plugin

Search Analytify and install the plugin.

Install Analytify

Once the plugin is installed, go to Plugins >> Analytify and click on the Settings tab.

Step 7: Authenticate Your Site with GA4

Now, Authenticate your WordPress website with Google Analytics Account. So it can connect the GA4 property of your site to Analytify without touching any code. 

To do this, go to the admin dashboard of your WordPress website. Navigate, Analytify >> Settings >> Authentication tab, and click Log in with your Google Analytics Account.

Login with Your GA Account

After clicking “Log in with your Google Analytics Account,” you will be redirected to the Google Accounts Authentication page; you have to select the Google Account associated with your Google Analytics account.

Choose an Account

Note: If you see the “This app is blocked” error while connecting, you must create a Client ID and Client Secret. Don’t worry. We have written a complete guide to how to get your Client ID and Client Secret From Google Developers Console.

In the next step, you will be asked to Allow the permissions. You have to click on the Continue button.

Click Allow Button

And that’s it! Your Google Analytics account is now successfully connected with Analytify.

Step 8: Select Profile 

You will be redirected back to Analytify >> Profiles. You must select “Profiles for posts” and “Profile for the dashboard.”

  • “Profiles for posts” is the profile used for tracking users.
  • “Profile for dashboard” is the profile for showing stats on Analytify’s Dashboard.
Profile Selection

After selection, click “Save Changes.” For most users, both these options will be the same.

Step 9: Select Google Analytics Version

For those users who have migrated from Universal Analytics (UA) to Google Analytics 4 (GA4). They may not get GA4 property in the dropdown menu in Analytify >> Settings >> Profile.

Then, you have to Select Google Analytics Version to GA4- Google Analytics 4. To do this, go to Analytify >> Settings >> Advanced tab.

Select Google Analytics Version

After it, click Save Changes. It’ll enable you to Select Profile.

View Google Analytics 4 (GA4) Report with Analytify

Now, you can track and analyze valuable insights about your website’s performance within Anaytify Dashboard. To do that, Navigate to Analytify >> Dashboards.

Analytify Dashboard

It usually takes 24-48 hours for data to start appearing in the new GA4 setup. We recommend waiting for this average timeframe to allow the statistics to populate.

By following the simple steps outlined above, you can quickly and easily connect Google Analytics 4 with Analytify and start analyzing your website’s data. Try it out today and see how Analytify can help take your website’s performance to the next level.

If you have any doubts or questions related to this matter, please don’t hesitate to contact our support team.

How to Renew Your Analytify License

When it comes to renewing your Analytify license, the process is simple and straightforward. Renewal is required every year in order to keep using the service and all its features.

In this knowledge base article, we’ll walk you through the steps to renew your Analytify license.

Renewing your Analytify License

Step 1: Log in to your account on Analytify’s website.

First thing first, you need to log in to your Analytify account. Click on the “Account” button located at the top right corner of the website. On the next page, enter your credentials and click the “Login” button.

My Account

Step 2: Navigate to the License Page.

Once you’re logged in, navigate to the License page by clicking on the “License” tab located at the left side of your dashboard. On the License page, you’ll see the current status of your license along with a link to renew it.

License page

Step 3: Renew Your License.

Once the license is about to expire, you will get a notification. You can either renew your license automatically or manually. To renew your license manually, click on the ‘Renew Now’ button located in your Dashboard.

Renew Now

Once you click on the Renew Now button, it will take you to a page that will allow you to renew your license. Follow the instructions and complete the renewal process. Once the renewal has been completed, you will be able to access all of the features and benefits that come with your license.

Congratulations! You have successfully renewed your Analytify license. Enjoy the full suite of features that come with it and keep on track with your business growth. If you have any further questions or queries, please reach out to the Analytify customer support team at any time.

How to Remove HTML Comments in Your WordPress Site

Whether you’re attempting to clean up your code for improved performance or to ensure that your website’s data is captured precisely by your analytics tools, removing HTML comments is an essential step. You might be thinking about how to do this if you use the Analytify plugin for WordPress. This article will show you how to remove HTML comments added by Analytify.

Understanding HTML Comments Added by Analytify

Sometimes, developers and plugins leave HTML comments in the source code as a way to provide information about the code or for debugging purposes. These HTML comments aren’t rendered on the webpage but can be seen if someone views the page source code. These comments look like this:

remove html comment

Let’s learn how to disable HTML comments.

Requirements

1. Admin access to WordPress

2. Analytify Installed and Activated

3. Access to your theme’s source code

How to Remove HTML Comments

HTML comments can be found within the source code of your website, and they do not appear to end-users on the browser. These comments can be helpful for developers as they provide notes or explanations about the code, but they are unnecessary for the functioning of the website and might be unwanted in some cases. 

One of the ways to disable HTML comments from a WordPress site is by editing the theme’s functions.php file via FTP. This method is generally safe, as it allows you to modify your website’s files directly without interacting with the WordPress admin area.

Below is a brief overview of the process:

Step 1: Connect to Your Website Using FTP

Use an FTP client like File Zilla, and enter your FTP credentials to connect to your server. These credentials can be obtained from your web hosting provider.

Step 2: Navigate to the Theme Directory

Once connected, navigate to your active theme’s directory. This is usually located in wp-content/themes/your-theme-name/.

Step 3: Download the functions.php File

Within the theme directory, locate the functions.php file, download it, and save it as a backup. This step is crucial as it allows you to revert changes if anything goes wrong.

Step 4: Edit the functions.php File

Open the functions.php file in a text or code editor. Add the following code that removes HTML comments added by Analytify, and then save the file.

add_filter( ‘analytify_tracking_code_comments’, ‘__return_false’ );

Step 5: Upload the Modified File

Using your FTP client, upload the modified functions.php file back to the same location on your server.

This process requires a bit of technical knowledge, especially regarding FTP and PHP code. If you’re not an expert, it would be best to hire a developer or reach out to your hosting provider’s support team for assistance. Handling these files carefully is important, as improper changes could cause issues on your site.

That’s all! This is how you can remove HTML comments from Analytify properly. If you face any errors to diable HTML comments, feel free to contact the Analytify support team.

How To Track Kadence Forms With Analytify?

Analytify is a powerful tool that lets you quickly manage and view your Google Analytics data right from your WordPress dashboard. Many WordPress sites use Kadence Forms, which is a famous form builder. By combining these two powerful tools, you can quickly keep track of form submissions, learn how your users act, and use this information to improve your website.  In this guide, we’ll show you how to use Analytify to keep track of Kadence Form entries.

Requirements

Make sure you have the following things before you start:

• A WordPress site with Kadence Forms installed and set up. 

• A Google Analytics account integrated with the WordPress site. Read More: How to Integrate Google Analytics 4 with Analytify.

Here’s how you can use Analytify with Kadence Forms to keep track of form submissions:

How to Track the Kadence Forms in Analytify (2 Easy Steps)

We hope you’ve completed all the requirements to track Kadence Forms. Now, follow the below easy instructions to track the custom forms in Analytify.

Step 1- Add Additional CSS Class to Your Kadence Form

Go to your post/page where you have created a Kadence form using the Kadence Gutenberg blocks.

Select your Kadence forms block and add the Analytify Predefined class “analytify_form_custom” in your form’s block advance tab.

Next, Save or Publish your post.

kadence block tracking

Step 2 – Enable Tracking

Navigate to Analytify>>Settings>>Tracking>>Forms Tracking.

forms tracking

Next, scroll down the page Enable the Custom Forms tracking of your Analytify Plugin and click on the Save Changes button.

forms tracking analytify

You have successfully implemented the Kadence forms tracking on your website with Analytify.

If you have any problems with the Kadence Forms Tracking through Analytify, look at the FAQs on the Analytify website or contact the Analytify support team.

Analytify and GDPR Compatibility

The General Data Protection Regulation (GDPR) is an EU legislation that is meant to give EU citizens more control over their personal information. It says that businesses must protect the privacy and personal information of EU people when they do business within EU member states.

Analytify, a famous analytics plugin for WordPress, makes it easier for users to be GDPR-compliant by giving them features that help them follow the rules. This knowledge base piece tells you how to make sure Analytify is GDPR compatible and how to use a GDPR cookies plugin with Analytify.

Analytify and GDPR Compatibility

Analytify understands the importance of GDPR and offers features that comply with its guidelines. Here are some of the key GDPR-related features in Analytify:

Anonymize IP: This feature allows you to anonymize the IP addresses of your visitors. It means that Google Analytics will not store the complete IP address of the visitors to your site. Read more, How To Anonymize The IP Addresses for GDPR Compliance?

Privacy and Policy: For in-detail understanding, read What personal data we collect and why we collect it.

Implementing the GDPR Cookies Plugin with Analytify

Implementing the GDPR cookies plugin with Analytify on your website is no longer a hard task. Analytify is fully compatible with the popular GDPR plugins.

You will be able to use  Cookie Notice & Compliance for GDPR / CCPA and GDPR Cookie Consent plugins on the go without any further configurations with Analytify.

If you are using the Complianz plugin, then a bit of configuration is needed to be done. 

All you need to do is follow the recommended steps below:

Step 1: Enabling Google Analytics Statistics in Complainz 

Login to your WordPress site and navigate to Complainz >> Wizard >> Consent >> Statistics.

Next, select Google Analytics under the Statics option and click on Save and Continue.

Google Analytics Stattistics in Complainz

You will be navigated to the next page.

There you don’t need to enter the tracking ID in Enter your tracking-ID field, as Analytify itself will handle this.

analytify compatible witn Complianz

Step 2: Enable the ‘Install Google Analytics tracking code’ Feature

Navigate to Analytify >> Settings >> Profile.

Next, turn on the Install Google Analytics tracking code feature, and Save Changes.

install google analytics tracking code

Analytify has the best features that make sure it is in line with GDPR. By using Analytify, you can confidently look at and control the data on your website while keeping your users’ personal information private and safe. It’s important to stay up to date on GDPR standards and make sure the tools and services you use meet these rules. With Analytify, you can be sure that your website analytics meet the highest standards for the safety and protection of data.

If you have any problems with the GDPR compatibility, look at the FAQs on the Analytify website or contact the Analytify support team.

Analytify Filters

Analytify Filters narrow down the data you want to analyze in your WordPress website’s Google Analytics integration. These filters help you focus on specific segments of data and extract valuable insights.

Change Comparison Graph Color In Analytify Dashboard

We wrote a complete guide on how to change the graph color to match with your web design.

Hide The Navigation Tabs In Analytify’s Dashboard

In the following method, uncomment ( remove “//” ) from the items that you want to hide on Analytify’s dashboard page. Each item represents the name of the navigation tab.

/**
* Hide the navigation tabs from the Analytify dashboard.
*
* @param array $tab_items
* @return array
*/
function analytify_hide_dashboard_tabs_cb( $tab_items )
{
// Add the names of items you want to hide.
$hide_tabs = array(
// 'Forms Tracking',
// 'Events Tracking',
// 'Campaigns',
// 'Goals',
// 'WooCommerce',
// 'EDD',
// 'Authors',
// 'Demographics',
// 'Search Terms',
// 'Dimensions',
// 'Real-Time',
// 'Conversions',
// 'Acquisition',
// 'Monetization',
// 'Engagement',
);
return $hide_tabs;
}
add_filter( 'analytify_hide_dashboard_tabs', 'analytify_hide_dashboard_tabs_cb' );

Stop The Animation In Analytify’s Dashboard

In the following method, return false to stop the animation on the Analytify’s dashboard. The default value is true.

/**
* Control analytify dashboard header animation.
* Retrun true to play animation and false to prevent it.
*
* @param bool $condition
* @return bool
*/
function analytify_dashboard_head_animate_cb( $condition ) {
return false;
}
add_filter( 'analytify_dashboard_head_animate', 'analytify_dashboard_head_animate_cb' );

Change the “Go To Dashboard” Button’s URL in Email Report

Replace “your-url.com” in the following filter with your own URL.

/**
* Filter email report dashboarl url.
*
* @param string $url
* @return string
*/
function analytify_email_dashboard_url_cb( $url ) {
$url = 'your-url.com';
return $url;
}
add_filter( 'analytify_email_dashboard_url', 'analytify_email_dashboard_url_cb' );

Remove Analytify HTML Comments From Page Source Code View

Analytify includes opening and closing comments in the tracking code it adds to the page. If you want to remove those comments from the page, you can use this handy filter.

add_filter( 'analytify_tracking_code_comments', '__return_false' );

Customize Analytify Stats Cache Duration

Take control of the cache duration for Analytify stats with ease. By default, Analytify fetches new stats every 10 or 24 hours, depending on your settings. If you have enabled the “Delete Cache” option under Analytify -> Settings -> Dashboard, the cache time is set to 10 hours. Otherwise, it remains at 24 hours.

It is advisable not to set the cache time too low, as Google Analytics data typically updates within 10 to 24 hours.

You prefer a shorter cache time, you can utilize the following filter. Simply specify the desired duration in seconds, and the cache time will be adjusted accordingly.

function modify_analytify_stats_cache_time()
{
    $cache_time = 60*60*5; // Set the cache time to 5 hours in seconds
    return $cache_time;
}

add_filter('analytify_stats_cache_time', 'modify_analytify_stats_cache_time');

If you have any doubts or questions related to this matter, please don’t hesitate to contact our support team.

Google Analytics 4

Analytify is fully compatible with GA4
Migrate to GA4 Now
* Hurry up, Goode bye UA Universal Analytics
close-link
Analytify is fully Compatible with Google Analytics 4 (GA4)
Buy Analytify Now
close-image